Errors with jme3

i have setup jme3 follow the instructions.



1.Right-click the porject in the explorer and choose Build Path > Add External Archives

2.In the

Does the TestChooser program in the nightly build work for you? Did you add all jars in the lib/ directory to the classpath?

Momoko_Fan said:

Does the TestChooser program in the nightly build work for you? Did you add all jars in the lib/ directory to the classpath?


TestChooser program appeard, but when I choose one to test, nothing came out .

My video card is  ATI MOBILITY RADEON HD 2300

thank you !
Momoko_Fan said:

Does the TestChooser program in the nightly build work for you? Did you add all jars in the lib/ directory to the classpath?


The TestChooser generated a .log file says

信息 JmeSystem 23:49:20 Running on jMonkey Engine 3 ALPHA 0.50
信息 Natives 23:49:20 Extraction Directory #1: file:/E:/download/jME3_05-07-2010/
信息 Natives 23:49:20 Extraction Directory #2: E:downloadjME3_05-07-2010
信息 Natives 23:49:20 Extraction Directory #3: E:downloadjME3_05-07-2010
警告 Natives 23:49:20 Cannot locate native library: windows/lwjgl.dll
警告 Natives 23:49:20 Cannot locate native library: windows/OpenAL32.dll
Momoko_Fan said:

Does the TestChooser program in the nightly build work for you? Did you add all jars in the lib/ directory to the classpath?


I download the 5.10 jar.  On my laptop(ATI MOBILITY RADEON HD 2300 ), It could only work under JOGL-OPENGL1 mode.  under LWJGL mode, it shows that  

Application 17:05:04 Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.IllegalStateException: Cannot render mesh without shader bound

On my another computer, the video card is ATi X800 , both modes can work.

Natives 23:49:20 Cannot locate native library: windows/lwjgl.dll
Natives 23:49:20 Cannot locate native library: windows/OpenAL32.dll

One of jME3 older builds had this issue. Please use the latest nightly build (5.10) to fix it.

On my laptop(ATI MOBILITY RADEON HD 2300 ), It could only work under JOGL-OPENGL1 mode.  under LWJGL mode, it shows that 

Application 17:05:04 Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.IllegalStateException: Cannot render mesh without shader bound

Can you please post the entire log for this issue, as well as which test you were trying to load?

I get

Exception in thread "main" java.lang.NullPointerException
        at java.io.Reader.<init>(Reader.java:61)
        at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
        at java.util.Scanner.<init>(Scanner.java:590)
        at com.jme3.asset.AssetConfig.loadText(AssetConfig.java:51)
        at com.jme3.asset.DesktopAssetManager.<init>(DesktopAssetManager.java:43)
        at com.jme3.system.JmeSystem.newAssetManager(JmeSystem.java:89)
        at com.jme3.app.Application.initAssetManager(Application.java:182)
        at com.jme3.app.Application.<init>(Application.java:81)
        at com.jme3.app.SimpleApplication.<init>(SimpleApplication.java:39)
        at jme3game.cubefield.CubeField.<init>(CubeField.java:26)
        at jme3game.cubefield.CubeField.main(CubeField.java:29)
Java Result: 1
BUILD SUCCESSFUL (total time: 16 seconds)



when I run CubeField.
Momoko_Fan said:

Natives 23:49:20 Cannot locate native library: windows/lwjgl.dll
Natives 23:49:20 Cannot locate native library: windows/OpenAL32.dll

One of jME3 older builds had this issue. Please use the latest nightly build (5.10) to fix it.

On my laptop(ATI MOBILITY RADEON HD 2300 ), It could only work under JOGL-OPENGL1 mode.  under LWJGL mode, it shows that 

Application 17:05:04 Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.IllegalStateException: Cannot render mesh without shader bound

Can you please post the entire log for this issue, as well as which test you were trying to load?


