My Oracle Support Banner

Java on MacOSX Fails to Print PDF from Browser with Message "Cocoa AWT: Not running on AppKit thread 0 when expected." (Doc ID 2247946.1)

Last updated on MARCH 26, 2017

Applies to:

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

Symptoms

Java on MacOSX fails to print PDF file from the browser and emits the following assertion:

2016-03-08 00:37:47.287 java[59134:4788836] Cocoa AWT: Not running on AppKit thread 0 when expected. (
0 libosxapp.dylib 0x000000012da80702 +[ThreadUtilities getJNIEnv] + 38
1 libawt_lwawt.dylib 0x000000012e0ce005 syncFromJavaPixels + 1842
2 libawt_lwawt.dylib 0x000000012e0ce49b LockImage + 75
3 libawt_lwawt.dylib 0x000000012e0e0c08 Java_sun_java2d_CRenderer_doImage + 170
...



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
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.