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 212127 - IllegalArgumentException: Not all requested modules can be enabled: [Netigso: C:\Programme\NetBeans Dev 201010190000\ide\modules\org-eclipse-mylyn-commons-xmlrpc.jar]
Summary: IllegalArgumentException: Not all requested modules can be enabled: [Netigso:...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Module Manager (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-05 15:15 UTC by Peter Nabbefeld
Modified: 2012-06-05 21:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 187680


Attachments
stacktrace (920 bytes, text/plain)
2012-05-05 15:15 UTC, Peter Nabbefeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nabbefeld 2012-05-05 15:15:21 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-9268-on-20120503)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP

User Comments:
epdv: While there may be some problems with outdated modules, Module Manager should at least tell, which problems exist, as it does for non-OSGi modules.




Stacktrace: 
java.lang.IllegalArgumentException: Not all requested modules can be enabled: [Netigso: C:\Programme\NetBeans Dev 201010190000\ide\modules\org-eclipse-mylyn-commons-xmlrpc.jar]
   at org.netbeans.ModuleManager.enable(ModuleManager.java:1022)
   at org.netbeans.ModuleManager.enable(ModuleManager.java:1000)
   at org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean.doEnable(ModuleBean.java:801)
   at org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean.access$1000(ModuleBean.java:363)
   at org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean$Updater.run(ModuleBean.java:632)
   at org.openide.util.Mutex.writeAccess(Mutex.java:474)
Comment 1 Peter Nabbefeld 2012-05-05 15:15:27 UTC
Created attachment 119115 [details]
stacktrace
Comment 2 Peter Nabbefeld 2012-05-05 17:12:43 UTC
The following Exception is reported on startup:


org.osgi.framework.BundleException: The bundle "org.eclipse.mylyn.commons.xmlrpc_3.6.0.v20110608-1400 [45]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.apache.xmlrpc; bundle-version="[3.0.0,4.0.0)"
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)
	at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)
	at org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)
	at org.netbeans.core.netigso.Netigso.start(Netigso.java:180)
	at org.netbeans.NetigsoHandle.startFramework(NetigsoHandle.java:196)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1178)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1000)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:295)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:169)
	at org.netbeans.core.startup.Main.start(Main.java:305)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
[catch] at java.lang.Thread.run(Thread.java:619)


Because of reported errors on org.apache.xmlrpc, I've tried to remove the module, but MMR doesn't resolve the dep ("No problem found!"), so I'll download the module manually (using the zipped IDE and extracting the module). However, MMR should be fixed. Probably this will need some extension APIs for OSGi handling, so MMR can handle related dependeces.
Comment 3 Tomas Stupka 2012-05-21 13:41:37 UTC
please evaluate