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 - org.netbeans.installer.utils.exceptions.UninstallationException: failed to stop the default domain
Summary: org.netbeans.installer.utils.exceptions.UninstallationException: failed to st...
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-25 01:20 UTC by rrhegde
Modified: 2013-02-04 12:36 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
nbi log (4.75 MB, text/x-log)
2011-09-25 01:22 UTC, rrhegde
Details
.nbi log 2 (1.47 MB, text/x-log)
2011-09-25 01:23 UTC, rrhegde
Details
log as text/plain (1.47 MB, text/plain)
2011-10-26 17:53 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
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