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.
Build: NetBeans IDE 7.4 (Build 201310111528) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Linux User Comments: aldobrucale: A problem in the edited code prevented the gui editor to show up Stacktrace: java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key CommercialInfoDisplayer.NO_DEVICE_SELECTED at java.util.ResourceBundle.getObject(ResourceBundle.java:395) at java.util.ResourceBundle.getString(ResourceBundle.java:355) at org.openide.util.NbBundle.getMessage(NbBundle.java:642) at com.imavis.omc.deviceui.view.Bundle.CommercialInfoDisplayer_NO_DEVICE_SELECTED(Bundle.java:17) at com.imavis.omc.deviceui.view.CommercialInfoDisplayer.setDevice(CommercialInfoDisplayer.java:55) at com.imavis.omc.deviceui.view.CommercialInfoDisplayer.updateNode(CommercialInfoDisplayer.java:71)
Created attachment 141939 [details] stacktrace
The resource mentioned in the stack trace should have been generated during the compilation using the @NbBundle.Messages annotation
This seems to happen due to optimization created for bug 69377 which prefers to find resources for custom components in sources where they are always up-to-date (won't get to execution classpath until the user rebuilds the whole project). For resources created/modified by the user directly this is fine, however for @NbBundle.Messages annotation this is a problem since the properties are only generated to the file in built results. If the Bundle.properties file is also available in sources (for other properties) then it is found, but doesn't contain the properties from the annotations. Attempt to find some balance between the two conflicting requirements: http://hg.netbeans.org/jet-main/rev/cbe4fbb16440
Integrated into 'main-silver', will be available in build *201401160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/cbe4fbb16440 User: Tomas Pavek <tpavek@netbeans.org> Log: #238094: content generated from @NbBundle.Messages annotation is only available on execution classpath