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 206909 - java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key LBL_MainClassWarning_ChooseMainClass_OK
Summary: java.util.MissingResourceException: Can't find resource for bundle org.openid...
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: J Bachorik
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-01-04 14:36 UTC by ttokoly
Modified: 2012-08-03 14:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 184169


Attachments
stacktrace (5.09 KB, text/plain)
2012-01-04 14:36 UTC, ttokoly
Details
stacktrace (5.00 KB, text/plain)
2012-01-24 16:31 UTC, ttokoly
Details
stacktrace (5.00 KB, text/plain)
2012-01-24 16:34 UTC, ttokoly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ttokoly 2012-01-04 14:36:24 UTC
Build: NetBeans IDE Dev (Build 201201030601)
VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Linux

User Comments:
ttokoly: Product Version: NetBeans IDE Dev (Build 201201030601)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-14-generic running on i386; UTF-8; en_US (nb)

- I have one opened project with two opened classes ( http://wiki.netbeans.org/wiki/images/2/2d/Default_TS_60_Refactoring.zip )
- I've "played" with changing of shortcuts and then I've accidentally clicked to the icon in Toolbar called "Profile Main Project..."
- this error shows up




Stacktrace: 
java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key LBL_MainClassWarning_ChooseMainClass_OK
   at java.util.ResourceBundle.getObject(ResourceBundle.java:393)
   at java.util.ResourceBundle.getString(ResourceBundle.java:353)
   at org.openide.util.NbBundle.getMessage(NbBundle.java:642)
   at org.netbeans.modules.profiler.nbimpl.project.ProjectUtilities.selectMainClass(ProjectUtilities.java:753)
   at org.netbeans.modules.profiler.j2se.J2SEProjectProfilingSupportProvider.checkProjectCanBeProfiled(J2SEProjectProfilingSupportProvider.java:147)
   at org.netbeans.modules.profiler.j2se.JFXProjectProfilingSupportProvider.checkProjectCanBeProfiled(JFXProjectProfilingSupportProvider.java:78)
Comment 1 ttokoly 2012-01-04 14:36:27 UTC
Created attachment 114627 [details]
stacktrace
Comment 2 ttokoly 2012-01-24 16:31:02 UTC
Created attachment 115195 [details]
stacktrace

Product Version: NetBeans IDE Dev (Build 201201230600)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-15-generic running on i386; UTF-8; en_US (nb)

1. Run IDE with clean userdir
2. Activate all installed plugins, open some java project
3. Try to perform main menu "Team | Apply Diff patch..."

-> and this error shows up
Comment 3 ttokoly 2012-01-24 16:34:02 UTC
Created attachment 115196 [details]
stacktrace

Product Version: NetBeans IDE Dev (Build 201201230600)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-15-generic running on i386; UTF-8; en_US (nb)

1. Run IDE with clean userdir
2. Activate all installed plugins, open some java project
3. Try to perform main menu Profile | "Profile Main Project..."

-> and this error shows up
Comment 4 Tomas Hurka 2012-01-24 16:55:36 UTC
The following files have probably similar problems:

profiler.heapwalker/src/org/netbeans/modules/profiler/heapwalk/ui/ClassesListControllerUI.java
profiler.nbimpl/src/org/netbeans/modules/profiler/nbimpl/actions/AntActions.java
profiler.nbimpl/src/org/netbeans/modules/profiler/nbimpl/project/ProjectUtilities.java
profiler/src/org/netbeans/modules/profiler/SnapshotInfoPanel.java
profiler/src/org/netbeans/modules/profiler/utils/IDEUtils.java
Comment 5 J Bachorik 2012-01-26 15:22:42 UTC
fixed http://hg.netbeans.org/profiler-main/rev/0dc9b1a3f0a1
Comment 6 ttokoly 2012-08-03 14:00:11 UTC
Product Version: NetBeans IDE Dev (Build 201208010001)
Java: 1.7.0_06-ea; Java HotSpot(TM) 64-Bit Server VM 23.2-b07
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)

Verified. Thanks!