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 149946

Summary: [65cat] IllegalArgumentException: Invalid org.netbeans.modules.maven.spring for operation INSTALL
Product: platform Reporter: malakim <malakim>
Component: AutoupdateAssignee: dlipin <dlipin>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: tnleeuw
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=127427
Issue Type: DEFECT Exception Reporter: 127427
Attachments: stacktrace

Description malakim 2008-10-13 14:01:29 UTC
Build: NetBeans IDE Dev (Build 200810111401)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments:
malakim: Occured when selecting the Maven plugin in the Plugins window and clicking the Install button.



Stacktrace: 
java.lang.IllegalArgumentException: Invalid org.netbeans.modules.maven.spring for operation INSTALL
        at org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:106)
        at org.netbeans.modules.autoupdate.services.OperationContainerImpl.listAllWithPossibleEager(OperationContainerImpl.java:219)
        at org.netbeans.api.autoupdate.OperationContainer.listAll(OperationContainer.java:327)
        at org.netbeans.modules.autoupdate.ui.AvailableTableModel.getDownloadSize(AvailableTableModel.java:230)
        at org.netbeans.modules.autoupdate.ui.UnitTab$7.run(UnitTab.java:352)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
Comment 1 malakim 2008-10-13 14:01:37 UTC
Created attachment 71663 [details]
stacktrace
Comment 2 Jiri Rechtacek 2008-10-13 14:24:51 UTC
I cannot reproduce on the same build (tried w/ netbeans-trunk-nightly-200810111401-java.zip and
netbeans-trunk-nightly-200810111401.zip). Are there some steps which I could missed?
Comment 3 malakim 2008-10-14 07:48:53 UTC
I can not reproduce it by uninstalling / reinstalling the Maven plugin either. Perhaps it was just a fluke incident? 
Let me try the latest daily and see what happens there.
Comment 4 malakim 2008-10-14 08:50:25 UTC
I couldn't reproduce this exact problem with 200810130704, but I did have to repair the Maven Dependency Graph and 
Maven modules twice (from the log file):

Warning - could not install some modules:
	org.netbeans.modules.maven - The module named org.netbeans.modules.maven.bridges.debugger/1 was needed and not 
found.
	org.netbeans.modules.maven - The module named org.netbeans.modules.maven.indexer/1 was needed and not found.
Warning - could not install some modules:
	org.netbeans.modules.maven.kit - The module org.netbeans.modules.maven.buildplan would also need to be 
installed.
	org.netbeans.modules.maven.kit - The module org.netbeans.modules.maven.grammar would also need to be installed.
	org.netbeans.modules.maven.kit - The module org.netbeans.modules.maven.repository would also need to be 
installed.
	org.netbeans.modules.maven.kit - The module org.netbeans.modules.maven would also need to be installed.
	org.netbeans.modules.maven.repository - The module org.netbeans.modules.maven would also need to be installed.
	org.netbeans.modules.maven.grammar - The module org.netbeans.modules.maven would also need to be installed.
	org.netbeans.modules.maven.buildplan - The module org.netbeans.modules.maven would also need to be installed.
	org.netbeans.modules.maven - The module named org.netbeans.modules.maven.bridges.debugger/1 was needed and not 
found.

I didn't delete my userdir when installing the new version, perhaps that's causing problems?

Comment 5 Antonin Nebuzelsky 2008-11-14 15:32:15 UTC
Reassigning to the new "autoupdate/*" owner dlipin.
Comment 6 dlipin 2008-11-19 12:16:42 UTC
This is due to insufficient support for pending state which is been tracked as the issue 134595.

*** This issue has been marked as a duplicate of 134595 ***