Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
11.0
-
None
-
None
-
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); Cp1252Product 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
Description
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 :
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)
I closed the window and tried again and got this one (slightly different I guess) :
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)
I had kept the UI Log and IDE Log. I can post them in joint pieces if someone request it.
Attachments
Attachments
Issue Links
- is duplicated by
-
NETBEANS-3152 nullpointerexception in installing nb-javac Library
- Closed
-
NETBEANS-3181 Exception while installing nb-javac
- Closed