Community
Participate
Working Groups
Hi, I'm having troubles with the String Externalization Wizard. I've merged all my Messages.java and messages.properties files into one Messages.java and one messages.properties. For now all is OK. When I open the Wizard, a default accessor class is set, then I change to the right one. First the warning message "Entry is missing in property file." remains displayed. Secondly, when I click on the "Next" Button I've got an "Internal Error" message log and can't finalize the externalization. (See attached file) Has someone already encountered this problem and solved it ? Best regards, Matthieu Decorde
Created attachment 219098 [details] The error log
I cannot reproduce this. Please attach a test case/project that allows to reproduce the NPE. Also note that the stack trace does not match with the indicated version. Please adjust it accordingly.
Created attachment 219115 [details] A project that reproduced the same error log I managed to reproduce the same error log with a new RCP project (from the mail template) : - I've separated the class in 2 packages - externalized all the Strings. - merged the 2 Messages.java and the 2 messages.properties. The first time I tried it was all OK and I cannot reproduce the error log. Next I tried to malformed a bit my Messages.java file by changing the BUNDLE_NAME value with a wrong package name (line 8). And then the same error log appears. Back to my true project, I've check my Messages.java but the BUNDLE_NAME is OK
Sorry, but I can't reproduce the NPE. You have to provide more detailed/exact steps. Note, that it is not supported to manually fiddle around with the BUNDLE_NAME. If you do so, it is you responsibility to know what you're doing ;-).