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 101209

Summary: Uninstall does not work
Product: installer Reporter: tonybeckham <tonybeckham>
Component: NBIAssignee: Kirill Sorokin <ksorokin>
Status: VERIFIED FIXED    
Severity: blocker CC: hong_lin
Priority: P1    
Version: 6.x   
Hardware: Other   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Terminal output of uninstall that does not really uninstall
uninstallation log file with Exceptions.
Mac Uninstall Log with exception
error msg

Description tonybeckham 2007-04-16 18:52:46 UTC
System Info:
Mac OS X Intel
Java 1.5.0_07

When I use the installer to uninstall the IDE and SOA tools pack the uninstaller
runs and completes in just one second and nothing was uninstalled.  To
workaround I run the uninstaller (uninstall.command) found in the glassfish
directory, this removes GF and SOA tools, then I run the uninstall.command found
in the netbeans directory to remove the IDE.
Comment 1 tonybeckham 2007-04-16 19:03:20 UTC
Created attachment 41001 [details]
Terminal output of uninstall that does not really uninstall
Comment 2 _ hong_lin 2007-04-16 19:56:37 UTC
When I used "Add or Remove Programs" to remove the "Base IDE", I got many
Unknown Exceptions, please see attached log file 20070416113309.log for more detail.

glassfish did not get uninstalled. 

My build is 200704160626.

Comment 3 _ hong_lin 2007-04-16 19:58:21 UTC
Created attachment 41009 [details]
uninstallation log file with Exceptions.
Comment 4 tonybeckham 2007-04-16 20:02:22 UTC
The original issue was using installer build 20070412 and the few days prior
builds.  Using the latest installer,
netbeans-6.0-nightly-200704161405-full-macosx-x86.command the uninstall does
actually work but there there is a NPE execption during uninstall.

System info:
NetBeans IDE Dev (Build 070416)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
Mac OS X version 10.4.9 running on i386
en_US (nb); MacRoman

Comment 5 tonybeckham 2007-04-16 20:04:59 UTC
Created attachment 41010 [details]
Mac Uninstall Log with exception
Comment 6 Sherry Barkodar 2007-04-16 22:41:43 UTC
when I uninstall from the control panel I get the following Error msg:
an unknown error occured.
attached is the screenshot.
Comment 7 Sherry Barkodar 2007-04-16 22:43:31 UTC
Created attachment 41016 [details]
error msg
Comment 8 Kirill Sorokin 2007-04-18 14:22:56 UTC
Some fixes were applied to the uninstallation procedure. After that I cannot
reproduce the described behavior, hence I assume the issue was resolved as part
of these cheanges. Please reopen if still reproducible.

-> FIXED
Comment 9 tonybeckham 2007-04-18 18:15:05 UTC
NetBeans IDE Dev (Build 070418)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
Mac OS X version 10.4.9 running on i386
en_US (nb); MacRoman

I am now able to use the NBI to uninstall with the build listed above without
errors.  Marking issue as VERIFIED.