Importing .blend file with animation

Momoko_Fan said:
Is there a way that exception can be reproduced step by step after booting from jMP? I have never seen that one before


This show simple nearly always.

It seems that this "work" only on some linux distros.

If you has any next questions about this bug, please ask

BTW: this seems that exist a family of canvas related bugs on Linux.

canvas and linux is one big bug it seems.

@balon: There are several exceptions being raised here. You’re only posting the last one which is caused by the first. Can you post the first one please?

What you means as “first one”?


java.lang.IllegalStateException: Display not created
at org.lwjgl.opengl.Display.processMessages(Display.java:632)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:174)
at com.jme3.system.lwjgl.LwjglCanvas.runLoop(LwjglCanvas.java:199)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:218)
[catch] at java.lang.Thread.run(Thread.java:636)


This is full content of "exception details". No more exceptions I can see.

Okay… Its possible that an exception is thrown but not displayed?



The reason I am asking is because this exception cannot occur.



It implies that Display.create() doesn’t result in Display.isCreated() being true which is impossible without an exception getting thrown in that method.

See the code:

http://java-game-lib.svn.sourceforge.net/viewvc/java-game-lib/trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java?view=markup

In LwjglCanvas.java around Display.create() I’m wrapped this exception cather:



[java]try{

Display.create(acquirePixelFormat(), pbuffer);

}



catch(LWJGLException wyjatek){





logger.log(Level.INFO, "BLAD! BLAD! BLAD! " + wyjatek.toString());





}

[/java]



Next, I’m compiled modified in this way JMP and run it.



Here is a effect (form Output Aplication window in JMP):



“BLAD! BLAD! BLAD! org.lwjgl.LWJGLException: X Error - disp: 0xffffffff823bb078 serial: 49 error: BadValue (integer parameter out of range for operation) request_code: 1 minor_code: 0”



I’m quess “X Error” is in some way related to X Window (for non-Linux user: this is a kind of system that is base of many of Un*x like GUIs etc)

Guys from #LWJGL says about this error:


[16:15]
[16:15] but app on windows work fine.
[16:17] maybe your app is doning something which causes issues under linux?
[16:18] the error is typical of setting something in the display mode that x doesn't support
[16:18] thanks illza
[16:18] might just be an x config problem
[16:19] or requesting a display mode setting which is not supported - like depth/stencil combinations, or color depth
1 Like

Thanks for the report, did you tell them its an awt canvas?

I’m used phrase “LJWGL used in canvas”

Thats somewhat interesting, however when you’re running the jME3 tests without a canvas it still works, right?

jME3 alone work without problems, no matter window/fullscreen. :slight_smile:

Yeah… So it can’t be what the lwjgl guys said because we set the same display settings regardless if you’re standalone or in canvas.



Can you please run TestSafeCanvas and provide the log from that?

I’m compiled TestSafeCanvas in jMP and I’m paste all “output”:


run:
2011-07-24 12:56:03 com.jme3.system.JmeSystem initialize
INFO: Running on jMonkey Engine 3 Alpha 0.6
2011-07-24 12:56:03 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #1: file:/home/marcin/jmonkeyplatform/jmonkeyplatform/libs/
2011-07-24 12:56:03 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #2: /home/marcin/jMonkeyProjects/TestSafeCanvas
2011-07-24 12:56:03 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #3: /home/marcin/jMonkeyProjects/TestSafeCanvas
2011-07-24 12:56:03 com.jme3.system.Natives extractNativeLib
WARNING: Cannot locate native library: linux/libbulletjme.so
2011-07-24 12:56:04 com.sun.corba.se.impl.ior.IORImpl getProfile
WARNING: "IOP00511201: (INV_OBJREF) IOR must have at least one IIOP profile"
org.omg.CORBA.INV_OBJREF: vmcid: SUN minor code: 1201 completed: No
at com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfile(IORSystemException.java:473)
at com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfile(IORSystemException.java:495)
at com.sun.corba.se.impl.ior.IORImpl.getProfile(IORImpl.java:334)
at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:787)
at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:761)
at com.sun.corba.se.impl.encoding.CDRInputStream.read_Object(CDRInputStream.java:231)
at com.sun.corba.se.impl.resolver.INSURLOperationImpl.getIORFromString(INSURLOperationImpl.java:120)
at com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:130)
at com.sun.corba.se.impl.orb.ORBImpl.string_to_object(ORBImpl.java:836)
at org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessUtil.java:143)
at org.GNOME.Accessibility.JavaBridge.registerApplication(JavaBridge.java:1099)
at org.GNOME.Accessibility.JavaBridge.(JavaBridge.java:364)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:786)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:875)
at java.awt.Window.getToolkit(Window.java:1170)
at java.awt.Window.init(Window.java:400)
at java.awt.Window.(Window.java:438)
at java.awt.Frame.(Frame.java:419)
at javax.swing.JFrame.(JFrame.java:218)
at jme3test.awt.TestSafeCanvas.main(TestSafeCanvas.java:31)

