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.
Summary: | NPE in JavaEE5 Samples | ||
---|---|---|---|
Product: | javaee | Reporter: | Dan Kolar <dkolar> |
Component: | App Client | Assignee: | Martin Krauskopf <mkrauskopf> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | SIMPLEFIX |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | messages.log |
Description
Dan Kolar
2006-05-17 12:43:24 UTC
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 |