Hi Brad,

Michael already gave the explanation (the structure of the javac
modules was incompatibly changed). At the time it was done the issue
was brought up, but as it only affects users of the development builds,
it was deemed ok.

To fix this:

1. Open /home/bwalker/.netbeans/dev/modules
2. Look for the javac modules and note the names
3. Open /home/bwalker/.netbeans/dev/config/Modules and look for
   XML files with the same basenames and rename them to
   .xml.remove
4. Start NetBeans

This basicly removes the modules from NetBeans. If start succeeds and
everything is in order, you can remove the ".xml.remove" files and also
the corresponding jars from the /home/bwalker/.netbeans/dev/modules
folder.

HTH

Matthias

Am Mittwoch, dem 05.01.2022 um 17:44 -0700 schrieb Brad Walker:
> I'm having a real problem with Netbeans crashing on startup..
> 
> [bwalker@localhost bin]$ ./netbeans/bin/netbeans
> -------------------------------------------------------------------------------
> > Log Session: Wednesday, January 5, 2022 at 5:42:56 PM Mountain Standard
> Time
> > System Info:
>   Product Version         = Apache NetBeans IDE DEV (Build
> dev-76183f342a62d9f0e6732d7b500430d34d813b54) (#76183f342a62)
>   Operating System        = Linux version 5.15.8-100.fc34.x86_64 running on
> amd64
>   Java; VM; Vendor        = 11.0.13; OpenJDK 64-Bit Server VM 11.0.13+8;
> Red Hat, Inc.
>   Runtime                 = OpenJDK Runtime Environment 11.0.13+8
>   Java Home               =
> /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-2.fc34.x86_64
>   System Locale; Encoding = en_US (nb); UTF-8
>   Home Directory          = /home/bwalker
>   Current Directory       = /home/bwalker/bin
>   User Directory          = /home/bwalker/.netbeans/dev
>   Cache Directory         = /home/bwalker/.cache/netbeans/dev
>   Installation            = /home/bwalker/bin/netbeans/nb
>                             /home/bwalker/bin/netbeans/ergonomics
>                             /home/bwalker/bin/netbeans/ide
>                             /home/bwalker/bin/netbeans/extide
>                             /home/bwalker/bin/netbeans/java
>                             /home/bwalker/bin/netbeans/apisupport
>                             /home/bwalker/bin/netbeans/webcommon
>                             /home/bwalker/bin/netbeans/websvccommon
>                             /home/bwalker/bin/netbeans/enterprise
>                             /home/bwalker/bin/netbeans/profiler
>                             /home/bwalker/bin/netbeans/php
>                             /home/bwalker/bin/netbeans/harness
>                             /home/bwalker/bin/netbeans/cpplite
>                             /home/bwalker/bin/netbeans/groovy
>                             /home/bwalker/bin/netbeans/extra
>                             /home/bwalker/bin/netbeans/javafx
>                             /home/bwalker/bin/netbeans/platform
>   Boot & Ext. Classpath   =
>   Application Classpath   =
> /home/bwalker/bin/netbeans/platform/lib/boot.jar:/home/bwalker/bin/netbeans/platform/lib/org-openide-modules.jar:/home/bwalker/bin/netbeans/platform/lib/org-openide-util.jar:/home/bwalker/bin/netbeans/platform/lib/org-openide-util-lookup.jar:/home/bwalker/bin/netbeans/platform/lib/org-openide-util-ui.jar
>   Startup Classpath       =
> /home/bwalker/bin/netbeans/platform/core/core-base.jar:/home/bwalker/bin/netbeans/platform/core/org-openide-filesystems.jar:/home/bwalker/bin/netbeans/platform/core/asm-tree-9.2.jar:/home/bwalker/bin/netbeans/platform/core/asm-9.2.jar:/home/bwalker/bin/netbeans/platform/core/org-openide-filesystems-compat8.jar:/home/bwalker/bin/netbeans/platform/core/org-netbeans-libs-asm.jar:/home/bwalker/bin/netbeans/platform/core/core.jar:/home/bwalker/bin/netbeans/platform/core/asm-commons-9.2.jar:/home/bwalker/bin/netbeans/nb/core/org-netbeans-upgrader.jar:/home/bwalker/bin/netbeans/nb/core/locale/core_nb.jar
> -------------------------------------------------------------------------------
> 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.enable(ModuleManager.java:1330)
> at org.netbeans.ModuleManager.enable(ModuleManager.java:1254)
> at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:315)
> at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:251)
> at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298)
> at org.netbeans.core.startup.Main.getModuleSystem(Main.java:156)
> at org.netbeans.core.startup.Main.getModuleSystem(Main.java:125)
> at org.netbeans.core.startup.Main.start(Main.java:282)
> at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
> at java.base/java.lang.Thread.run(Thread.java:829)
> [bwalker@localhost bin]$
> 
> Any ideas what's happening here?
> 
> -brad w.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to