2011-07-24 12:56:05 com.jme3.system.lwjgl.LwjglCanvas$GLCanvas addNotify
INFO: EDT: Creating OGL thread.
2011-07-24 12:56:05 com.jme3.system.lwjgl.LwjglCanvas$GLCanvas addNotify
INFO: EDT: Notifying OGL that canvas is visible..
2011-07-24 12:56:05 com.jme3.system.lwjgl.LwjglAbstractDisplay run
INFO: Using LWJGL 2.7.1
2011-07-24 12:56:05 com.jme3.system.lwjgl.LwjglCanvas makePbufferAvailable
INFO: OGL: Pbuffer has been created
2011-07-24 12:56:06 com.jme3.renderer.lwjgl.LwjglRenderer initialize
INFO: Caps: [FrameBuffer, FrameBufferMRT, FrameBufferMultisample, OpenGL20, OpenGL21, ARBprogram, GLSL100, GLSL110, GLSL120, VertexTextureFetch, FloatTexture, FloatColorBuffer, NonPowerOfTwoTextures, VertexBufferArray]
2011-07-24 12:56:06 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: null
2011-07-24 12:56:06 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: null
2011-07-24 12:56:06 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: NVIDIA Corporation
2011-07-24 12:56:06 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 2.1.2 NVIDIA 270.41.06
2011-07-24 12:56:06 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: GeForce 7300 SE/7200 GS/PCI/SSE2
2011-07-24 12:56:06 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 1.20 NVIDIA via Cg compiler
2011-07-24 12:56:06 com.jme3.system.lwjgl.LwjglTimer
INFO: Timer resolution: 1 000 ticks per second
2011-07-24 12:56:06 com.jme3.asset.DesktopAssetManager
INFO: DesktopAssetManager created.
2011-07-24 12:56:06 com.jme3.renderer.Camera
INFO: Camera created (W: 640, H: 480)
2011-07-24 12:56:06 com.jme3.renderer.Camera
INFO: Camera created (W: 640, H: 480)
2011-07-24 12:56:06 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
2011-07-24 12:56:06 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
2011-07-24 12:56:06 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 1
2011-07-24 12:56:06 com.jme3.material.MaterialDef
INFO: Loaded material definition: Unshaded
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Gui Node)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 12:56:07 com.jme3.scene.Node attachChild
INFO: Child (Statistics View) attached to this node (Gui Node)
2011-07-24 12:56:07 com.jme3.app.Application handleError
SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
com.jme3.asset.AssetLoadException: SimpleTextured.j3md has been marked as obsolete. Please use Unshaded.j3md instead.
at com.jme3.material.plugins.J3MLoader.loadFromScanner(J3MLoader.java:513)
at com.jme3.material.plugins.J3MLoader.load(J3MLoader.java:594)
at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:240)
at com.jme3.material.Material.(Material.java:121)
at jme3test.awt.TestSafeCanvas.simpleInitApp(TestSafeCanvas.java:51)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:230)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:124)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:200)
at java.lang.Thread.run(Thread.java:636)


And I can see only gray window.

And section what I'm marked by bold is probably NOT related to bug: similar warnings are put by all well working jME games, etc:

for example:
WARNING: "IOP00511201: (INV_OBJREF) IOR must have at least one IIOP profile"
org.omg.CORBA.INV_OBJREF: vmcid: SUN minor code: 1201 completed: No
at com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfile(IORSystemException.java:473)
at com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfile(IORSystemException.java:495)
at com.sun.corba.se.impl.ior.IORImpl.getProfile(IORImpl.java:334)
at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:787)
at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:761)
at com.sun.corba.se.impl.encoding.CDRInputStream.read_Object(CDRInputStream.java:231)
at com.sun.corba.se.impl.resolver.INSURLOperationImpl.getIORFromString(INSURLOperationImpl.java:120)
at com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:130)
at com.sun.corba.se.impl.orb.ORBImpl.string_to_object(ORBImpl.java:836)
at org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessUtil.java:143)
at org.GNOME.Accessibility.JavaBridge.registerApplication(JavaBridge.java:1099)
at org.GNOME.Accessibility.JavaBridge.(JavaBridge.java:364)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:786)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:875)
at java.awt.Toolkit.getEventQueue(Toolkit.java:1698)
at java.awt.EventQueue.isDispatchThread(EventQueue.java:855)
at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:1364)
at com.jme3.system.JmeSystem.showSettingsDialog(JmeSystem.java:111)
at com.jme3.app.SimpleApplication.start(SimpleApplication.java:128)
at mygame.Main.main(Main.java:28)
1 Like

