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 99339 - java.lang.IllegalArgumentException when closing Install wizard by x-widget
Summary: java.lang.IllegalArgumentException when closing Install wizard by x-widget
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks: 89627
  Show dependency tree
 
Reported: 2007-03-29 07:40 UTC by Jaromir Uhrik
Modified: 2007-04-18 16:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Messages.log attached... (812.13 KB, text/plain)
2007-03-29 07:52 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-03-29 07:40:41 UTC
1.Go to Tools | Plugin Manager
2.Select New Plugins tab
3.In Maven category setSelected checkbox of "Maven plugins debugger bridge"
4.Push 'Install' button
5.Push 'Next' button
6.Push 'Next' button 
7.Accept license and push 'Install' button
8.Close install wizard by x-widget and following exception appears:
java.lang.IllegalArgumentException: org.codehaus.mevenide.bridges.debugger
at
org.netbeans.modules.autoupdate.services.OperationContainerImpl.add(OperationContainerImpl.java:55)
	at org.netbeans.api.autoupdate.OperationContainer.add(OperationContainer.java:97)
	at
org.netbeans.modules.autoupdate.ui.Utilities.getRequiredElements(Utilities.java:179)
	at
org.netbeans.modules.autoupdate.ui.UpdateDisplayName.<init>(UpdateDisplayName.java:48)
	at
org.netbeans.modules.autoupdate.ui.UnitTable$AvailableTableDisplayNameRenderer.getTableCellRendererComponent(UnitTable.java:278)
	at javax.swing.JTable.prepareRenderer(JTable.java:3924)
...
Comment 1 Jaromir Uhrik 2007-03-29 07:52:00 UTC
Created attachment 40121 [details]
Messages.log attached...
Comment 2 Jaromir Uhrik 2007-03-29 07:56:05 UTC
Raising to P1 because the loop of exceptions appears and it's hard to get rid of it.
Comment 3 rmatous 2007-03-29 09:45:05 UTC
First fix:
/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/wizards/Attic/UninstallStep.java,v
 <--  UninstallStep.java
new revision: 1.1.2.4; previous revision: 1.1.2.3

/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/wizards/Attic/InstallUnitWizardModel.java,v
 <--  InstallUnitWizardModel.java
new revision: 1.1.2.13; previous revision: 1.1.2.12

/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/wizards/Attic/InstallStep.java,v
 <--  InstallStep.java
new revision: 1.1.2.6; previous revision: 1.1.2.5

/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/Attic/InstalledPluginColumn.java,v
 <--  InstalledPluginColumn.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
Comment 4 rmatous 2007-03-29 10:18:01 UTC
Next fix:
/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/Attic/Utilities.java,v
 <--  Utilities.java
new revision: 1.1.2.14; previous revision: 1.1.2.13

/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/Attic/PluginColumn.java,v
 <--  PluginColumn.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
Comment 5 rmatous 2007-03-29 10:20:13 UTC
cancel -handling
/cvs/autoupdate/services/src/org/netbeans/modules/autoupdate/services/Attic/InstallSupportImpl.java,v
 <--  InstallSupportImpl.java
new revision: 1.1.2.17; previous revision: 1.1.2.16
Comment 6 rmatous 2007-03-29 10:21:21 UTC
cancelling by x-widget is still not fixed - Jirka, please look at it
Comment 7 rmatous 2007-03-29 10:28:03 UTC
P3 now, I think
Comment 8 Jiri Rechtacek 2007-04-18 16:30:00 UTC
I cannot reproduce it, I guess Radek fixed it a few days ago.