Alessandro Falappa created NETBEANS-2801: --------------------------------------------
Summary: IllegalSateException thrown when installing nbjavac plugin with OpenJDK11 Key: NETBEANS-2801 URL: https://issues.apache.org/jira/browse/NETBEANS-2801 Project: NetBeans Issue Type: Bug Components: java - Compiler Affects Versions: 11.1 Reporter: Alessandro Falappa Steps: # Download NB 11.1-beta3 binary zip # Unpack # Edit etc/netbeans.conf and specify an OpenJDK11 inĀ netbeans_jdkhome property # Run bin/netbeans64.exe # Click on My NetBenas on the Start Page # Click on Activate Features # Select JavaSE checkbox and click Activate # Close Plugins dialog # There should be a notification suggesting to install nbjavac # Open notification and follow instructions to install nbjavac plugin # After installation an exception is notified and the IDE log contains {code:java} // SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.core.startup.ModuleList$Listener java.lang.IllegalStateException: Host module StandardModule:org.netbeans.libs.javacapi jarFile: C:\Users\falappa\PortableApps\netbeans-11.1-beta3\java\modules\org-netbeans-libs-javacapi.jar was enabled before, will not accept fragment StandardModule:org.netbeans.modules.nbjavac.api jarFile: C:\Users\falappa\AppData\Roaming\NetBeans\11.1\modules\org-netbeans-modules-nbjavac-api.jar at org.netbeans.ModuleManager.attachModuleFragment(ModuleManager.java:1104) at org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1708) at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1632) at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1605) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:289) at org.netbeans.core.startup.ModuleList.access$2400(ModuleList.java:93) at org.netbeans.core.startup.ModuleList$Listener.stepEnable(ModuleList.java:1384) at org.netbeans.core.startup.ModuleList$Listener.access$1400(ModuleList.java:982) at org.netbeans.core.startup.ModuleList$Listener$1.run(ModuleList.java:1206) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494) at org.netbeans.core.startup.ModuleList$Listener.run(ModuleList.java:1182) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) usage: ActivateFeatures {code} I have not experienced this exception when running NetBeans on OpenJDK 8 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists