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 15318 - Cannot start the IDE after disabling a module
Summary: Cannot start the IDE after disabling a module
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-10 12:19 UTC by Petr Nejedly
Modified: 2008-12-23 09:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Two exceptions, one on shutdown, one fatal on startup. (3.42 KB, text/plain)
2001-09-10 12:26 UTC, Petr Nejedly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nejedly 2001-09-10 12:19:14 UTC
Steps to reproduce:
1. Start up the IDE against clean userdir
2. Switch to Visual, move explorer, swith back to editing
3. Restart the IDE
4. Disable form module
5. Shutdown the IDE - here is thrown first exception
6. Try to start the IDE again:
uncaught MissingResourceException is thrown in the main thread,
which causes the IDE to abort initialization and hang.

I'll attach the exceptions
Comment 1 Petr Nejedly 2001-09-10 12:26:18 UTC
Created attachment 2472 [details]
Two exceptions, one on shutdown, one fatal on startup.
Comment 2 David Simonek 2001-09-10 12:35:38 UTC
fix: try catch MissingResourceException and log it, because it could
happen possibly anytime, for example when some module will provide
wrong winsys layout xml.
Comment 3 mslama 2001-09-10 15:14:03 UTC
Fixed in package org.netbeans.core.windows classes ModeImpl, 
WorkspaceImpl in method getDisplayName() added try/catch block.
Comment 4 Petr Nejedly 2001-09-10 17:10:39 UTC
Verified
Comment 5 Quality Engineering 2003-07-01 16:28:10 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.