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 181210 - IllegalArgumentException: Invalid org.apache.tools.ant.module.docs for operation INSTALL
Summary: IllegalArgumentException: Invalid org.apache.tools.ant.module.docs for operat...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Importer (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on: 168162
Blocks:
  Show dependency tree
 
Reported: 2010-02-25 08:19 UTC by sworisbreathing
Modified: 2011-03-07 16:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 165707


Attachments
stacktrace (836 bytes, text/plain)
2010-02-25 08:19 UTC, sworisbreathing
Details
stacktrace (823 bytes, text/plain)
2010-08-10 11:38 UTC, dlipin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sworisbreathing 2010-02-25 08:19:48 UTC
This bug was originally marked as duplicate of bug 162836, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-9M3125
OS: Mac OS X

User Comments:
GUEST: Updating the plugins in netbeans 6.8 from netbeans 6.5

GUEST: Importing plugins from NB6.7 after install of NB 6.8

GUEST: Importing plugins from previous version of netbeans

sworisbreathing: I just upgraded to 6.8 and it was importing plugins from 6.7.  I told it to run in the background, but it didn't appear to be doing anything so I ran the import again.  That's when the error appeared.




Stacktrace: 
java.lang.IllegalArgumentException: Invalid org.apache.tools.ant.module.docs for operation INSTALL
   at org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:109)
   at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:287)
   at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:299)
   at org.netbeans.modules.autoupdate.pluginimporter.ImportManager.doImport(ImportManager.java:319)
   at org.netbeans.modules.autoupdate.pluginimporter.ImportManager.access$200(ImportManager.java:92)
   at org.netbeans.modules.autoupdate.pluginimporter.ImportManager$3$1.run(ImportManager.java:229)
Comment 1 sworisbreathing 2010-02-25 08:19:52 UTC
Created attachment 94514 [details]
stacktrace
Comment 2 dlipin 2010-08-10 11:38:09 UTC
Created attachment 101285 [details]
stacktrace

Steps to reproduce:
1) Install 6.8, run it with fresh userdir
2) Install BlueJ plugin into it, close IDE
3) Install 6.9, run it with fresh userdir
4) Wait until plugin importer icon is shown in the status bar, click it
5) (if UCs were already updated) notice the BlueJ plugin the the top table
6) Click Import, the wizard starts
7) Proceed with the wizard, and click "Run in Background" checkbox when available (during download stage).
8) Since the Import dialog is still shown, click Import again, and get the IAE

Reproducible: 100%
Comment 3 Jaroslav Tulach 2011-03-07 16:36:46 UTC
No reports from 7.0beta2.