#1 Exception beim Start unter 64-Bit-Linux
Verfasst: 17.05.2008 15:58:23
Nach dem Start kommt der Splashscreen und dann eine Exception
3D-Zeug funktioniert sonst (z.B. SecondLife und GoogleEarth)
der hellblaue Balken unter dem Splash steht bei ca 10% und friert dann ein; mit ctrl-c kommt der Prompt wieder
Controler ist noch keiner angeschlossen.
Ideen wie ich das gestartet bekomme?
Es ist die neueste Version von Heli-X (eben runtergeladen)
nobs@okami:~> uname -a
Linux okami 2.6.24.2-athlon64x2 #1 SMP PREEMPT Mon Feb 11 22:10:07 CET 2008 x86_64 x86_64 x86_64 GNU/Linux
n
nobs@okami:~> java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
Im Log steht
Application started
3D Environment created
Using openGLLayer JOGL_AWT
Found 11 display modes
Trying to open xml File files/Application/ViewSettings.xml
Using display mode 800x600x?x?
In der Konsole steht
Exception in thread "AWT-EventQueue-0" java.lang.Error: java.lang.reflect.InvocationTargetException
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:127)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:149)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:307)
at org.xith3d.render.Canvas3DPanel.<init>(Canvas3DPanel.java:286)
at org.xith3d.render.Canvas3DPanel.<init>(Canvas3DPanel.java:372)
at ch.ntb.HeliX.simulation.Simulation.initCanvas(Simulation.java:188)
at ch.ntb.HeliX.simulation.Simulation.<init>(Simulation.java:123)
at ch.ntb.HeliX.application.Application.<init>(Application.java:146)
at ch.ntb.HeliX.application.Application$1.run(Application.java:757)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:123)
... 16 more
Caused by: java.lang.UnsatisfiedLinkError: /usr/local/HELI-X/libs/gluegen/linux-i586/libgluegen-rt.so: /usr/local/HELI-X/libs/gluegen/linux-i586/libgluegen-rt.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at com.sun.gluegen.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:102)
at com.sun.gluegen.runtime.NativeLibLoader.access$000(NativeLibLoader.java:51)
at com.sun.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:70)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:68)
at com.sun.gluegen.runtime.NativeLibrary.ensureNativeLibLoaded(NativeLibrary.java:399)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:163)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:129)
at com.sun.opengl.impl.x11.DRIHack.begin(DRIHack.java:109)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.<clinit>(X11GLDrawableFactory.java:99)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:111)
at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131)
at org.xith3d.render.jsr231.CanvasPeerImplAWT.<init>(CanvasPeerImplAWT.java:118)
... 21 more
3D-Zeug funktioniert sonst (z.B. SecondLife und GoogleEarth)
der hellblaue Balken unter dem Splash steht bei ca 10% und friert dann ein; mit ctrl-c kommt der Prompt wieder
Controler ist noch keiner angeschlossen.
Ideen wie ich das gestartet bekomme?
Es ist die neueste Version von Heli-X (eben runtergeladen)
nobs@okami:~> uname -a
Linux okami 2.6.24.2-athlon64x2 #1 SMP PREEMPT Mon Feb 11 22:10:07 CET 2008 x86_64 x86_64 x86_64 GNU/Linux
n
nobs@okami:~> java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
Im Log steht
Application started
3D Environment created
Using openGLLayer JOGL_AWT
Found 11 display modes
Trying to open xml File files/Application/ViewSettings.xml
Using display mode 800x600x?x?
In der Konsole steht
Exception in thread "AWT-EventQueue-0" java.lang.Error: java.lang.reflect.InvocationTargetException
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:127)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:149)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:307)
at org.xith3d.render.Canvas3DPanel.<init>(Canvas3DPanel.java:286)
at org.xith3d.render.Canvas3DPanel.<init>(Canvas3DPanel.java:372)
at ch.ntb.HeliX.simulation.Simulation.initCanvas(Simulation.java:188)
at ch.ntb.HeliX.simulation.Simulation.<init>(Simulation.java:123)
at ch.ntb.HeliX.application.Application.<init>(Application.java:146)
at ch.ntb.HeliX.application.Application$1.run(Application.java:757)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:123)
... 16 more
Caused by: java.lang.UnsatisfiedLinkError: /usr/local/HELI-X/libs/gluegen/linux-i586/libgluegen-rt.so: /usr/local/HELI-X/libs/gluegen/linux-i586/libgluegen-rt.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at com.sun.gluegen.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:102)
at com.sun.gluegen.runtime.NativeLibLoader.access$000(NativeLibLoader.java:51)
at com.sun.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:70)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:68)
at com.sun.gluegen.runtime.NativeLibrary.ensureNativeLibLoaded(NativeLibrary.java:399)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:163)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:129)
at com.sun.opengl.impl.x11.DRIHack.begin(DRIHack.java:109)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.<clinit>(X11GLDrawableFactory.java:99)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:111)
at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131)
at org.xith3d.render.jsr231.CanvasPeerImplAWT.<init>(CanvasPeerImplAWT.java:118)
... 21 more