JDK-8057120 : [headless] [macosx] massive NPEs at javax.swing.RepaintManager.currentManager, sun.awt.SunToolkit.getSystemEventQueueImplPP
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2014-09-03
  • Updated: 2014-09-03
  • Resolved: 2014-09-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Relates :  
Description
Headless JCK9 run (-Djava.awt.headless=true)

JCK build: JCK-runtime-9 b03-2014-09-01 
JDK build used for testing: Java(TM) SE(build 1.9.0-ea-b27)
Platform: macosx-x64  (mercury.ru.oracle.com)


About 900 tests from awt and swing areas fail with 

java.lang.NullPointerException
	at javax.swing.RepaintManager.currentManager(RepaintManager.java:263)

And a few with

java.lang.NullPointerException
	at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1080)
	at java.awt.event.InputMethodEvent.getMostRecentEventTimeForSource(InputMethodEvent.java:439)
	at java.awt.event.InputMethodEvent.<init>(InputMethodEvent.java:268)


Sample logs are attached
The full list of failing tests is also attached - it mostly contains failures caused by this issue


Comments
Please, check the JDK-8051359 fix in the JDK 1.9 b28
03-09-2014