Jmonkey 3.1 scene editor static rigid body control error?

I’m using the latest build of the Jmonkey SDK (3.1 alpha 4). When I try to add a static rigid body control in the editor it causes the mesh to become transparent and the control is not added. Then if the scene editor is closed and reopened , using the same scene , the models I attempted to add the control to are no longer a part of the scene.

Here is a copy of the error report. It seems like a core class for the control has been removed.

java.lang.NoClassDefFoundError: com/bulletphysics/linearmath/MotionState
at com.jme3.gde.core.sceneexplorer.nodes.actions.impl.NewRigidBodyAction.doCreateControl(NewRigidBodyAction.java:60)
at com.jme3.gde.core.sceneexplorer.nodes.actions.AbstractNewControlAction$1$1.call(AbstractNewControlAction.java:70)
at com.jme3.gde.core.sceneexplorer.nodes.actions.AbstractNewControlAction$1$1.call(AbstractNewControlAction.java:67)
at com.jme3.app.AppTask.invoke(AppTask.java:142)
at com.jme3.app.Application.runQueuedTasks(Application.java:683)
at com.jme3.app.Application.update(Application.java:697)
at com.jme3.gde.core.scene.SceneApplication.update(SceneApplication.java:289)
at com.jme3.system.awt.AwtPanelsContext.updateInThread(AwtPanelsContext.java:194)
at com.jme3.system.awt.AwtPanelsContext.access$100(AwtPanelsContext.java:44)
at com.jme3.system.awt.AwtPanelsContext$AwtPanelsListener.update(AwtPanelsContext.java:68)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.runLoop(LwjglOffscreenBuffer.java:125)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.run(LwjglOffscreenBuffer.java:156)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: com.bulletphysics.linearmath.MotionState starting from ModuleCL@5362f3d3[com.jme3.gde.core.baselibs] with possible defining loaders null and declared parents [ModuleCL@3396c69b[com.jme3.gde.core.libraries]]
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 13 more
Caused by: java.lang.ClassNotFoundException: com.bulletphysics.linearmath.MotionState
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222)
… 14 more

@Dokthar We definitely have a problem with jBullet specific “MotionState”.
We also have that it some tests, it seems we now simply have native bullet over jBullet in the SDK.

Thanks ,

I just tested the scene by coding a rigid body control and it worked fine. It seems just to be the scene editor causing these problems. The only problem I’m having is the textures on the terrain generated in the scene editor do not load.

Yeah there was a problem with Terrain Serialization.
If you are unable to load the whole scene (when there is a terrain), then it’s: Scene can't be saved · Issue #47 · jMonkeyEngine/sdk · GitHub

It will be fixed ~ Tuesday, when alpha5 is out.

The other problem you refer to is just because the code somehow relies on some jBullet only things while it is powered by bullet native.