This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250686 - IllegalArgumentException: Not all requested modules can be enabled: [Netigso: /Applications/NetBeans/NetBeans 8.0.app/Contents/Resources/NetBeans/nbms/modules/org-netbeans-html-ko_ws_tyrus.jar]
Summary: IllegalArgumentException: Not all requested modules can be enabled: [Netigso:...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Html4j (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-25 11:13 UTC by timmaher
Modified: 2015-04-08 08:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205852


Attachments
stacktrace (1.18 KB, text/plain)
2015-02-25 11:13 UTC, timmaher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description timmaher 2015-02-25 11:13:12 UTC
This bug was originally marked as duplicate of bug 242658, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Mac OS X

User Comments:
mps77: missing modules resolver...

timmaher: Just clikced on the install button for the DukeScript plugin.




Stacktrace: 
java.lang.IllegalArgumentException: Not all requested modules can be enabled: [Netigso: /Applications/NetBeans/NetBeans 8.0.app/Contents/Resources/NetBeans/nbms/modules/org-netbeans-html-ko_ws_tyrus.jar]
   at org.netbeans.ModuleManager.enable(ModuleManager.java:1039)
   at org.netbeans.ModuleManager.enable(ModuleManager.java:1017)
   at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
   at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:350)
   at org.netbeans.core.startup.ModuleList.access$2400(ModuleList.java:118)
   at org.netbeans.core.startup.ModuleList$Listener.stepEnable(ModuleList.java:1409)
Comment 1 timmaher 2015-02-25 11:13:14 UTC
Created attachment 152204 [details]
stacktrace
Comment 2 Exceptions Reporter 2015-02-28 13:04:10 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=205852
Comment 3 Tomas Hurka 2015-04-03 14:10:09 UTC
It looks like the problem is caused by missing module(?), which provides "javax.websocket". See exception below:
 
org.osgi.framework.BundleException: The bundle "org.netbeans.html.ko-ws-tyrus_1.1.0 [204]" could not be resolved. Reason: Missing Constraint: Import-Package: javax.websocket; version="[1.0.0,2.0.0)"
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:292)

Reassinging to html4j for further investigation.
Comment 4 Jaroslav Tulach 2015-04-08 08:39:51 UTC
Toni updated the DukeScript plugin as far as I know.