You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Alessandro Falappa (JIRA)" <ji...@apache.org> on 2019/07/05 07:38:00 UTC
[jira] [Comment Edited] (NETBEANS-2801) IllegalSateException thrown
when installing nbjavac plugin with OpenJDK11
[ https://issues.apache.org/jira/browse/NETBEANS-2801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879043#comment-16879043 ]
Alessandro Falappa edited comment on NETBEANS-2801 at 7/5/19 7:37 AM:
----------------------------------------------------------------------
On dev mailing linst it was noted that this is a duplicate of !/jira/secure/viewavatar?size=xsmall&avatarId=21133&avatarType=issuetype|width=16,height=16! NETBEANS-2548IllegalStateException after installing nb-javac module .
Closing.
was (Author: alexfalappa):
On dev mailing linst it was noted that this is a duplicate of !https://issues.apache.org/jira/secure/viewavatar?size=xsmall&avatarId=21133&avatarType=issuetype|width=16,height=16! NETBEANS-2548IllegalStateException after installing nb-javac module .
Please close.
> 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
> Environment: Product Version: Apache NetBeans IDE 11.1
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_IE (nb)
> User directory: C:\Users\falappa\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\falappa\AppData\Local\NetBeans\Cache\11.1
> Reporter: Alessandro Falappa
> Priority: Major
>
> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists