jMonkeyEngine / sdk

The jMonkeyEngine3 Software Development Kit based on Netbeans
BSD 3-Clause "New" or "Revised" License
314 stars 100 forks source link

jMonkeyEngine 3.6.0 crashes on startup #494

Closed forenbuddy closed 1 year ago

forenbuddy commented 1 year ago

When I dare to start the jMonkEyengine 3.6 I receive

java.lang.IllegalStateException: Missing hosting module org.netbeans.libs.javacimpl for fragment org.netbeans.modules.nbjavac.impl at org.netbeans.ModuleManager.refineClassLoader(ModuleManager.java:909) at org.netbeans.StandardModule.classLoaderUp(StandardModule.java:527) at org.netbeans.ModuleManager.doEnable(ModuleManager.java:1361) at org.netbeans.ModuleManager.enable(ModuleManager.java:1331) at org.netbeans.ModuleManager.enable(ModuleManager.java:1256) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:316) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:252) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:173) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:142) at org.netbeans.core.startup.Main.start(Main.java:303) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98) at java.base/java.lang.Thread.run(Thread.java:833)

and the death of the JmonkeyEngine instance right there.

Please fix or tell or hint me how to fix it!

I am on Debian Mate and willing to try out stuff.

neph1 commented 1 year ago

Do you have a previous version of the SDK installed?

Edit: When I search for that issue, I found this thread: https://stackoverflow.com/questions/71387850/why-do-i-get-illegalstateexception-missing-hosting-module-org-netbeans-libs-jav Which seems to imply it's an issue when upgrading from a previous nb version to a new.

tonihele commented 1 year ago

I'm fairly sure this is about having left over settings from some old release. Delete the settings and that should be it. Closing this. Feel free to reopen if the problem persists.

forenbuddy commented 1 year ago

I found that thread also but it does not help me with jMonkey. Which settings would I delete then in/for jMonkey?

neph1 commented 1 year ago
find the '.jmonkeyplatform' folder (usually in your 'home' directory).
Rename it to keep the configs.
Install.
Copy the 'config' folder from the renamed folder into the new '.jmonkeyplatform' folder.