Latest jME3 SDK update trashed 1/3 of my installations

I got all kinds of “funny” effects and errors after updating one of my three jME3 SDK installations. Like:

[java]

16.01.2012 19:52:54 com.jme3.system.JmeSystem checkDelegate

SCHWERWIEGEND: No JmeSystemDelegate specified, cannot instantiate default JmeDesktopSystem:

{0}

java.lang.ClassNotFoundException: com.jme3.system.JmeDesktopSystem

at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:169)

at com.jme3.system.JmeSystem.checkDelegate(JmeSystem.java:125)

at com.jme3.system.JmeSystem.newContext(JmeSystem.java:106)

at com.jme3.app.Application.start(Application.java:378)

at com.jme3.app.Application.start(Application.java:359)

at com.jme3.app.SimpleApplication.start(SimpleApplication.java:135)

at mygame.NabyBallMaze.main(NabyBallMaze.java:145)

Exception in thread “main” java.lang.NullPointerException

at com.jme3.system.JmeSystem.newContext(JmeSystem.java:107)

at com.jme3.app.Application.start(Application.java:378)

at com.jme3.app.Application.start(Application.java:359)

at com.jme3.app.SimpleApplication.start(SimpleApplication.java:135)

at mygame.NabyBallMaze.main(NabyBallMaze.java:145)

Java Result: 1

[/java]



The key to solve this is, as @normen mentioned in another thread, renaming

[java]%USERHOME%\appdata\Roaming\.jmonkeyplatform[/java]

and finding out which of the file(s) is (/ are) the culprit. This one was it for me:

[java]%USERHOME%\appdata\Roaming\.jmonkeyplatform\3.0beta\build.properties[/java]



Puh, I thought I had to do all preferences like code formatting again.

1 Like

Thanks for pointing this out, in most cases it will always be some local setting causing such issues. Normal, unchanged projects that use the preconfigured (unchanged) libraries will work without issues.

In my case, even deleting the JmeTests and creating it new did not work. It wasn’t a problem with the project folders. I un- and re-installed all plugins, no win. I uninstalled, re-downloaded and re-updated jME3 SDK (without deleting .jmonkeyplatform), no win. But your hint finally helped. Now all projects work again.