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.
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.
Created attachment 34919 [details] java.lang.AssertionError: Waring: IOException
uml module was installed as global (all 'global' checkboxes were selected)
Potential showstopper for beta if reproducible.
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.
Feel free to re-open it if you ever encounter it again.
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.