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.
I did a simple search over sources of ejbmodule and found some broken links to budles. In particullar there are some occurances of NbBundle.getMessage(AClass.class, "AKEY") where the Bundle.properties file from the package of AClass doesn't contain the AKEY. The tool I created to find these occurances checks only this simple (but widely used) pattern, so it is possible that there are some others missing keys unrevealed. Please look into the attached file and verify that the "bad code" referring to nonexisting keys is not used so it could be probably removed. If the code is used, please consider the problem severity (whether the problematic code is run often and in what situation) and update the priority accordingly. Note, that there is a similar issue #58139 which is a P1 and QE wants this to be fixed in 4.1. format of the list: 1. [java] NO KEY FOUND - <keyname> 2. [java] Referred in file <file>:<line> 3. [java] According to class = <classname> 4. [java] Bundle file = <bundlefile> 1. missing bundle key 2. the java source file and line where the key is used 3. class from which package the bundle.properties is used 4. link to real bundle file
Created attachment 21797 [details] List of nonexisting bundle keys with marked occurances from the code.
Need to be fixed for 4.2
Fixed. Diffs: http://websvc.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/client/wizard/Bundle.properties?r1=1.25&r2=1.26 http://websvc.netbeans.org/source/browse/websvc/registry/extsrc/org/netbeans/modules/websvc/registry/actions/DeleteWebServiceAction.java?r1=1.1&r2=1.2 http://websvc.netbeans.org/source/browse/websvc/registry/extsrc/org/netbeans/modules/websvc/registry/actions/DeleteWebServiceGroupAction.java?r1=1.1&r2=1.2 http://websvc.netbeans.org/source/browse/websvc/registry/extsrc/org/netbeans/modules/websvc/registry/jaxrpc/Bundle.properties?r1=1.1&r2=1.2 http://websvc.netbeans.org/source/browse/websvc/registry/extsrc/org/netbeans/modules/websvc/registry/jaxrpc/WSCompileArguments.java?r1=1.1&r2=1.2 http://websvc.netbeans.org/source/browse/websvc/registry/extsrc/org/netbeans/modules/websvc/registry/ui/Bundle.properties?r1=1.1&r2=1.2 http://websvc.netbeans.org/source/browse/websvc/registry/extsrc/org/netbeans/modules/websvc/registry/ui/TestWebServiceMethodDlg.java?r1=1.3&r2=1.4
v.