TestCanvas crashes with LWJGL3
See original GitHub issueCurrent master
branch on Windows:
INFO JmeDesktopSystem 10:35:35 AM Running on jMonkeyEngine 3.3-6918
* Branch: master
* Git Hash: 46a52af
* Build Date: 2019-09-20
SEVERE JmeDesktopSystem 10:35:35 AM CRITICAL ERROR: Context class is missing!
Make sure jme3_lwjgl-ogl is on the classpath.
java.lang.ClassNotFoundException: com.jme3.system.lwjgl.LwjglCanvas
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.jme3.system.JmeDesktopSystem.newContextLwjgl(JmeDesktopSystem.java:196)
at com.jme3.system.JmeDesktopSystem.newContext(JmeDesktopSystem.java:279)
at com.jme3.system.JmeSystem.newContext(JmeSystem.java:159)
at com.jme3.app.LegacyApplication.createCanvas(LegacyApplication.java:510)
at jme3test.awt.TestCanvas.createCanvas(TestCanvas.java:217)
at jme3test.awt.TestCanvas.main(TestCanvas.java:248)
Exception in thread "main" java.lang.NullPointerException
at com.jme3.system.JmeDesktopSystem.newContext(JmeDesktopSystem.java:280)
at com.jme3.system.JmeSystem.newContext(JmeSystem.java:159)
at com.jme3.app.LegacyApplication.createCanvas(LegacyApplication.java:510)
at jme3test.awt.TestCanvas.createCanvas(TestCanvas.java:217)
at jme3test.awt.TestCanvas.main(TestCanvas.java:248)
The same test app works fine with LWJGL2 on Windows.
I’m not sure what ever happened to jme3_lwjgl-ogl
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (13 by maintainers)
Top Results From Across the Web
(SOLVED) LWJGL3: ERROR: Context class is missing!
Hi, I'm beginning (and start learning) with jMonkeyEngine and got issue referenced here: TestCanvas crashes with LWJGL3 · Issue #1192 ...
Read more >LWJGL crashes on glDrawElements - java - Stack Overflow
GL_VERTEX_ARRAY is not a valid buffer binding point for e.g. glBindBuffer . The reason why it crashes is because you enabled generic vertex ......
Read more >LWJGL3 Stable, Works on Windows, Crashes on Linux
I installed OpenJDK 8 on the virtual machine and tried running the program and this "java.lang.reflect.InvocationTargetException" comes up before the program ...
Read more >Bandicam crashes my LWJGL3 game - Bandicam Forum
Bandicam crashes my LWJGL3 game. Fri Jan 04, 2019 6:36 pm. - Windows Version: Windows 10 - Graphic card model: NVIDIA GTX 1070...
Read more >LWJGL 3 HelloWorld example crashing
Given that the crash is inconsistent, it's probably a threading issue. The link you shared says. MacOS users should start their application ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can try to fix this. I already created an awful working demo. I’ll get it to somewhat nice shape. Try to get feature parity with the LWJGL 2 one and make a PR. Then at least it is implemented and can be improved upon later.
Pic or didn’t happen:
Thanks @tonihele . This looks promising.