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 172025 - IllegalArgumentException: Java Web and EE[fod.org.netbeans.modules.j2ee.kit/1.4] and Java Web and EE[fod.org.netbeans.modules.j2ee.kit/1.4] must be same for operation UNINSTALL
Summary: IllegalArgumentException: Java Web and EE[fod.org.netbeans.modules.j2ee.kit/1...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: dlipin
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 12:18 UTC by marcosfadul
Modified: 2009-09-18 22:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 158300


Attachments
stacktrace (2.78 KB, text/plain)
2009-09-11 12:18 UTC, marcosfadul
Details
stacktrace (3.82 KB, text/plain)
2009-09-11 14:25 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marcosfadul 2009-09-11 12:18:46 UTC
This issue was originally marked as duplicate of issue 134595, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200909081533)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments:
GUEST: managing plugins

jkovalsky: I was playing with XSLT Debugger plugin [1]. Later I decided to first deactivate it and then changed my mind and I wanted to uninstall it completely.

[1] http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=17747

marcosfadul: Activating plugins. Just after install, go to plugins->installed, mark Java Web and EE. Then comes the error

mpetras: 1) started a just-built new dev. build of NetBeans (080319) with an empty user directory
2) in the Platforms dialog, I added platform JDK 1.5.0_14
3) in the Plugins dialog:
4) deactivated the Subversion plugin (selected with mouse, clicked on the Deactivate button, finished deactivation without restart)
5) deactivated plugins Task List and Registration (using the same steps)
6) pressed the down arrow key on the keyboard to select plugin "Local History"

The exception was thrown. Selecting the Local History plugin with the mouse produces the same result (an exception).



Stacktrace: 
java.lang.IllegalArgumentException: Java Web and EE[fod.org.netbeans.modules.j2ee.kit/1.4] and Java Web and EE[fod.org.netbeans.modules.j2ee.kit/1.4] must be same for operation UNINSTALL
        at org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:124)
        at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:287)
        at org.netbeans.modules.autoupdate.ui.Unit$Installed.setMarked(Unit.java:328)
        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 1 marcosfadul 2009-09-11 12:18:52 UTC
Created attachment 87495 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-09-11 12:18:57 UTC
This issue already has 11 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=158300
Comment 3 Tomas Danek 2009-09-11 14:25:23 UTC
This issue was originally marked as duplicate of issue 134595, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 090911)
VM: Java HotSpot(TM) Client VM, 1.5.0_20-141, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_20-b02-315
OS: Mac OS X, 10.5.8, i386

User Comments: 
deactivated java, chose restarrt later, and checked Java checkbox again

Stacktrace: 
java.lang.IllegalArgumentException: Java SE[fod.org.netbeans.modules.java.kit/1.5] is scheduled for restart IDE.
        at org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:113)
        at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:287)
        at org.netbeans.modules.autoupdate.ui.Unit$Installed.setMarked(Unit.java:334)
        at org.netbeans.modules.autoupdate.ui.InstalledTableModel.setValueAt(InstalledTableModel.java:154)
        at javax.swing.JTable.setValueAt(JTable.java:1926)
        at javax.swing.JTable.editingStopped(JTable.java:3339)
Comment 4 Tomas Danek 2009-09-11 14:25:27 UTC
Created attachment 87504 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-09-11 14:25:33 UTC
This issue already has 12 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=158300
Comment 6 dlipin 2009-09-16 17:04:17 UTC
core-main #5bdf84c9a223
Comment 7 Quality Engineering 2009-09-18 22:35:46 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5bdf84c9a223
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #172025 IllegalArgumentException: Java Web and EE[fod.org.netbeans.modules.j2ee.kit/1.4] and Java Web and EE[fod.org.netbeans.modules.j2ee.kit/1.4] must be same for operation UNINSTALL