2010-5-15 9:52:11 com.jme3.asset.DesktopAssetManager <init>
信息: DesktopAssetManager created.
信息 JmeSystem 9:52:17 Running on jMonkey Engine 3 ALPHA 0.50
信息 Natives 9:52:17 Extraction Directory #1: file:/E:/jME3_05-10-2010/
信息 Natives 9:52:17 Extraction Directory #2: D:workshop3learnMonkey3
信息 Natives 9:52:17 Extraction Directory #3: D:workshop3learnMonkey3
信息 LwjglAbstractDisplay 9:52:17 Using LWJGL 2.4.2
信息 LwjglDisplay 9:52:17 Selected display mode: 640 x 480 x 0 @0Hz
信息 LwjglAbstractDisplay 9:52:18 Display created.
信息 LwjglAbstractDisplay 9:52:18 Adapter: ati2dvag
信息 LwjglAbstractDisplay 9:52:18 Driver Version: 6.14.10.6715
信息 LwjglAbstractDisplay 9:52:18 Vendor: ATI Technologies Inc.
信息 LwjglAbstractDisplay 9:52:18 OpenGL Version: 2.0.6747 WinXP Release
信息 LwjglAbstractDisplay 9:52:18 Renderer: ATI MOBILITY RADEON HD 2300 x86/SSE2
信息 LwjglAbstractDisplay 9:52:18 GLSL Ver: 1.10
信息 LwjglTimer 9:52:18 Timer resolution: 1000 ticks per second
信息 Camera 9:52:18 Camera created (W: 640, H: 480)
信息 LwjglMouseInput 9:52:18 Mouse created.
信息 LwjglKeyInput 9:52:19 Keyboard created.
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Gui Node)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 9:52:19 Child (Statistics View) attached to this node (Gui Node)
信息 Camera 9:52:19 Camera created (W: 512, H: 512)
信息 Node 9:52:20 Child (Floor) attached to this node (null)
信息 Node 9:52:20 Child (null) attached to this node (Root Node)
信息 Node 9:52:20 Child (back_left-node) attached to this node (Models/Ferrari/Car-scene_node)
警告 DesktopAssetManager 9:52:20 Cannot locate resource: Models/Ferrari/WheelBackLeft.mesh.xml
信息 Node 9:52:20 Child (WheelBackLeft-geom-1) attached to this node (WheelBackLeft-ogremesh)
信息 Node 9:52:20 Child (WheelBackLeft-ogremesh) attached to this node (back_left-entity)
信息 Node 9:52:20 Child (back_left-entity) attached to this node (back_left-node)
信息 Node 9:52:20 Child (back_right-node) attached to this node (Models/Ferrari/Car-scene_node)
警告 DesktopAssetManager 9:52:20 Cannot locate resource: Models/Ferrari/WheelBackRight.mesh.xml
信息 Node 9:52:20 Child (WheelBackRight-geom-2) attached to this node (WheelBackRight-ogremesh)
信息 Node 9:52:20 Child (WheelBackRight-ogremesh) attached to this node (back_right-entity)
信息 Node 9:52:20 Child (back_right-entity) attached to this node (back_right-node)
信息 Node 9:52:20 Child (car-node) attached to this node (Models/Ferrari/Car-scene_node)
警告 DesktopAssetManager 9:52:20 Cannot locate resource: Models/Ferrari/Car.mesh.xml
信息 Node 9:52:20 Child (Car-geom-3) attached to this node (Car-ogremesh)
信息 Node 9:52:20 Child (Car-ogremesh) attached to this node (car-entity)
信息 Node 9:52:20 Child (car-entity) attached to this node (car-node)
信息 Node 9:52:20 Child (front_right-node) attached to this node (Models/Ferrari/Car-scene_node)
警告 DesktopAssetManager 9:52:20 Cannot locate resource: Models/Ferrari/WheelFrontRight.mesh.xml
信息 Node 9:52:20 Child (WheelFrontRight-geom-4) attached to this node (WheelFrontRight-ogremesh)
信息 Node 9:52:20 Child (WheelFrontRight-ogremesh) attached to this node (front_right-entity)
信息 Node 9:52:20 Child (front_right-entity) attached to this node (front_right-node)
信息 Node 9:52:20 Child (front_left-node) attached to this node (Models/Ferrari/Car-scene_node)
警告 DesktopAssetManager 9:52:20 Cannot locate resource: Models/Ferrari/WheelFrontLeft.mesh.xml
信息 Node 9:52:20 Child (WheelFrontLeft-geom-5) attached to this node (WheelFrontLeft-ogremesh)
信息 Node 9:52:20 Child (WheelFrontLeft-ogremesh) attached to this node (front_left-entity)
信息 Node 9:52:20 Child (front_left-entity) attached to this node (front_left-node)
信息 Node 9:52:20 Child removed.
信息 Node 9:52:20 Child (Car-geom-3) attached to this node (null)
信息 Node 9:52:20 Child removed.
信息 Node 9:52:20 Child (WheelFrontRight-geom-4) attached to this node (wheel_node)
信息 Node 9:52:20 Child (wheel_node) attached to this node (primary_wheel_node)
信息 Node 9:52:20 Child (primary_wheel_node) attached to this node (null)
信息 Node 9:52:20 Child removed.
信息 Node 9:52:20 Child (WheelFrontLeft-geom-5) attached to this node (wheel_node)
信息 Node 9:52:20 Child (wheel_node) attached to this node (primary_wheel_node)
信息 Node 9:52:20 Child (primary_wheel_node) attached to this node (null)
信息 Node 9:52:20 Child removed.
信息 Node 9:52:20 Child (WheelBackRight-geom-2) attached to this node (wheel_node)
信息 Node 9:52:20 Child (wheel_node) attached to this node (primary_wheel_node)
信息 Node 9:52:20 Child (primary_wheel_node) attached to this node (null)
信息 Node 9:52:20 Child removed.
信息 Node 9:52:20 Child (WheelBackLeft-geom-1) attached to this node (wheel_node)
信息 Node 9:52:20 Child (wheel_node) attached to this node (primary_wheel_node)
信息 Node 9:52:20 Child (primary_wheel_node) attached to this node (null)
信息 Node 9:52:20 Child (null) attached to this node (Root Node)
严重 Application 9:52:21 Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.IllegalStateException: Cannot render mesh without shader bound
at com.jme3.renderer.lwjgl.LwjglRenderer.setVertexAttrib(LwjglRenderer.java:1663)
at com.jme3.renderer.lwjgl.LwjglRenderer.setVertexAttrib(LwjglRenderer.java:1668)
at com.jme3.renderer.lwjgl.LwjglRenderer.renderMeshDefault(LwjglRenderer.java:1854)
at com.jme3.renderer.lwjgl.LwjglRenderer.renderMesh(LwjglRenderer.java:1880)
at com.jme3.material.Material.render(Material.java:476)
at com.jme3.renderer.RenderManager.renderGeometry(RenderManager.java:244)
at com.jme3.renderer.queue.RenderQueue.renderGeometryList(RenderQueue.java:100)
at com.jme3.renderer.queue.RenderQueue.renderShadowQueue(RenderQueue.java:113)
at com.jme3.shadow.BasicShadowRenderer.postQueue(BasicShadowRenderer.java:124)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:456)
at com.jme3.renderer.RenderManager.render(RenderManager.java:474)
at com.jme3.app.SimpleBulletApplication.update(SimpleBulletApplication.java:275)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:112)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:162)
at java.lang.Thread.run(Unknown Source)

