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 99341

Summary: Cancelation of installer causes AssertionError
Product: platform Reporter: Jaromir Uhrik <juhrik>
Component: AutoupdateAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: blocker CC: rmatous
Priority: P3 Keywords: RANDOM
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 89627    
Attachments: next assertion

Description Jaromir Uhrik 2007-03-29 08:13:21 UTC
[Build of 070327]
Try to install Tools|Ant 1.7.0 Documentation. During the phase oof downloading
(when the progress bar is somewhere in its half) push Cancel button. The
following exception in Exception dialog appears then:

java.lang.NullPointerException
	at
org.netbeans.modules.autoupdate.ui.wizards.InstallStep.handleValidation(InstallStep.java:166)
	at
org.netbeans.modules.autoupdate.ui.wizards.InstallStep.doDownloadAndVerificationAndInstall(InstallStep.java:106)
	at
org.netbeans.modules.autoupdate.ui.wizards.InstallStep.access$000(InstallStep.java:52)
	at
org.netbeans.modules.autoupdate.ui.wizards.InstallStep$1.propertyChange(InstallStep.java:91)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
	at java.awt.Component.firePropertyChange(Component.java:7225)
	at
org.netbeans.modules.autoupdate.ui.wizards.InstallPanel.access$000(InstallPanel.java:37)
	at
org.netbeans.modules.autoupdate.ui.wizards.InstallPanel$1.run(InstallPanel.java:47)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)
Comment 1 rmatous 2007-03-29 11:13:23 UTC
Created attachment 40130 [details]
next assertion
Comment 2 rmatous 2007-03-29 11:14:17 UTC
/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/Attic/Unit.java,v  <--
 Unit.java
new revision: 1.1.2.17; previous revision: 1.1.2.16
Comment 3 rmatous 2007-03-29 11:15:36 UTC
Jirka, please evaluate the next attachment. You must repeat the cancelation many
times to get this assertion.
Comment 4 rmatous 2007-04-10 17:02:22 UTC
/cvs/autoupdate/services/src/org/netbeans/modules/autoupdate/services/Attic/OperationContainerImpl.java,v
 new revision: 1.1.2.25; previous revision: 1.1.2.24

/cvs/autoupdate/services/src/org/netbeans/modules/autoupdate/services/Attic/InstallSupportImpl.java,v
 new revision: 1.1.2.27; previous revision: 1.1.2.26

/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/wizards/Attic/InstallStep.java,v
 new revision: 1.1.2.15; previous revision: 1.1.2.14

/cvs/autoupdate/ui/src/org/netbeans/modules/autoupdate/ui/Attic/UnitTab.java,v 
new revision: 1.1.2.27; previous revision: 1.1.2.26