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.
M10: Used this steps to reproduce: 1. Create a new panel 2. Go to Form in Inspector 3. Set Automatic Resource Management to "All Resources + Injection" and save form 4. Compile -> error. This line of code is generated: null.getContext().getResourceMap(NewJPanel.class).injectComponents(this); Which is off course not correct..
I guess you did this in a plain java project. It is supposed to work only with Swing Application Framework - i.e. in projects created via the Java Desktop Application template. We should hide the resources option in normal project - that's bug 100790. *** This issue has been marked as a duplicate of 100790 ***
This is correct, it is done via an already existing project, not using the Swing App Framework.