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 202619

Summary: org.netbeans.installer.utils.exceptions.UninstallationException: failed to stop the default domain
Product: installer Reporter: rrhegde
Component: CodeAssignee: Libor Fischmeistr <lfischmeistr>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: nbi log
.nbi log 2
log as text/plain

Description rrhegde 2011-09-25 01:20:00 UTC
I installed NB IDE 7.1 Beta on my ubuntu 11.4 and works for a day and tried to uninstall it for installing nightly build. i got this exception when uninstall

Error

An Unknown error occured

Exception
org.netbeans.installer.utils.exceptions.UninstallationException: failed to stop the default domain
Comment 1 rrhegde 2011-09-25 01:22:17 UTC
Created attachment 111148 [details]
nbi log
Comment 2 rrhegde 2011-09-25 01:23:08 UTC
Created attachment 111149 [details]
.nbi log 2
Comment 3 Petr Cyhelsky 2011-09-26 08:15:31 UTC
Seems to be caused by glassfish, reassigning
Comment 4 Vince Kraemer 2011-10-26 17:53:08 UTC
Created attachment 112472 [details]
log as text/plain
Comment 5 Vince Kraemer 2011-10-26 18:08:36 UTC
It looks like the installer/uninstaller deletes the file asadmin before it tries to execute it...

see the line labeled '2011-09-24 19:13:44.769' of http://netbeans.org/bugzilla/attachment.cgi?id=112472...
Comment 6 Libor Fischmeistr 2012-05-30 12:00:00 UTC
Vince you are right unistaller deleted asadmin before running. That was caused by selecting option "Delete NetBeans installation folder".

I think the biggest mistake is to install GF into NB installation folder. These are two different applications and should be installed into separated installation  folder.

We are planning to fix it in future. Installation GF into NB folder will be forbidden.

Thank you for your report, it help us realize this issue.
Comment 7 Libor Fischmeistr 2013-01-28 12:55:40 UTC
Fixed in changesest: http://hg.netbeans.org/core-main/rev/1485ed0be050

Now you cannot install GF into NB installation folder.
Comment 8 Quality Engineering 2013-01-29 03:28:59 UTC
Integrated into 'main-golden', will be available in build *201301290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1485ed0be050
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #202619: org.netbeans.installer.utils.exceptions.UninstallationException: failed to stop the default domain