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.
[200511141800] I don't know exacts steps how to reproduce. But the exception was thrown quite often. For example what I did: 1)Open Project suite 2)Add new platfrom in Netbeans platfrom manager 3)Change the platfrom in project suite 4)Remove platform from Netbeans platform manager 5)Try change the platfrom in project suite NPE was thrown
Created attachment 27007 [details] exception
We are passing null.
*** Issue 68984 has been marked as a duplicate of this issue. ***
Presuambly the problem is that creating platform.properties fires a property change and NbModuleProject tries to reload module-list, but project itself is in the meantime in inconsistent state, something between standalone and suitecomponent. Probably I should use an atomic action for whole operation.
I fixed rather the duplicate. NPE shouldn't be thrown anymore I think. Rather IOException (see issues 69029 or/and 69306). Also core infractructure was rewritten by Jesse's refactoring so project.getPlatform(true) shouldn't return null until something is very wrong (not "quite often" like now). Checking in ui/customizer/SuiteUtils.java; 1.15 -> 1.16;
cannot reproduce -> verified