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 106024 - IllegalStateException while deactivaling uml plugin
Summary: IllegalStateException while deactivaling uml plugin
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-06-07 15:18 UTC by Andrew Korostelev
Modified: 2007-09-14 00:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IllegalStateException (2.45 KB, application/octet-stream)
2007-06-07 15:19 UTC, Andrew Korostelev
Details
ide log file (92.03 KB, text/plain)
2007-06-08 00:16 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Korostelev 2007-06-07 15:18:44 UTC
steps:
- start IDE
- create uml project with default diagram
- save all.
- open Plugin Manager using 'Tools | Plugins'. Go to 'Installed' tab.
- Select 'UML' in plugins list
- click on 'Deactivate' button in plugin description area on the right.
- click 'Deactivate' in opened 'NetBeans Ide Installer' dialog.

IllegalStateException will rise.
Comment 1 Andrew Korostelev 2007-06-07 15:19:19 UTC
Created attachment 43389 [details]
IllegalStateException
Comment 2 Peter Lam 2007-06-08 00:16:19 UTC
When the UML module is activated again after it's deactivated, the following
exception was popped up in the exception dialog. See attached ide log for
complete exception detail.

java.io.IOException: Top component documentation could not be loaded, either
owning module was disabled, has incompatible version or top components settings
file format is broken.
	at
org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentPersistentForID(PersistenceManager.java:496)
	at
org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentForID(PersistenceManager.java:587)
	at
org.netbeans.core.windows.PersistenceHandler.getTopComponentForID(PersistenceHandler.java:392)
	at
org.netbeans.core.windows.PersistenceHandler.topComponentRefConfigAdded(PersistenceHandler.java:768)
	at
org.netbeans.core.windows.persistence.ModuleChangeHandler$3.run(ModuleChangeHandler.java:331)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
	at java.awt.Dialog$1.run(Dialog.java:1039)
	at java.awt.Dialog$3.run(Dialog.java:1091)
	at java.security.AccessController.doPrivileged(Native Method)
Comment 3 Peter Lam 2007-06-08 00:16:59 UTC
Created attachment 43425 [details]
ide log file
Comment 4 Yang Su 2007-07-06 20:08:52 UTC
fixed
Comment 5 Peter Lam 2007-09-14 00:05:25 UTC
this issue has already been verified in beta 1.