[ https://issues.apache.org/jira/browse/NETBEANS-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16960373#comment-16960373 ]
Geertjan Wielenga edited comment on NETBEANS-2552 at 10/26/19 3:26 PM: ----------------------------------------------------------------------- [~ebresie], can you provide a lot of info, please? Your environment, whether you have started with a fresh user dir? Anything else, a lot more than right now? was (Author: geertjanwielenga): [~ebresie], can you provide a lot of info, please? > Fail to install nb-javac Library on NetBeans 11 > ----------------------------------------------- > > Key: NETBEANS-2552 > URL: https://issues.apache.org/jira/browse/NETBEANS-2552 > Project: NetBeans > Issue Type: Bug > Affects Versions: 11.0 > Environment: Product Version : Apache NetBeans IDE 11.0 (Build > incubator-netbeans-release-404-on-20190319) > Operating System : Windows 10 version 10.0 running on amd64 > Java; VM; Vendor : 12.0.1; Java HotSpot(TM) 64-Bit Server VM 12.0.1+12; > Oracle Corporation > Runtime : Java(TM) SE Runtime Environment 12.0.1+12 > System Locale; Encoding = fr_FR (nb); Cp1252 > Reporter: Jimmy Jeunemaître > Priority: Minor > Labels: nbjavac, reporting > Attachments: nb-javac Impl problem.PNG > > > Got a notification titled "Install nb-javac Library" in the "Notifications" > window. > > Priority : SILENT Category : Info > There is a blue link that tell something like : _It is recommended to install > nb-javac Library to improve Java editing experience and enable compile on > save._ > I clicked on it, it tried to do something but then send the following > exception : > {code:java} > java.lang.IllegalStateException: Host module > StandardModule:org.netbeans.libs.javacimpl jarFile: C:\NetBeans > 11\netbeans\java\modules\org-netbeans-libs-javacimpl.jar was enabled before, > will not accept fragment StandardModule:org.netbeans.modules.nbjavac.impl > jarFile: > C:\Users\Username\AppData\Roaming\NetBeans\11.0\modules\org-netbeans-modules-nbjavac-impl.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) > {code} > I closed the window and tried again and got this one (slightly different I > guess) : > {code:java} > java.lang.IllegalStateException: Host module > StandardModule:org.netbeans.libs.javacimpl jarFile: C:\NetBeans > 11\netbeans\java\modules\org-netbeans-libs-javacimpl.jar was enabled before, > will not accept fragment StandardModule:org.netbeans.modules.nbjavac.impl > jarFile: > C:\Users\Username\AppData\Roaming\NetBeans\11.0\modules\org-netbeans-modules-nbjavac-impl.jar > at > org.netbeans.ModuleManager.attachModuleFragment(ModuleManager.java:1104) > at > org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1708) > at > org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1721) > at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1632) > at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1605) > at > org.netbeans.modules.autoupdate.services.OperationValidator$EnableValidator.getModulesToEnable(OperationValidator.java:340) > at > org.netbeans.modules.autoupdate.services.OperationValidator$EnableValidator.getRequiredElementsImpl(OperationValidator.java:376) > at > org.netbeans.modules.autoupdate.services.OperationValidator.getRequiredElements(OperationValidator.java:108) > at > org.netbeans.modules.autoupdate.services.OperationContainerImpl$OperationInfoImpl.getRequiredElements(OperationContainerImpl.java:441) > at > org.netbeans.api.autoupdate.OperationContainer$OperationInfo.getRequiredElements(OperationContainer.java:371) > at > org.netbeans.modules.autoupdate.ui.ModuleInstallerSupport.installPlugins(ModuleInstallerSupport.java:201) > at > org.netbeans.modules.autoupdate.ui.api.PluginManager.installSingle(PluginManager.java:152) > at > org.netbeans.modules.java.source.JBrowseModule.lambda$null$1(JBrowseModule.java:96) > at > java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) > at > java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) > at > java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) > at > java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) > at > java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279) > at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632) > at > java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) > at java.desktop/java.awt.Component.processEvent(Component.java:6397) > at java.desktop/java.awt.Container.processEvent(Container.java:2263) > at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) > at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) > at > java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) > at > java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) > at > java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) > at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) > at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) > at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) > at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) > at > java.base/java.security.AccessController.doPrivileged(AccessController.java:389) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) > at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) > at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) > at > java.base/java.security.AccessController.doPrivileged(AccessController.java:389) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > [catch] at > java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) > at > java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) > at > java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at > java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) > {code} > I had kept the UI Log and IDE Log. I can post them in joint pieces if someone > request it. > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- 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