Hi Marco, sometimes I get also the "MissingResource" exceptions for @Message annotations in bigger ant based platform apps. I cauld resolve this by invocing clean-build by hand for single modules. The difficulty was to find out the sequence of modules I have to do this. This was difficult because the update of the tagged icon to show that an error was resolved is not working in all cases.
So it would be great if somebody can figure out the origin of this problem. Thanks for writing the sequence of steps to reproduce the problem. I think this is a good starting point. Is there anybody who has an idea why this cauld happen. best regards Oliver Is this an ant or maven-based project? Does doing a clean build fix the problem? (When working with NetBeans platform applications, I find that many annotation changes will require a complete clean build of the entire project. For this reason I will probably move away from @Message annotations, and just write my own Bundle files.) -- Eirik *From:* Marco Rossi <ma...@markreds.it> *Sent:* Tuesday, January 14, 2020 4:52 AM *To:* List NetBeans Mailing <users@netbeans.apache.org> *Subject:* MissingResourceException Hi guys, I’ve started to use Apache Netbeans 11.2 and I’m issuing an annoying strange behaviour that I can reproduce following these steps: 1. created a new project of type Netbeans Platform Application; 2. added a new module to my application; 3. added a new TopComponent window with a button on it; 4. localized the Bundle.properties to my language Bundle_it_IT.properties; 5. localized the button of my TopComponent. Build and Run and everything works well as expected… 6. … now added a new JPanel form, with a JLabel that I localized… try to build again but it fails with the error <java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key CTL_MyEditorTopComponent at java.util.ResourceBundle.getObject(ResourceBundle.java:450) at java.util.ResourceBundle.getString(ResourceBundle.java:407) at org.openide.util.NbBundle.getMessage(NbBundle.java:617)…> It seems to be an issue related to the @Message annotations and other keys in Bundle.properties file. Due to this I’m unable to put a TopComponent and a JPanel in the same package. Anyone else has got this problem? Marco Rossi <ma...@markreds.it[1]> Inviato dal suo MacBookPro -------- [1] mailto:ma...@markreds.it