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 86573 - IOException after attempt to uninstall uml module
Summary: IOException after attempt to uninstall uml module
Status: VERIFIED WORKSFORME
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-05 13:23 UTC by Andrew Korostelev
Modified: 2006-10-12 10:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.AssertionError: Waring: IOException (777 bytes, application/octet-stream)
2006-10-05 13:24 UTC, Andrew Korostelev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Korostelev 2006-10-05 13:23:58 UTC
If user uninstalls uml module, IOException is rised.

Steps used to reproduce:
- install NB Qbuild netbeans-5_5-qbuild-bin-200609062200-windows-6_Sep_2006_2200.exe
- Install uml through UpdateCenter
 (I have installed manually downloaded all-nbms-griffin-061005.zip)
- after installation is finished, restart ide.
- open Module Manager and uninstall 'UML' module.

The follwong error rises:
java.lang.AssertionError: Waring: IOException  Cannot delete file
org-netbeans-modules-uml.jar in C:/Program Files/netbeans-5.5dev/nb5.5/modules.
was caught. Propably file lock on the file.
Comment 1 Andrew Korostelev 2006-10-05 13:24:24 UTC
Created attachment 34919 [details]
java.lang.AssertionError: Waring: IOException
Comment 2 Andrew Korostelev 2006-10-05 13:49:56 UTC
uml module was installed as global (all 'global' checkboxes were selected)
Comment 3 George Vasick 2006-10-06 16:38:17 UTC
Potential showstopper for beta if reproducible.
Comment 4 Yang Su 2006-10-06 21:36:41 UTC
Could it be possible that, after restarting, IDE had not yet completely loaded
all modules before you tried to uninstall uml? The lock message seems to suggest
that, and I tried to immediately uninstall uml right after IDE comes up before
all uml modules  are loaded, some "file not found" exceptions were logged and
some jars were not removed. The jar files left behind from failed uninstallation
seem random.

If this is the case to reproduce the issue we probably don't have to worry about
it as it's unlikey users will experience this problem in normal situation.
Comment 5 Yang Su 2006-10-11 18:44:12 UTC
Feel free to re-open it if you ever encounter it again.
Comment 6 Andrew Korostelev 2006-10-12 10:36:46 UTC
problem investigation shown that bug was reproducible with q-builds older then
RC1  only. 
While uml is going to support nb5.5rc1 or newer versions, this bug is not actual
anymore.