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 170812 - IllegalArgumentException: Invalid org.netbeans.modules.hibernateweb for operation UPDATE
Summary: IllegalArgumentException: Invalid org.netbeans.modules.hibernateweb for opera...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: dlipin
URL: http://statistics.netbeans.org/except...
Keywords: REGRESSION
Depends on:
Blocks: 141714
  Show dependency tree
 
Reported: 2009-08-24 15:03 UTC by Jesse Glick
Modified: 2009-08-26 06:40 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 156658


Attachments
stacktrace (4.99 KB, text/plain)
2009-08-24 15:04 UTC, Jesse Glick
Details
stacktrace (1.09 KB, text/plain)
2009-08-25 00:59 UTC, athompson
Details
stacktrace (1.09 KB, text/plain)
2009-08-25 15:17 UTC, Tomas Danek
Details
stacktrace (4.19 KB, text/plain)
2009-08-25 20:06 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2009-08-24 15:03:55 UTC
Build: NetBeans IDE Dev (Build 090824)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.28-15-generic, i386

User Comments:
jglick: Automatic Projects Web offered as an update. This is not a visible module (eager), and I don't even have it installed (have no EE support installed).



Stacktrace: 
java.lang.IllegalArgumentException: Invalid org.netbeans.modules.hibernateweb for operation UPDATE
        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.ui.wizards.OperationWizardModel.getVisibleUpdateElements(OperationWizardModel.java:318)
        at org.netbeans.modules.autoupdate.ui.wizards.OperationWizardModel.getPrimaryVisibleUpdateElements(OperationWizardModel.java:270)
        at org.netbeans.modules.autoupdate.ui.wizards.OperationDescriptionStep.getComponent(OperationDescriptionStep.java:162)
Comment 1 Jesse Glick 2009-08-24 15:04:18 UTC
Created attachment 86566 [details]
stacktrace
Comment 2 Jesse Glick 2009-08-24 15:08:21 UTC
Updates tab shows

---%<---
Automatic Projects for Web
----
Installed version:1.0
Available version:1.3
Date: 8/24/09
Source: Latest Development Build
Homepage: http://www.netbeans.org/   
Internal Updates
    J2EE Deployment and Management APIs new! [1.12] 
    Java EE Server Registry new! [1.60.0.1] 
    Java EE Core APIs new! [1.1] 
    J2EE DD API new! [1.14.0.2] 
    Web APIs new! [1.15] 
    Hibernate Web new! [1.2] 
    JavaScript Debugger Ant Task new! [0.8]
---%<---

Again, this is an eager module and I have no EE support installed, so AU should not be displaying this module or its
dependencies at all. Looks like a regression caused by issue #141714.
Comment 3 athompson 2009-08-25 00:59:09 UTC
Build: NetBeans IDE Dev (Build 200908210201)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.31-6-generic, amd64

User Comments: 
attempting to update a plugin

Stacktrace: 
java.lang.IllegalArgumentException: Invalid org.netbeans.modules.j2eeapis for operation UPDATE
        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.ui.wizards.OperationWizardModel.getVisibleUpdateElements(OperationWizardModel.java:318)
        at org.netbeans.modules.autoupdate.ui.wizards.OperationWizardModel.getRequiredVisibleUpdateElements(OperationWizardModel.java:275)
        at org.netbeans.modules.autoupdate.ui.wizards.OperationDescriptionStep$1.run(OperationDescriptionStep.java:196)
Comment 4 athompson 2009-08-25 00:59:13 UTC
Created attachment 86595 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-08-25 00:59:17 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=156658
Comment 6 Exceptions Reporter 2009-08-25 08:54:20 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=156658
Comment 7 Exceptions Reporter 2009-08-25 09:20:26 UTC
This issue already has 11 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=156658
Comment 8 dlipin 2009-08-25 14:43:07 UTC
Jesse, can I get somewhere the Automatic Projects modules (nbms) in binary form rather than compile them from sources?
Could you please attach it to the issue? Thanks.
Comment 9 dlipin 2009-08-25 15:02:57 UTC
Nevermind, I compiled them from contrib it by myself.
Comment 10 Tomas Danek 2009-08-25 15:17:30 UTC
Build: NetBeans IDE Dev (Build 090824)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.8, x86_64

User Comments: 
Tried to upgrade via update icon

Stacktrace: 
java.lang.IllegalArgumentException: Invalid org.netbeans.modules.j2eeapis for operation UPDATE
        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.ui.wizards.OperationWizardModel.getVisibleUpdateElements(OperationWizardModel.java:318)
        at org.netbeans.modules.autoupdate.ui.wizards.OperationWizardModel.getRequiredVisibleUpdateElements(OperationWizardModel.java:275)
        at org.netbeans.modules.autoupdate.ui.wizards.OperationDescriptionStep$1.run(OperationDescriptionStep.java:196)
Comment 11 Tomas Danek 2009-08-25 15:17:34 UTC
Created attachment 86632 [details]
stacktrace
Comment 12 Exceptions Reporter 2009-08-25 15:17:39 UTC
This issue already has 21 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=156658
Comment 13 Exceptions Reporter 2009-08-25 15:18:35 UTC
This issue already has 21 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=156658
Comment 14 dlipin 2009-08-25 15:27:32 UTC
The original exception should be fixed in core-main#8f6db975b5ef

Erroneous installation (during update) of not installed modules like J2EE* ones in this case will be fixed later by a 
separate commit.
Comment 15 athompson 2009-08-25 15:53:29 UTC
dlipin, do you have an issue number for the erroneous installation problem?
Comment 16 dlipin 2009-08-25 16:22:03 UTC
that is Issue 170881
Comment 17 athompson 2009-08-25 16:47:09 UTC
thanks!
Comment 18 Jaroslav Tulach 2009-08-25 20:06:34 UTC
Build: NetBeans IDE Dev (Build 090712)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.24.7-laptop-1mnb, i386

User Comments: 


Stacktrace: 
java.lang.IllegalArgumentException: Invalid org.netbeans.modules.cnd.tha for operation UPDATE
        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.ui.wizards.OperationWizardModel.getVisibleUpdateElements(OperationWizardModel.java:318)
        at org.netbeans.modules.autoupdate.ui.wizards.OperationWizardModel.getPrimaryVisibleUpdateElements(OperationWizardModel.java:270)
        at org.netbeans.modules.autoupdate.ui.wizards.OperationDescriptionStep.getComponent(OperationDescriptionStep.java:162)
Comment 19 Jaroslav Tulach 2009-08-25 20:06:39 UTC
Created attachment 86652 [details]
stacktrace
Comment 20 Quality Engineering 2009-08-26 06:40:13 UTC
Integrated into 'main-golden', will be available in build *200908260201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8f6db975b5ef
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #170812 IllegalArgumentException: Invalid org.netbeans.modules.hibernateweb for operation UPDATE