This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,794 Users
  • 2,269,775 Discussions
  • 7,916,823 Comments

Discussions

jvm crashes on startup of javaFX client on MAC OSX 10.8.3

Hello

I have a java application which uses javaFX and swing and which is developed on windows and also runs fine on windows. When I try to run the same application on mac osx the jvm crashes.
2013-04-18 16:49:53.891 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfd797a Java_sun_java2d_opengl_CGLLayer_nativeCreateLayer + 119
	1   ???                                 0x000000010736af90 0x0 + 4415991696
	2   ???                                 0x000000010735f275 0x0 + 4415943285
	3   ???                                 0x000000010735f158 0x0 + 4415943000
	4   ???                                 0x000000010735f158 0x0 + 4415943000
)
2013-04-18 16:49:53.894 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.896 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfe05de Java_sun_lwawt_macosx_CPlatformView_nativeCreateView + 169
	1   ???                                 0x000000010736af90 0x0 + 4415991696
	2   ???                                 0x000000010735f275 0x0 + 4415943285
	3   ???                                 0x000000010735f158 0x0 + 4415943000
)
2013-04-18 16:49:53.897 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.899 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfe0976 Java_sun_lwawt_macosx_CPlatformWindow_nativeCreateNSWindow + 188
	1   ???                                 0x000000010736af90 0x0 + 4415991696
	2   ???                                 0x000000010735f275 0x0 + 4415943285
)
2013-04-18 16:49:53.900 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.909 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfe6102 Java_sun_lwawt_macosx_CPlatformComponent_nativeCreateComponent + 119
	1   ???                                 0x000000010736af90 0x0 + 4415991696
	2   ???                                 0x000000010735f275 0x0 + 4415943285
	3   ???                                 0x000000010735f806 0x0 + 4415944710
	4   ???                                 0x000000010735f158 0x0 + 4415943000
)
2013-04-18 16:49:53.910 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.912 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfe5047 Java_sun_lwawt_macosx_CPlatformWindow_nativeSetNSWindowBounds + 79
	1   ???                                 0x000000010736af90 0x0 + 4415991696
	2   ???                                 0x000000010735f158 0x0 + 4415943000
	3   ???                                 0x000000010735f806 0x0 + 4415944710
)
2013-04-18 16:49:53.913 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.914 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfe5cb7 Java_sun_lwawt_macosx_CPlatformWindow_nativeSetNSWindowTitle + 60
	1   ???                                 0x000000010736af90 0x0 + 4415991696
)
2013-04-18 16:49:53.915 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.916 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfe5528 Java_sun_lwawt_macosx_CPlatformWindow_nativeSetNSWindowStyleBits + 69
	1   ???                                 0x000000010736af90 0x0 + 4415991696
)
2013-04-18 16:49:53.917 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.918 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfe4eb1 Java_sun_lwawt_macosx_CPlatformWindow_nativeSetNSWindowMinMax + 79
	1   ???                                 0x000000010736af90 0x0 + 4415991696
	2   ???                                 0x000000010735f158 0x0 + 4415943000
	3   ???                                 0x000000010735f806 0x0 + 4415944710
)
2013-04-18 16:49:53.919 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.921 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfe5dc1 Java_sun_lwawt_macosx_CPlatformWindow_nativeGetNSWindowInsets + 72
	1   ???                                 0x000000010736af90 0x0 + 4415991696
)
2013-04-18 16:49:53.922 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.939 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfd797a Java_sun_java2d_opengl_CGLLayer_nativeCreateLayer + 119
	1   ???                                 0x000000010736af90 0x0 + 4415991696
	2   ???                                 0x000000010735f275 0x0 + 4415943285
	3   ???                                 0x000000010735f158 0x0 + 4415943000
	4   ???                                 0x000000010735f158 0x0 + 4415943000
)
2013-04-18 16:49:53.940 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.941 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfe05de Java_sun_lwawt_macosx_CPlatformView_nativeCreateView + 169
	1   ???                                 0x000000010736af90 0x0 + 4415991696
	2   ???                                 0x000000010735f275 0x0 + 4415943285
	3   ???                                 0x000000010735f158 0x0 + 4415943000
)
2013-04-18 16:49:53.942 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.943 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfe0976 Java_sun_lwawt_macosx_CPlatformWindow_nativeCreateNSWindow + 188
	1   ???                                 0x000000010736af90 0x0 + 4415991696
)
2013-04-18 16:49:53.981 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
2013-04-18 16:49:53.982 java[2119:2713] Cocoa AWT: Running on AppKit thread 0 when not expected. (
	0   liblwawt.dylib                      0x000000016cfe5528 Java_sun_lwawt_macosx_CPlatformWindow_nativeSetNSWindowStyleBits + 69
	1   ???                                 0x000000010736af90 0x0 + 4415991696
)
2013-04-18 16:49:53.982 java[2119:2713] 	Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
Exception in runnable
java.lang.NullPointerException
	at sun.lwawt.macosx.CPlatformWindow.getLocationOnScreen(CPlatformWindow.java:437)
	at sun.lwawt.LWWindowPeer.getLocationOnScreen(LWWindowPeer.java:370)
	at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2033)
	at java.awt.Component.getLocationOnScreen(Component.java:2018)
	at javafx.embed.swing.JFXPanel.updateScreenLocation(JFXPanel.java:481)
	at javafx.embed.swing.JFXPanel.processHierarchyEvent(JFXPanel.java:520)
	at java.awt.Component.processEvent(Component.java:6291)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4861)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4687)
	at java.awt.Component.createHierarchyEvents(Component.java:5521)
	at java.awt.Container.createHierarchyEvents(Container.java:1437)
	at java.awt.Container.createHierarchyEvents(Container.java:1434)
	at java.awt.Container.createHierarchyEvents(Container.java:1434)
	at java.awt.Container.createHierarchyEvents(Container.java:1434)
	at java.awt.Container.createHierarchyEvents(Container.java:1434)
	at java.awt.Dialog.conditionalShow(Dialog.java:953)
	at java.awt.Dialog.show(Dialog.java:1035)
	at java.awt.Component.show(Component.java:1651)
	at java.awt.Component.setVisible(Component.java:1603)
	at java.awt.Window.setVisible(Window.java:1014)
	at java.awt.Dialog.setVisible(Dialog.java:1005)
	at disco.view.View.showStartDialog(View.java:97)
	at disco.controller.ProgSequence.startDisco(ProgSequence.java:42)
	at disco.controller.ProgSequence.initReady(ProgSequence.java:64)
	at disco.view.panels.SettingsPanel$1.run(SettingsPanel.java:26)
	at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
The line View.java looks like this
startDialog.setVisible( true );
and startDialog is an instance of javax.swing.JDialog.

The OSX version is 10.8.3
Java -version is
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
Any help is appreciated.
Kind regards,
Michael
Tagged:
This discussion has been closed.