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 93695 - Resource missing
Summary: Resource missing
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-31 17:12 UTC by Mikhail Matveev
Modified: 2007-02-02 14:46 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 Mikhail Matveev 2007-01-31 17:12:53 UTC
Build 2007013131_1

1. Create some schema.
2. Invoke add element dialog.
3. Choose Use Existing Type radio-button.
4. Expand Built-in types node.
Result: exception comes.

Annotation: Missing resource from class: org.openide.util.NbBundle$PBundle
Annotation: Key which was not found: MSG_anyType
java.util.MissingResourceException: Can't find resource for bundle
org.openide.util.NbBundle$PBundle, key MSG_anyType
    at java.util.ResourceBundle.getObject(ResourceBundle.java:386)
    at java.util.ResourceBundle.getString(ResourceBundle.java:346)
    at org.openide.util.NbBundle.getMessage(NbBundle.java:623)
    at
org.netbeans.modules.xml.schema.ui.nodes.categorized.PrimitiveSimpleTypesNode$TypeNode.<init>(PrimitiveSimpleTypesNode.java:154)
    at
org.netbeans.modules.xml.schema.ui.nodes.categorized.PrimitiveSimpleTypesNode$TypeNode.<init>(PrimitiveSimpleTypesNode.java:149)
    at
org.netbeans.modules.xml.schema.ui.nodes.categorized.PrimitiveSimpleTypesNode$TypesChildren.createNodes(PrimitiveSimpleTypesNode.java:134)
    at org.openide.nodes.Children$Keys$KE.nodes(Children.java:2150)
    at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:129)
    at org.openide.nodes.Children$Info.nodes(Children.java:1218)
    at org.openide.nodes.Children.justComputeNodes(Children.java:685)
    at org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:70)
    at org.openide.nodes.Children.getNodes(Children.java:356)
    at org.openide.nodes.Children.findChild(Children.java:289)
    at org.openide.nodes.Children.getNodes(Children.java:413)
    at org.openide.explorer.view.TreeView$1.run(TreeView.java:806)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 bhate 2007-01-31 20:52:55 UTC
I have added resource to bundle file for the anyType.
Please verify in tonights build.
Comment 2 Mikhail Matveev 2007-02-02 14:46:11 UTC
Verified in last build