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 23042 - Disabling the Form Editor module cause exception at every startup
Summary: Disabling the Form Editor module cause exception at every startup
Status: CLOSED DUPLICATE of bug 25092
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
: 25061 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-02 11:48 UTC by Richard Malaschitz
Modified: 2008-12-23 10:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Malaschitz 2002-05-02 11:48:43 UTC
Bug was moved from Bugtraq: #4677939 (Submitter: vince.kraemer@sun.com)

Here is the exception:

java.util.MissingResourceException: Can't find bundle for base name 
org.netbeans.modules.form.Bundle, locale en
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
        at org.openide.util.NbBundle.getBundle(NbBundle.java:337)
        at org.openide.util.NbBundle.getBundle(NbBundle.java:272)
        at org.netbeans.core.windows.WorkspaceImpl.getDisplayName(WorkspaceImpl.java:232)
        at org.netbeans.core.windows.WorkspaceSwitcher.addNew(WorkspaceSwitcher.java:251)
        at org.netbeans.core.windows.WorkspaceSwitcher.<init>(WorkspaceSwitcher.java:83)
        at org.netbeans.core.windows.MainWindow.showWindow(MainWindow.java:195)
        at org.netbeans.core.Main.initializeMainWindow(Main.java:291)
        at org.netbeans.core.NonGui.run(NonGui.java:578)
        at org.netbeans.core.Main.run(Main.java:213)
        at org.openide.TopManager.initializeTopManager(TopManager.java:120)
        at org.openide.TopManager.getDefault(TopManager.java:81)
        at org.netbeans.core.Main.main(Main.java:346)
        at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:87)
        at java.lang.Thread.run(Thread.java:536)
Comment 1 Richard Malaschitz 2002-05-02 12:27:55 UTC
I am not able reproduce this exception. But I found similar behaviour: 
* disable form module
* restart IDE
* Now, enable module throws exception (and name for GuiEditing Workspace is wrong - after restart IDE 
is name for GUI editing all right):

java.util.MissingResourceException: Can't find bundle for base name org.netbeans.modules.form.Bundle, 
locale en_US
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:694)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
        at org.openide.util.NbBundle.getBundle(NbBundle.java:337)
        at org.openide.util.NbBundle.getBundle(NbBundle.java:272)
        at org.netbeans.core.windows.WorkspaceImpl.getDisplayName(WorkspaceImpl.java:232)
        at org.netbeans.core.windows.WorkspaceSwitcher.addNew(WorkspaceSwitcher.java:251)
        at org.netbeans.core.windows.WorkspaceSwitcher.propChange(WorkspaceSwitcher.java:180)
        at org.netbeans.core.windows.WorkspaceSwitcher.access$000(WorkspaceSwitcher.java:46)
        at org.netbeans.core.windows.WorkspaceSwitcher$1.run(WorkspaceSwitcher.java:125)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Comment 2 Tomas Pavek 2002-05-02 18:25:21 UTC
> Can't find bundle for base name
>                         org.netbeans.modules.form.Bundle

Well, if form module is uninstalled...

I guess window system should do something this.
Comment 3 Marian Mirilovic 2002-05-03 08:58:01 UTC
reassigne
Comment 4 _ ttran 2002-06-14 12:51:24 UTC
-> ttran
Comment 5 _ ttran 2002-06-14 14:53:11 UTC
it works fine now in NB 3.4 dev builds
Comment 6 Tomas Pavek 2002-06-24 13:51:02 UTC
*** Issue 25061 has been marked as a duplicate of this issue. ***
Comment 7 Tomas Pavek 2002-06-24 13:53:40 UTC
It does not seem to work fine - see issue 25061 reported 
against build 20020621.
Comment 8 _ ttran 2002-06-25 08:01:39 UTC
window system folks, please make sure that deserialization of TC can
deal with the situation when the bundle is gone (module has been
uninstalled).  The question of course is what text to use then because
 uninstalling  a module does not necessarily mean deleting a
workspace.  I suggest we cache the localized workspace name and use it
in such a situation
Comment 9 mslama 2002-06-25 08:51:32 UTC
Sometimes when Form Editor is disabled GUI Editing workspace is not
removed as it should because it is defined in Form Editor module
layer. It seems it is problem of data system. I filed issue #25092.

*** This issue has been marked as a duplicate of 25092 ***
Comment 10 Quality Engineering 2003-07-01 15:50:51 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 11 Quality Engineering 2003-07-01 16:13:42 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 12 Jan Chalupa 2003-11-03 10:42:47 UTC
A CLOSED issue mistakenly moved into a NEW state... closing again (step 1).
Comment 13 Jan Chalupa 2003-11-03 11:58:33 UTC
x
Comment 14 Jan Chalupa 2003-11-03 11:58:59 UTC

*** This issue has been marked as a duplicate of 25092 ***
Comment 15 Jan Chalupa 2003-11-03 11:59:13 UTC
Closing again.