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 200605170200 jdk1.5.06fcs Start with clear userdir and don't import settings from 5.0 1) New -> Samples -> Java EE5 -> EJB3 -> customer CMP 2) Next -> Finish 3) Click on Applicaton Client node NPE is thrown.
Created attachment 30438 [details] messages.log
Yup. Seems to me that there are more places in the project's code base where Deployment.getDefault().getJ2eePlatform(serverInstance) is not checked for null. We should centralize the access code. Thanks for the catch.
Can't reproduce. Maybe that examples are different now (Tomasz's one). But will prevent that NPE at least.
AppClientProject.java; 1.1.4.16 -> 1.1.4.17; ui/AppClientLogicalViewProvider.java; 1.1.4.6 -> 1.1.4.7; Actually only AppClientLogicalViewProvider contains fix.
v. build 200605190200