Today i tried jme3.5.0-alpha on raspberry and i got this exception :
pi@raspberrypi:~/NativeJmeTemplate/output/run $ ./run.sh
Run
..................................
Dec 09, 2021 12:44:14 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.5.0-alpha1
* Branch: HEAD
* Git Hash: dc91668
* Build Date: 2021-11-14
Dec 09, 2021 12:44:16 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: LWJGL 3.3.0 build 21 context running on thread jME3 Main
* Graphics Adapter: GLFW 3.4.0 Wayland X11 GLX Null EGL OSMesa monotonic shared
Dec 09, 2021 12:44:16 PM com.jme3.renderer.opengl.GLRenderer loadCapabilitiesCommon
INFO: OpenGL Renderer Information
* Vendor: Broadcom
* Renderer: V3D 4.2
* OpenGL Version: 2.1 Mesa 19.3.2
* GLSL Version: 1.20
* Profile: Compatibility
Dec 09, 2021 12:44:16 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MeshLoader
Dec 09, 2021 12:44:16 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SkeletonLoader
Dec 09, 2021 12:44:16 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MaterialLoader
Dec 09, 2021 12:44:16 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SceneLoader
Dec 09, 2021 12:44:16 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.fbx.FbxLoader
Dec 09, 2021 12:44:16 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.gltf.GltfLoader
Dec 09, 2021 12:44:16 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.gltf.BinLoader
Dec 09, 2021 12:44:16 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.gltf.GlbLoader
Dec 09, 2021 12:44:16 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.audio.plugins.OGGLoader
Dec 09, 2021 12:44:16 PM com.jme3.app.LegacyApplication handleError
SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
java.lang.NullPointerException
at org.lwjgl.system.Callback.get(Callback.java:190)
at org.lwjgl.glfw.GLFWWindowSizeCallback.create(GLFWWindowSizeCallback.java:36)
at org.lwjgl.glfw.GLFWWindowSizeCallback.createSafe(GLFWWindowSizeCallback.java:45)
at org.lwjgl.glfw.GLFW.glfwSetWindowSizeCallback(GLFW.java:3139)
at com.jme3.input.lwjgl.GlfwMouseInput.initCallbacks(GlfwMouseInput.java:243)
at com.jme3.input.lwjgl.GlfwMouseInput.initialize(GlfwMouseInput.java:184)
at com.jme3.app.LegacyApplication.initInput(LegacyApplication.java:337)
at com.jme3.app.LegacyApplication.initialize(LegacyApplication.java:640)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:198)
at com.jme3.system.lwjgl.LwjglWindow.initInThread(LwjglWindow.java:524)
at com.jme3.system.lwjgl.LwjglWindow.run(LwjglWindow.java:640)
at com.jme3.system.lwjgl.LwjglWindow.create(LwjglWindow.java:477)
at com.jme3.app.LegacyApplication.start(LegacyApplication.java:491)
at com.jme3.app.LegacyApplication.start(LegacyApplication.java:443)
at com.jme3.app.SimpleApplication.start(SimpleApplication.java:126)
at test.TestJni.main(TestJni.java:18)
Dec 09, 2021 12:44:16 PM com.jme3.app.LegacyApplication handleError
SEVERE: Failed to destroy context
java.lang.NullPointerException
at org.lwjgl.system.Callback.get(Callback.java:190)
at org.lwjgl.glfw.GLFWErrorCallback.create(GLFWErrorCallback.java:40)
at org.lwjgl.glfw.GLFWErrorCallback.createSafe(GLFWErrorCallback.java:49)
at org.lwjgl.glfw.GLFW.glfwSetErrorCallback(GLFW.java:1288)
at com.jme3.system.lwjgl.LwjglWindow.destroyContext(LwjglWindow.java:436)
at com.jme3.system.lwjgl.LwjglWindow.deinitInThread(LwjglWindow.java:624)
at com.jme3.system.lwjgl.LwjglWindow.lambda$initInThread$12(LwjglWindow.java:494)
at java.base/java.lang.Thread.dispatchUncaughtException(Thread.java:2002)
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 20 (X_GetProperty)
Resource id in failed request: 0x1a00061
Serial number of failed request: 1818
Current serial number in output stream: 1818
I am currently using Ant on the rpi, dependencies :
those are the dependencies in case i am missing something !
I still haven’t investigated into this problem, but seems to be an incompatibility behavior or lwjgl3.3.0
is the problem !
The same app works fine on my laptop.