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 14321 - MissingResourceException when attempting to open properties
Summary: MissingResourceException when attempting to open properties
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-10 10:01 UTC by Martin Balin
Modified: 2003-07-01 14:20 UTC (History)
0 users

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 Martin Balin 2001-08-10 10:01:08 UTC
[build 08100740, JDK 1.3.1]

Every first attempt to open Properties window throws exception
MissingResourceExc. When you dismiss the window then properties can be opened
for second time. If you do the same for different locale then behavior is same:
exception and for 2nd time window is opened
Steps to reproduce:
1. Create new locale for properties file in MemoryView.
2. Open default locale -> exception is thrown. Close Exc. window.
3. Open default locale. It is opened.
4. Try to open newly created locale -> Exception is thrown, dismiss it.
5. Open newly created locale. It is opened.

You can repeat those steps and behavior is same.

Stack trace:
Fri Aug 10 10:50:55 CEST 2001: java.util.MissingResourceException: Missing
resource from class: java.util.PropertyResourceBundle
Annotation: Missing resource from class: java.util.PropertyResourceBundle
Annotation: Key which was not found: LAB_EditorName_Uptodate
java.util.MissingResourceException: Can't find resource for bundle
java.util.PropertyResourceBundle, key LAB_EditorName_Uptodate
        at java.util.ResourceBundle.getObject(ResourceBundle.java:382)
        at java.util.ResourceBundle.getString(ResourceBundle.java:354)
        at org.openide.util.NbBundle.getMessage(NbBundle.java:400)
        at org.openide.util.NbBundle.getMessage(NbBundle.java:463)
        at org.openide.util.NbBundle.getMessage(NbBundle.java:415)
        at
org.netbeans.modules.properties.PropertiesOpen$PropertiesCloneableTopComponent.setName(PropertiesOpen.java:671)
        at
org.netbeans.modules.properties.PropertiesOpen$PropertiesCloneableTopComponent.initialize(PropertiesOpen.java:573)
        at
org.netbeans.modules.properties.PropertiesOpen$PropertiesCloneableTopComponent.<init>(PropertiesOpen.java:559)
        at
org.netbeans.modules.properties.PropertiesOpen.createCloneableTopComponent(PropertiesOpen.java:136)
        at
org.openide.windows.CloneableOpenSupport.openCloneableTopComponent(CloneableOpenSupport.java:157)
[catch] at
org.openide.windows.CloneableOpenSupport$1.run(CloneableOpenSupport.java:67)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Comment 1 Peter Zavadsky 2001-08-13 16:32:35 UTC
Fixed in [main-trunk]. Next build available.
Comment 2 vnemec 2001-08-17 09:56:32 UTC
verified in 200108170100
Comment 3 Quality Engineering 2003-07-01 14:20:22 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.