Can you update to the SVN jME3 version and try again? There was a small bug in that test that got fixed recently.

I did it.



Now TestSafeCanvas work quite well: I can see a cube with logo :slight_smile:



But is only quite interesting effect: after running TestSafeCanvas first I’m see normal working aplication, next for several seconds aplication window became gray and next again work propertly.



Here is output:




2011-07-24 20:55:36 com.jme3.system.JmeSystem initialize
INFO: Running on jMonkey Engine 3 Alpha 0.6
2011-07-24 20:55:36 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #1: file:/home/marcin/jmonkeyplatform/jmonkeyplatform/libs/
2011-07-24 20:55:36 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #2: /home/marcin/jMonkeyProjects/TestSafeCanvas
2011-07-24 20:55:36 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #3: /home/marcin/jMonkeyProjects/TestSafeCanvas
2011-07-24 20:55:36 com.jme3.system.Natives extractNativeLib
WARNING: Cannot locate native library: linux/libbulletjme.so
2011-07-24 20:55:36 com.jme3.system.lwjgl.LwjglCanvas create
INFO: MAIN: Creating OGL thread.
2011-07-24 20:55:37 com.sun.corba.se.impl.ior.IORImpl getProfile
WARNING: "IOP00511201: (INV_OBJREF) IOR must have at least one IIOP profile"
org.omg.CORBA.INV_OBJREF: vmcid: SUN minor code: 1201 completed: No
at com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfile(IORSystemException.java:473)
at com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfile(IORSystemException.java:495)
at com.sun.corba.se.impl.ior.IORImpl.getProfile(IORImpl.java:334)
at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:787)
at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:761)
at com.sun.corba.se.impl.encoding.CDRInputStream.read_Object(CDRInputStream.java:231)
at com.sun.corba.se.impl.resolver.INSURLOperationImpl.getIORFromString(INSURLOperationImpl.java:120)
at com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:130)
at com.sun.corba.se.impl.orb.ORBImpl.string_to_object(ORBImpl.java:836)
at org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessUtil.java:143)
at org.GNOME.Accessibility.JavaBridge.registerApplication(JavaBridge.java:1099)
at org.GNOME.Accessibility.JavaBridge.(JavaBridge.java:364)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:786)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:875)
at org.lwjgl.LinuxSysImplementation.(LinuxSysImplementation.java:45)
at org.lwjgl.Sys.createImplementation(Sys.java:126)
at org.lwjgl.Sys.(Sys.java:111)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:199)
at java.lang.Thread.run(Thread.java:636)
2011-07-24 20:55:37 com.jme3.system.lwjgl.LwjglAbstractDisplay run
INFO: Using LWJGL 2.7.1
2011-07-24 20:55:37 com.jme3.system.lwjgl.LwjglCanvas makePbufferAvailable
INFO: OGL: Pbuffer has been created
2011-07-24 20:55:37 com.jme3.renderer.lwjgl.LwjglRenderer initialize
INFO: Caps: [FrameBuffer, FrameBufferMRT, FrameBufferMultisample, OpenGL20, OpenGL21, ARBprogram, GLSL100, GLSL110, GLSL120, VertexTextureFetch, FloatTexture, FloatColorBuffer, NonPowerOfTwoTextures, VertexBufferArray]
2011-07-24 20:55:37 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: null
2011-07-24 20:55:37 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: null
2011-07-24 20:55:37 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: NVIDIA Corporation
2011-07-24 20:55:37 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 2.1.2 NVIDIA 270.41.06
2011-07-24 20:55:37 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: GeForce 7300 SE/7200 GS/PCI/SSE2
2011-07-24 20:55:37 com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 1.20 NVIDIA via Cg compiler
2011-07-24 20:55:37 com.jme3.system.lwjgl.LwjglTimer
INFO: Timer resolution: 1 000 ticks per second
2011-07-24 20:55:37 com.jme3.asset.DesktopAssetManager
INFO: DesktopAssetManager created.
2011-07-24 20:55:37 com.jme3.renderer.Camera
INFO: Camera created (W: 640, H: 480)
2011-07-24 20:55:37 com.jme3.renderer.Camera
INFO: Camera created (W: 640, H: 480)
2011-07-24 20:55:38 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
2011-07-24 20:55:38 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
2011-07-24 20:55:38 com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 1
2011-07-24 20:55:38 com.jme3.material.MaterialDef
INFO: Loaded material definition: Unshaded
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Gui Node)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (Statistics View) attached to this node (Gui Node)
2011-07-24 20:55:38 com.jme3.scene.Node attachChild
INFO: Child (Box) attached to this node (Root Node)
2011-07-24 20:55:40 com.jme3.system.lwjgl.LwjglCanvas$GLCanvas addNotify
INFO: EDT: Notifying OGL that canvas is visible..
2011-07-24 20:55:40 com.jme3.system.lwjgl.LwjglCanvas runLoop
INFO: OGL: Canvas is now visible! Re-initializing..
2011-07-24 20:55:40 com.jme3.system.lwjgl.LwjglCanvas restoreCanvas
INFO: OGL: Waiting for canvas to become displayable..
2011-07-24 20:55:40 com.jme3.system.lwjgl.LwjglCanvas restoreCanvas
INFO: OGL: Creating display..
2011-07-24 20:55:41 com.jme3.system.lwjgl.LwjglCanvas restoreCanvas
INFO: OGL: Display is active!
2011-07-24 20:55:41 com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_VertexColor is not declared in shader.
2011-07-24 20:55:43 com.jme3.system.lwjgl.LwjglCanvas$GLCanvas removeNotify
INFO: EDT: Notifying OGL that canvas is about to become invisible..
2011-07-24 20:55:43 com.jme3.system.lwjgl.LwjglCanvas runLoop
INFO: OGL: Received destroy request! Complying..
2011-07-24 20:55:43 com.jme3.system.lwjgl.LwjglCanvas pauseCanvas
INFO: OGL: Canvas will become invisible! Destroying ..
2011-07-24 20:55:44 com.jme3.system.lwjgl.LwjglCanvas$GLCanvas removeNotify
INFO: EDT: Acknowledged receipt of canvas death
2011-07-24 20:55:47 com.jme3.system.lwjgl.LwjglCanvas$GLCanvas addNotify
INFO: EDT: Notifying OGL that canvas is visible..
2011-07-24 20:55:47 com.jme3.system.lwjgl.LwjglCanvas runLoop
INFO: OGL: Canvas is now visible! Re-initializing..
2011-07-24 20:55:47 com.jme3.system.lwjgl.LwjglCanvas restoreCanvas
INFO: OGL: Waiting for canvas to become displayable..
2011-07-24 20:55:47 com.jme3.system.lwjgl.LwjglCanvas restoreCanvas
INFO: OGL: Creating display..
2011-07-24 20:55:47 com.jme3.system.lwjgl.LwjglCanvas restoreCanvas
INFO: OGL: Display is active!
2011-07-24 20:55:52 com.jme3.system.lwjgl.LwjglCanvas$GLCanvas removeNotify
INFO: EDT: Application is stopped. Not restoring canvas.
2011-07-24 20:55:52 com.jme3.app.Application handleError
SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
org.lwjgl.LWJGLException: X Error - disp: 0x819e3b8 serial: 417 error: BadWindow (invalid Window parameter) request_code: 2 minor_code: 0
at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:294)
at org.lwjgl.opengl.LinuxKeyboard.nSetDetectableKeyRepeat(Native Method)
at org.lwjgl.opengl.LinuxKeyboard.setDetectableKeyRepeat(LinuxKeyboard.java:152)
at org.lwjgl.opengl.LinuxKeyboard.destroy(LinuxKeyboard.java:163)
at org.lwjgl.opengl.LinuxDisplay.destroyKeyboard(LinuxDisplay.java:1071)
at org.lwjgl.input.Keyboard.destroy(Keyboard.java:349)
at org.lwjgl.opengl.Display.destroyWindow(Display.java:357)
at org.lwjgl.opengl.Display.access$300(Display.java:67)
at org.lwjgl.opengl.Display$3.destroy(Display.java:146)
at org.lwjgl.opengl.Display.destroy(Display.java:960)
at com.jme3.system.lwjgl.LwjglCanvas.destroyContext(LwjglCanvas.java:296)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.deinitInThread(LwjglAbstractDisplay.java:187)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
at java.lang.Thread.run(Thread.java:636)

It seems that at the end when I tried to kill the canvas it has caused an X error. You say it still worked properly in the beginning though?

Yes, work propertly.



(Except a short moment of gray screen)