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 162365 - key "ShowDataError" is missing under org/netbeans/modules/db/explorer/action/Bundle.properties
Summary: key "ShowDataError" is missing under org/netbeans/modules/db/explorer/action/...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-10 06:30 UTC by Masaki Katakai
Modified: 2009-04-11 06:53 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 Masaki Katakai 2009-04-10 06:30:08 UTC
I got the following exception by my wrong translation during the translation process.

java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key ShowDataError
	at java.util.ResourceBundle.getObject(ResourceBundle.java:325)
	at java.util.ResourceBundle.getString(ResourceBundle.java:285)
	at org.openide.util.NbBundle.getMessage(NbBundle.java:631)
	at org.openide.util.NbBundle.getMessage(NbBundle.java:698)
	at org.openide.util.NbBundle.getMessage(NbBundle.java:647)
	at org.netbeans.modules.db.explorer.action.ViewDataAction$1.run(ViewDataAction.java:77)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)

ViewDataAction.java:
        return NbBundle.getMessage (ViewDataAction.class, "ViewData"); // NOI18N

ViewDataAction.java:
                            String message = NbBundle.getMessage (ViewDataAction.class, "ShowDataError",
exc.getMessage()); // NOI18N


It looks "ShowDataError" key does not exist in

  db/src/org/netbeans/modules/db/explorer/action/Bundle.properties

key "ViewData" exists in the bundle, but "ShowDataError" is missing.
Comment 1 Jiri Rechtacek 2009-04-10 07:54:43 UTC
Thanks for catching this, it's caused by my consolidating of resource bundles. Will be fixed promptly.
Comment 2 Jiri Rechtacek 2009-04-10 08:17:35 UTC
core-main/rev/1c76bb001ce5
Comment 3 Quality Engineering 2009-04-11 06:53:27 UTC
Integrated into 'main-golden', will be available in build *200904110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1c76bb001ce5
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #162365: key "ShowDataError" is missing under org/netbeans/modules/db/explorer/action/Bundle.properties