Hallo,
an der Stelle :
tritt folgender Fehler auf:
Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
at com.jme.scene.state.lwjgl.LWJGLZBufferState.enableDepthTest(Unknown Source)
at com.jme.scene.state.lwjgl.LWJGLZBufferState.apply(Unknown Source)
at com.jme.renderer.lwjgl.LWJGLRenderer.clearBuffers(Unknown Source)
at com.jmex.awt.SimpleCanvasImpl.doRender(Unknown Source)
at com.jmex.awt.lwjgl.LWJGLCanvas.paintGL(Unknown Source)
at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:308)
at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:339)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Ich weiß nicht so genau, was ich dagegen tun kann bzw. woran es liegen könnte..Vielen Dank für Hilfe.
an der Stelle :
Java:
MyClass.initUI(myclass.getContentPane(), myclass);
tritt folgender Fehler auf:
Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
at com.jme.scene.state.lwjgl.LWJGLZBufferState.enableDepthTest(Unknown Source)
at com.jme.scene.state.lwjgl.LWJGLZBufferState.apply(Unknown Source)
at com.jme.renderer.lwjgl.LWJGLRenderer.clearBuffers(Unknown Source)
at com.jmex.awt.SimpleCanvasImpl.doRender(Unknown Source)
at com.jmex.awt.lwjgl.LWJGLCanvas.paintGL(Unknown Source)
at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:308)
at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:339)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Ich weiß nicht so genau, was ich dagegen tun kann bzw. woran es liegen könnte..Vielen Dank für Hilfe.