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.
This bug was originally marked as duplicate of bug 185842, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.0 (Build 201104080000) VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06 OS: Windows 7 User Comments: jfsalazar: Save my netbeans platform application normally yesterday and today I cant open it with all the modules. I saved my projects in a USB memory. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils.generatePropertyKey(SuiteUtils.java:435) at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils.attachSubModuleToSuite(SuiteUtils.java:407) at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils.addModule(SuiteUtils.java:281) at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils.access$200(SuiteUtils.java:91) at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils$3.run(SuiteUtils.java:191) at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils$3.run(SuiteUtils.java:185)
Created attachment 108216 [details] stacktrace
Looks like the 'modules' property somehow got deleted from project.properties.
core-main #e20e990bf271
ok. When I trying to re-insert the modules into the Netbeans Platform App an dialog windows appers with the following info: "Module 'x' is already part of the module suite "x project"... Do you wish to remove the module from that suite and add it to 'x project' instead?" Pressing 'OK' buttom but nothing ocurrs, the module is not include into the project. Trying again to include the module, the dialog doesn´t appears again and the module doesn't be included into my project. Jesse, what netbeans version resolve this issue? Note. English is not my natural language.
I haved to regenerate (remove & add again) the dependecies in all my modules projects created in my 'x project' and haved to create another Netbeans Platform App called 'x2 project' to add these modules because 'x project' can't accept them again.
(In reply to comment #4) > "Module 'x' is already part of the module suite "x project"... Do you wish to > remove the module from that suite and add it to 'x project' instead?" > > Pressing 'OK' buttom but nothing ocurrs, the module is not include into the > project. Trying again to include the module, the dialog doesn´t appears again > and the module doesn't be included into my project. Not familiar with any such problem. Sounds like something is wrong with your suite's metadata (esp. nbproject/project.properties), but I am not sure what. If you know how to reproduce it - especially if you can produce a ZIP of a source tree which demonstrates it - please file as a fresh issue.
Integrated into 'main-golden', will be available in build *201105111436* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e20e990bf271 User: Jesse Glick <jglick@netbeans.org> Log: #198490: NullPointerException at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils.generatePropertyKey
Created attachment 108239 [details] project properties Project properties file of the failed 'x project'.
(In reply to comment #8) > Project properties file of the failed 'x project'. Corrupt; missing the 'modules' property, and others such as 'app.name', 'app.title', and 'branding.token' should be there as well if this was an application project. Do not know why that would have happened - file a _separate_ bug if you can find steps using the IDE's GUI that would cause all the standard properties to disappear. I did try making an app project and setting installer-related properties but this just appended those to the standard properties as expected.