Do you have the latest drivers for your video card? If you didn't update them recently, please check this page:

http://support.amd.com/us/kbarticles/Pages/737-28041SupportforATIMobility.aspx

Select the vendor of your laptop and download drivers from their support site.



This looks like one of those bizarre issues with old cards trying to support GLSL shaders, I added some more aggressive checking in the latest SVN, so that this error can't come up without the issue being caught earlier.

Momoko_Fan said:

Do you have the latest drivers for your video card? If you didn't update them recently, please check this page:
http://support.amd.com/us/kbarticles/Pages/737-28041SupportforATIMobility.aspx
Select the vendor of your laptop and download drivers from their support site.

This looks like one of those bizarre issues with old cards trying to support GLSL shaders, I added some more aggressive checking in the latest SVN, so that this error can't come up without the issue being caught earlier.


2010-5-16 15:57:05 com.jme3.asset.DesktopAssetManager <init>
信息: DesktopAssetManager created.
信息 JmeSystem 15:57:09 Running on jMonkey Engine 3 ALPHA 0.50
信息 Natives 15:57:09 Extraction Directory #1: file:/E:/jME3_05-15-2010/
信息 Natives 15:57:09 Extraction Directory #2: D:workshop3learnMonkey3
信息 Natives 15:57:09 Extraction Directory #3: D:workshop3learnMonkey3
信息 LwjglAbstractDisplay 15:57:09 Using LWJGL 2.4.2
信息 LwjglDisplay 15:57:09 Selected display mode: 640 x 480 x 0 @0Hz
信息 LwjglAbstractDisplay 15:57:09 Display created.
信息 LwjglAbstractDisplay 15:57:09 Adapter: ati2dvag
信息 LwjglAbstractDisplay 15:57:09 Driver Version: 6.14.10.6715
信息 LwjglAbstractDisplay 15:57:09 Vendor: ATI Technologies Inc.
信息 LwjglAbstractDisplay 15:57:09 OpenGL Version: 2.0.6747 WinXP Release
信息 LwjglAbstractDisplay 15:57:09 Renderer: ATI Mobility Radeon HD 2300 x86/SSE2
信息 LwjglAbstractDisplay 15:57:09 GLSL Ver: 1.10
信息 LwjglTimer 15:57:09 Timer resolution: 1000 ticks per second
信息 Camera 15:57:09 Camera created (W: 640, H: 480)
信息 LwjglMouseInput 15:57:09 Mouse created.
信息 LwjglKeyInput 15:57:09 Keyboard created.
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Gui Node)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (BitmapFont) attached to this node (Statistics View)
信息 Node 15:57:10 Child (Statistics View) attached to this node (Gui Node)
信息 Node 15:57:10 Child (Floor) attached to this node (null)
信息 Node 15:57:10 Child (null) attached to this node (Root Node)
信息 Node 15:57:10 Child (Box) attached to this node (null)
信息 Node 15:57:10 Child (wheel 1) attached to this node (wheel 1 node)
信息 Node 15:57:10 Child (wheel 1 node) attached to this node (null)
信息 Node 15:57:10 Child (null) attached to this node (null)
信息 Node 15:57:10 Child (wheel 2) attached to this node (wheel 2 node)
信息 Node 15:57:10 Child (wheel 2 node) attached to this node (null)
信息 Node 15:57:10 Child (null) attached to this node (null)
信息 Node 15:57:10 Child (wheel 3) attached to this node (wheel 3 node)
信息 Node 15:57:10 Child (wheel 3 node) attached to this node (null)
信息 Node 15:57:10 Child (null) attached to this node (null)
信息 Node 15:57:10 Child (wheel 4) attached to this node (wheel 4 node)
信息 Node 15:57:10 Child (wheel 4 node) attached to this node (null)
信息 Node 15:57:10 Child (null) attached to this node (null)
信息 Node 15:57:10 Child (null) attached to this node (Root Node)
严重 Application 15:57:10 Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
com.jme3.renderer.RendererException: Invalid ID recieved when trying to create shader program.
at com.jme3.renderer.lwjgl.LwjglRenderer.updateShaderData(LwjglRenderer.java:737)
at com.jme3.renderer.lwjgl.LwjglRenderer.setShader(LwjglRenderer.java:821)
at com.jme3.material.Material.render(Material.java:474)
at com.jme3.renderer.RenderManager.renderGeometry(RenderManager.java:247)
at com.jme3.renderer.queue.RenderQueue.renderGeometryList(RenderQueue.java:100)
at com.jme3.renderer.queue.RenderQueue.renderQueue(RenderQueue.java:142)
at com.jme3.renderer.RenderManager.flushQueue(RenderManager.java:332)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:460)
at com.jme3.renderer.RenderManager.render(RenderManager.java:474)
at com.jme3.app.SimpleBulletApplication.update(SimpleBulletApplication.java:295)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:112)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:162)
at java.lang.Thread.run(Unknown Source)

I followed your instruction, updated the driver of my video card(the latest version was published in 2008). It still can not work :(.