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.
Build: NetBeans IDE Dev (Build 20080725075415) VM: Java HotSpot(TM) Client VM, 1.5.0_13-121, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-241 OS: Mac OS X, 10.4.11, i386 User Comments: Creating the samples from the Identity BluePrints category Stacktrace: java.lang.NullPointerException: The serverInstanceId parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:86) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.getServerInstance(Deployment.java:426) at org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:859) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:81) at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(UILookupMergerSupport.java:193) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:81)
Is this an issue with the server integration infrastructure or with the sample project?
It is caused by USG logging - issue 141506. serverInstanceId seems to be null under some circumstances (like samples, projects without private.properties). There has to be null check.
Got it. Working on it.
*** Issue 141736 has been marked as a duplicate of this issue. ***
Fixed: http://hg.netbeans.org/main/rev/0945ad92dc9c However, I get another NPE when I try to create a Identity Blueprints sample project with no server defined. It's unrelated to the usage logging. Filed issue #141768.
*** Issue 141614 has been marked as a duplicate of this issue. ***