TerrainGridTileLoaderTest.java throws the following exception

[java]java.lang.NullPointerException

at com.jme3.bullet.PhysicsSpace.remove(PhysicsSpace.java:403)

at jme3test.terrain.TerrainGridTileLoaderTest$1.tileDetached(TerrainGridTileLoaderTest.java:148)

at com.jme3.terrain.geomipmap.TerrainGrid.removeQuad(TerrainGrid.java:352)

at com.jme3.terrain.geomipmap.TerrainGrid$UpdateQuadCache$2.call(TerrainGrid.java:189)

at com.jme3.app.AppTask.invoke(AppTask.java:142)

at com.jme3.scene.control.UpdateControl.controlUpdate(UpdateControl.java:79)

at com.jme3.scene.control.AbstractControl.update(AbstractControl.java:112)

at com.jme3.scene.Spatial.runControlUpdate(Spatial.java:559)

at com.jme3.scene.Spatial.updateLogicalState(Spatial.java:677)

at com.jme3.scene.Node.updateLogicalState(Node.java:145)

at com.jme3.scene.Node.updateLogicalState(Node.java:152)

at com.jme3.app.SimpleApplication.update(SimpleApplication.java:243)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)

at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228)

at java.lang.Thread.run(Thread.java:619)[/java]



Just now getting a chance to go through the Terrain system and this is the first thing I saw :frowning:

Looks like it’s just an issue with the test case , the physics is still working but it might be trying to doubly remove the control. I will fix it tomorrow morning.

1 Like
@Sploreg said:
Looks like it's just an issue with the test case , the physics is still working but it might be trying to doubly remove the control. I will fix it tomorrow morning.


Thank you!