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 200607270000 jdk1.5.07 Have web free-form project. 1) New -> Sun Resource -> Choose any 2) Next NPE is thrown.
Created attachment 32255 [details] messages.log
Please attach the project that is causing this exception.
The plugin attempts to obtain the EnterpriseResourceDirectory from the project via the J2eeProvider. It appears that the j2eeprovider object was/might be null for web freeform. Need to investigate.
no server resource on free form projects: it is user responsibnilty to modify its build.xml to do whatever needed for sun resources. So we just need to avoid the npe and do nothing in this case.
Server Resources support is available for EJB freeform and Appclient freeform. It is missing in web freeform. I will fix the plugin code to handle NPE, but will leave issue open for tracking.
Prevented NPE and added message in wizard indicating that server resource creation is not supported in the project
v.