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 130529 - IllegalArgumentException when deactivating plugins
Summary: IllegalArgumentException when deactivating plugins
Status: RESOLVED DUPLICATE of bug 134595
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: dlipin
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-19 14:44 UTC by Marian Petras
Modified: 2009-05-25 11:05 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 11889


Attachments
stacktrace (3.80 KB, text/plain)
2009-05-25 11:05 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2008-03-19 14:44:47 UTC
Build: NetBeans IDE 6.0 RC1 (Build 200711131200)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Linux, 2.6.22-2007.10.28, i386
User comments: Deactivated JBoss module and could not further select any modules to deactive.  Clicking the close button
on the plugins window worked.
After I closed the Plugins dialog and opened it again, it worked.
STACKTRACE: (first 10 lines)
java.lang.IllegalArgumentException: Invalid org.netbeans.modules.j2ee.jboss4 for operation UNINSTALL
        at org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:103)
        at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:262)
        at org.netbeans.modules.autoupdate.ui.Unit$Installed.setMarked(Unit.java:316)
        at org.netbeans.modules.autoupdate.ui.InstalledTableModel.setValueAt(InstalledTableModel.java:132)
        at javax.swing.JTable.setValueAt(JTable.java:2662)
        at javax.swing.JTable.editingStopped(JTable.java:4661)
        at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:125)
        at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:330)
        at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:215)
        at javax.swing.plaf.basic.BasicTableUI$Actions.actionPerformed(BasicTableUI.java:475)
Comment 1 Jiri Rechtacek 2008-03-19 15:42:42 UTC
It's really obsolete build. Try new one NetBeans.
Comment 2 Marian Petras 2008-03-19 15:48:56 UTC
The build I experienced the exception with is TWO HOURS old. Is it obsolete? No, of course.

Just open the above URL and look at the Duplicates section.
Comment 3 Jiri Rechtacek 2008-03-19 15:52:06 UTC
Build: NetBeans IDE 6.0 RC1 (Build 200711131200) isn't obsolete?
Comment 4 Marian Petras 2008-03-19 16:11:13 UTC
It is obsolete. But build 080319 is not obsolete. I reported this exception via the exceptions reporter today and it
happened it today's build. The exception was found to be a duplicate of an already reported exception. Because the
exception was only registered in the exception reporter's database but not in Issuezilla, I filed it to Issuezilla via
the exception reporter's UI. But it only transferred information about the first event the exception occurred. It did
not transfer information about the subsequent occurrences of the same exception - these are only available on the
exception reporter's page (http://statistics.netbeans.org/exceptions/detail.do?id=11889).
Comment 5 Jiri Rechtacek 2008-03-19 16:39:16 UTC
Okay, you broke down me resistance :-) I look on it.
Comment 6 Jiri Rechtacek 2008-03-19 20:18:01 UTC
Marian, sorry for closing the issue as invalid. Because the http://statistics.netbeans.org/analytics had been temporary
out of order I saw only the description with NetBeans IDE 6.0 RC1 (Build 200711131200) what made me upset. Once I saw
your very good and instrumental description I got the real problem in Plugin Manager UI and fix it. Thank you.
http://hg.netbeans.org/core-main/rev/ce494396b0df
Comment 7 Exceptions Reporter 2009-02-11 13:41:35 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 090210)
http://statistics.netbeans.org/exceptions/detail.do?id=11889
Comment 8 dlipin 2009-02-11 13:52:03 UTC

*** This issue has been marked as a duplicate of 134595 ***
Comment 9 Egor Ushakov 2009-05-25 11:05:05 UTC
Build: NetBeans IDE Dev (Build 200905250201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: SunOS, 5.11, x86

User Comments: 
Tried to disable saas plugin

Stacktrace: 
java.lang.IllegalArgumentException: Invalid org.netbeans.modules.websvc.saas.kit for operation UNINSTALL
        at org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:106)
        at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:275)
        at org.netbeans.modules.autoupdate.ui.Unit$Installed.setMarked(Unit.java:311)
        at org.netbeans.modules.autoupdate.ui.InstalledTableModel.setValueAt(InstalledTableModel.java:154)
        at javax.swing.JTable.setValueAt(JTable.java:2719)
        at javax.swing.JTable.editingStopped(JTable.java:4721)
Comment 10 Egor Ushakov 2009-05-25 11:05:16 UTC
Created attachment 82724 [details]
stacktrace