Login  Register

Re: Applet Problem On MacOS With JOGL 2.0 RC4

Posted by gabnicu on Dec 09, 2011; 3:02pm
URL: https://forum.jogamp.org/Applet-Problem-On-MacOS-With-JOGL-2-0-RC4-tp3570786p3573098.html

Hello Sven,

We did test the link you mention:
http://jogamp.org/deployment/jogamp-current/jogl-demos/applet-gears.html
and get crashes in Safari & Chrome - same error:

Exception in thread "thread applet-demos.applets.GearsApplet-1" java.lang.ExceptionInInitializerError
        at javax.media.nativewindow.NativeWindowFactory._getNativeWindowingType(NativeWindowFactory.java:105)
        at javax.media.nativewindow.NativeWindowFactory.initSingleton(NativeWindowFactory.java:181)
        at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1168)
        at javax.media.opengl.GLProfile.access$000(GLProfile.java:71)
        at javax.media.opengl.GLProfile$1.run(GLProfile.java:112)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:110)
        at demos.applets.GearsApplet.init(GearsApplet.java:19)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1639)
        at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.RuntimeException: Incompatible MachineDescriptions:
 Static MachineDescriptionStatic: X86_32_UNIX(1): MachineDescription: runtimeValidated false, littleEndian true, 32Bit true, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    4 / 4
  int32   4 / 4, int64   8 / 4
  float   4 / 4, double  8 / 4, ldouble 12 / 4
  pointer 4 / 4, page    4096
 Runtime MachineDescription: runtimeValidated true, littleEndian true, 32Bit true, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    4 / 4
  int32   4 / 4, int64   8 / 4
  float   4 / 4, double  8 / 4, ldouble 16 / 16
  pointer 4 / 4, page    4096
        at com.jogamp.common.os.Platform.<clinit>(Platform.java:193)
        ... 10 more