Java Swing Applications Throw a "java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location" Error

(Doc ID 2355820.1)

Last updated on FEBRUARY 10, 2018

Applies to:

Java SE JDK and JRE - Version 8 to 9
Information in this document applies to any platform.


Swing applications get the below fatal exception after upgrading to 8 update 131 or higher Java SE 8 patch updates:


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms