My Oracle Support Banner

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 MARCH 31, 2023

Applies to:

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

Symptoms

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

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.