[jira] [Commented] (NETBEANS-1404) Exception installing nb-javac
[ https://issues.apache.org/jira/browse/NETBEANS-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16669948#comment-16669948 ] Aldo Brucale commented on NETBEANS-1404: I've tried with 10vc2, and now I'm getting a different exception when I follow the "Install nb-javac Library" suggestion: {noformat} java.lang.IllegalStateException: Host module StandardModule:org.netbeans.libs.javacimpl jarFile: /opt/netbeans-10.0/java/modules/org-netbeans-libs-javacimpl.jar was enabled before, will not accept fragment StandardModule:org.netbeans.modules.nbjavac.impl jarFile: /home/aldo/.netbeans/10.0/modules/org-netbeans-modules-nbjavac-impl.jar{noformat} I think that the installation fails because nb-javac has already been installed during the Java SE features activation (this happens when I import the settings from nb 9.0). This is definitely a minor issue, maybe a bit confusing for new users. > Exception installing nb-javac > - > > Key: NETBEANS-1404 > URL: https://issues.apache.org/jira/browse/NETBEANS-1404 > Project: NetBeans > Issue Type: Bug >Affects Versions: 10.0 >Reporter: Aldo Brucale >Priority: Major > > I get this exception clicking on "Install nb-javac" in the notification window > {noformat} > org.netbeans.api.autoupdate.OperationException[INSTALL]: could not add > nbjavac Library[org.netbeans.modules.nbjavac/1.4] to updates > at > org.netbeans.modules.autoupdate.ui.ModuleInstallerSupport.installPlugins(ModuleInstallerSupport.java:232) > [catch] 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:270) > at > java.desktop/java.awt.Component.processMouseEvent(Component.java:6589) > at > java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) > at java.desktop/java.awt.Component.processEvent(Component.java:6354) > at java.desktop/java.awt.Container.processEvent(Container.java:2261) > at > java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966) > at > java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) > at > java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914) > at > java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543) > at > java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484) > at > java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2305) > at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) > at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) > at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97) > 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(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) > 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(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > 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 >
[jira] [Commented] (NETBEANS-1404) Exception installing nb-javac
[ https://issues.apache.org/jira/browse/NETBEANS-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16668485#comment-16668485 ] Geertjan Wielenga commented on NETBEANS-1404: - Probably a network error of some kind, you should not need the Notifications window, i.e., this should be prompted when creating a new Java-related application for the first time. This should be verified in 10vc2, please verify (once 10vc2 is release, during the next few days) and then provide exact step by step instructions to reproduce. > Exception installing nb-javac > - > > Key: NETBEANS-1404 > URL: https://issues.apache.org/jira/browse/NETBEANS-1404 > Project: NetBeans > Issue Type: Bug >Affects Versions: 10.0 >Reporter: Aldo Brucale >Priority: Major > > I get this exception clicking on "Install nb-javac" in the notification window > {noformat} > org.netbeans.api.autoupdate.OperationException[INSTALL]: could not add > nbjavac Library[org.netbeans.modules.nbjavac/1.4] to updates > at > org.netbeans.modules.autoupdate.ui.ModuleInstallerSupport.installPlugins(ModuleInstallerSupport.java:232) > [catch] 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:270) > at > java.desktop/java.awt.Component.processMouseEvent(Component.java:6589) > at > java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) > at java.desktop/java.awt.Component.processEvent(Component.java:6354) > at java.desktop/java.awt.Container.processEvent(Container.java:2261) > at > java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966) > at > java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) > at > java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914) > at > java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543) > at > java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484) > at > java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2305) > at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) > at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) > at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) > at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97) > 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(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) > 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(Native Method) > at > java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) > at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) > at > org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) > 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) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)