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 119882 - IllegalArgumentException: Invalid org.netbeans.modules.xml.xdm for operation UNINSTALL
Summary: IllegalArgumentException: Invalid org.netbeans.modules.xml.xdm for operation ...
Status: RESOLVED DUPLICATE of bug 134595
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: 2007-10-24 10:57 UTC by Jaromir Uhrik
Modified: 2008-11-19 12:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 1828


Attachments
stacktrace (845 bytes, text/plain)
2007-10-24 10:57 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2007-10-24 10:57:48 UTC
Build: NetBeans IDE Dev (Build 200710231200)
VM: Java HotSpot(TM) Client VM, 1.5.0_07-87
OS: Mac OS X, 10.4.10, i386

User Comments: 
Installed Web&JavaEE category to j2se-build installed from installer, then uninstalled it => Exception dialog appeared.
Comment 1 Jaromir Uhrik 2007-10-24 10:57:52 UTC
Created attachment 51559 [details]
stacktrace
Comment 2 Jiri Rechtacek 2007-10-25 11:21:23 UTC
Checking in ModuleDeleterImpl.java;
/shared/data/ccvs/repository/autoupdate/services/src/org/netbeans/modules/autoupdate/services/ModuleDeleterImpl.java,v 
<--  ModuleDeleterImpl.java
new revision: 1.13; previous revision: 1.12
done
Checking in OperationValidator.java;
/shared/data/ccvs/repository/autoupdate/services/src/org/netbeans/modules/autoupdate/services/OperationValidator.java,v
 <--  OperationValidator.java
new revision: 1.19; previous revision: 1.18
done
Comment 3 damian_nb 2007-11-09 21:30:23 UTC
not fixed, see
http://statistics.netbeans.org/exceptions/detail.do?id=1828

reproduced with RC1
Comment 4 Jiri Rechtacek 2007-11-10 08:41:40 UTC
The URL links to exception thrown in NetBeans IDE Dev (Build 200708211200). Where is the report from RC1? Damian,
please, attach your steps to reproduce. Thanks
Comment 5 damian_nb 2007-11-10 09:01:28 UTC
this should be stacktrace from RN1 because I got it in RC1 - if you see that log is marked as beta 2 maybe because I had
profile ~/.netbeans/6.0beta2 which was migrated somehow to 6.0rc1 (?)

steps to reproduce:
- run RC1 (clean version, no profile has been created yet)
- goto plugins dialog
- deactivate (without restarting) following plugins: NB plugin dev, profiler, persistence with gui builder, cvs,
subversion, database
  -> the last plugin was not successfuly deactivated due the error, dialog stuck

what I found out was that after restart database was not deactivated (which was the result of the error) but also cvs
and subversion were active which was strange for me

Previously with beta 2 I also tried to deactivate the same plugins and then got exception which was fixed, this time I
have another exception but the scenario is exacly the same
Comment 6 Jiri Rechtacek 2007-11-10 09:42:48 UTC
I tried to reproduce on this build and uninstall all plugins step by step w/o restart and no exceptions were thrown.
After restart all demanded plugins was away, Database incl.

  Product Version         = NetBeans IDE 6.0 RC1 (Build 200711091200)
  Operating System        = Linux version 2.6.22-14-generic running on i386
  Java; VM; Vendor        = 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b05; Sun Microsystems Inc.
  Java Home               = /usr/local/share/java/jdk1.6.0_05/jre
  System Locale; Encoding = en_US (nb); UTF-8
  Home Directory          = /space/home/jirka
  Current Directory       = /space/home/jirka
  User Directory          = /tmp/xdemo
  Installation            = /tmp/netbeans/nb6.0
                            /tmp/netbeans/ide8
                            /tmp/netbeans/java1
                            /tmp/netbeans/xml1
                            /tmp/netbeans/apisupport1
                            /tmp/netbeans/enterprise4
                            /tmp/netbeans/mobility8
                            /tmp/netbeans/profiler2
                            /tmp/netbeans/ruby1
                            /tmp/netbeans/visualweb1
                            /tmp/netbeans/soa1
                            /tmp/netbeans/identity1
                            /tmp/netbeans/uml4
                            /tmp/netbeans/harness
                            /tmp/netbeans/cnd1
                            /tmp/netbeans/platform7
Comment 7 Jiri Rechtacek 2008-03-26 11:28:13 UTC
Still worksforme in NB6.1
Comment 8 Exceptions Reporter 2008-10-11 08:18:46 UTC
Reopening - reproduced in NetBeans IDE 6.5 Beta (Build 200808111757)
http://statistics.netbeans.org/exceptions/detail.do?id=126605
Comment 9 Antonin Nebuzelsky 2008-11-14 15:31:21 UTC
Reassigning to the new "autoupdate/*" owner dlipin.
Comment 10 dlipin 2008-11-19 12:16:36 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 ***