Gives following exception and stucked in 14%
Running on jMonkey Engine 3 Alpha 0.6
Extraction Directory #1: file:/C:/Program%20Files/jmonkeyplatform/jmonkeyplatform/modules/ext/
Extraction Directory #2: C:UsersUser.jmonkeyplatform
Extraction Directory #3: C:Program Filesjmonkeyplatform
EDT: Creating OGL thread.
Using LWJGL 2.5
Failed to parent canvas to display
Display created.
Adapter: igdumd32
Driver Version: 8.15.10.1749
And it gives following error massage
A java.lang.NullPointerException exception has occurred.
However, the system should continue working without further problems.
Click Show Details for the stack trace.
can any one reply about this problem???
OpenGL2.0 compatible graphics card with newest drivers? If yes, what graphics card name & manufacturer, os and computer?
“Failed to parent canvas to display”
[java]
try{
Display.setParent(canvas);
PixelFormat pf = new PixelFormat(settings.getBitsPerPixel(),
0,
settings.getDepthBits(),
settings.getStencilBits(),
settings.getSamples());
Display.create(pf);
Display.makeCurrent();
}catch (LWJGLException ex){
listener.handleError(“Failed to parent canvas to display”, ex);
}
[/java]
It might be useful to get more info about that exception, but I suspect it is “Could not choose pixel format” … If that’s the case, you are right normen.
Hmmm,
suddenly the error also occured in my app. I never have seen this error before. Did you change something in the native dll files for windows in the last 2 days?
org.lwjgl.LWJGLException: Pixel format not accelerated
at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:185)
at org.lwjgl.opengl.Display.createWindow(Display.java:315)
at org.lwjgl.opengl.Display.create(Display.java:855)
at org.lwjgl.opengl.Display.create(Display.java:783)
at com.jme3.system.lwjgl.LwjglCanvas.createContext(LwjglCanvas.java:310)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:98)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:183)
[catch] at java.lang.Thread.run(Thread.java:619)
INFO [com.jme3.system.lwjgl.LwjglDisplay]: Display created.
INFO [com.jme3.system.lwjgl.LwjglDisplay]: Adapter: nv4_disp
INFO [com.jme3.system.lwjgl.LwjglDisplay]: Driver Version: 6.14.12.5721
SEVERE [com.jme3.app.Application]: Failed to create display
java.lang.NullPointerException
at org.lwjgl.opengl.GL11.glGetString(GL11.java:1770)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:107)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:183)
[catch] at java.lang.Thread.run(Thread.java:619)
INFO [com.jme3.system.lwjgl.LwjglTimer]: Timer resolution: 1000 ticks per second
SEVERE [org.openide.util.Exceptions]
java.lang.NullPointerException
at com.jme3.renderer.lwjgl.LwjglRenderer.initialize(LwjglRenderer.java:172)
at com.jme3.system.lwjgl.LwjglContext.internalCreate(LwjglContext.java:72)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:133)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:183)
[catch] at java.lang.Thread.run(Thread.java:619)
Thanks,
Equi
Me to I get this error but not each times… :?
When it works I had this :
[...]
Using LWJGL 2.5
Display created.
Adapter: null
Driver Version: null
Vendor: NVIDIA Corporation
OpenGL Version: 2.1.2 NVIDIA 260.19.06
Renderer: GeForce Go 7400/PCI/SSE2
GLSL Ver: 1.20 NVIDIA via Cg compiler
[...]
Loaded material definition: Default GUI
Uniform fInnerRadius2 is not declared in shader.
Uniform g_NormalMatrix is not declared in shader.
Uniform m_SphereMap is not declared in shader.
Uniform g_NormalMatrix is not declared in shader.
Uniform fInnerRadius2 is not declared in shader.
Uniform fCameraHeight is not declared in shader.
Uniform g_NormalMatrix is not declared in shader.
Checking extension..
Found assets-impl.xml
and when it does not work :
Using LWJGL 2.5
Failed to parent canvas to display
Adapter: null
Driver Version: null
and a NullPointerException
I run on Ubuntu 10.10 freshly installed if that can help...
if it rebug I ll try to get more info and I come here to post it.
You need to install drivers for your graphics card
Go to System->Administration->Hardware Drivers
If you still can’t figure it out, read this:
https://help.ubuntu.com/community/BinaryDriverHowto