Closed Ali-RS closed 1 year ago
I switched JME implementation of GLFWErrorCallback with GLFWErrorCallback.createPrint()
to see if I can get a more useful error log. Now the app does not stop and continues to run and here is the error log printed to the output:
[LWJGL] GLFW_INVALID_VALUE error
Description : Invalid value for parameter
Stacktrace :
org.lwjgl.glfw.GLFW.glfwInit(GLFW.java:1071)
com.jme3.system.lwjgl.LwjglWindow.createContext(LwjglWindow.java:228)
com.jme3.system.lwjgl.LwjglWindow.initInThread(LwjglWindow.java:577)
com.jme3.system.lwjgl.LwjglWindow.run(LwjglWindow.java:699)
java.base/java.lang.Thread.run(Thread.java:1589)
But what does it mean? which parameter does it refer to?
Hey @Ali-RS,
This error is reporting a bad controller mapping entry. It is harmless, the entry is simply skipped and you can safely ignore the error.
This is supposed to never happen in GLFW, it was my mistake when I updated to the latest SDL_GameControllerDB version. It will go away in the next snapshot. If it can't wait, this fresh GLFW build is fixed.
Ok, thanks @Spasi
Hey @Ali-RS,
LWJGL 3.3.2-snapshot+9
is now available and this error should be gone. Also updated to latest SDL_GameControllerDB.
Great, thank you so much @Spasi
Version
3.3.2 (nightly)
Platform
Linux x64
JDK
Adoptium OpenJDK 19
Module
LWJGL Core, GLFW
Bug description
Hi,
After upgrading to LWJGL
3.3.2-snapshot+8
I am getting this error when running my project. I am using jMonkeyEngine.It works fine in the LWJGL
3.3.2-snapshot+7
and older versions.Stacktrace or crash log output