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.
[ JDK VERSION : 1.5.0_06 ] NetBeans warns about removing the web.xml file everytime you open/close/edit the project. It is required to do so if you want to develop a JSR168 portlet. First time you open the project it throws a null pointer, secound time it just warns and opens the project. Not sure if the nullpointer is a jboss issue and if these warnings are some kind of "feature"... *********** Nullpointer *********** java.lang.NullPointerException at org.netbeans.modules.j2ee.jboss4.config.WarDeploymentConfiguration.init(WarDeploymentConfiguration.java:88) at org.netbeans.modules.j2ee.jboss4.config.ConfigurationSupportImpl.initConfiguration(ConfigurationSupportImpl.java:77) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getDeploymentConfiguration(ConfigSupportImpl.java:365) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.ensureConfigurationReady(ConfigSupportImpl.java:191) at org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:772) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:50) at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:572) at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:613) at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:288) at org.netbeans.modules.project.ui.OpenProjectList.access$000 (OpenProjectList.java:71) at org.netbeans.modules.project.ui.OpenProjectList$1.run(OpenProjectList.java:191) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Reassigning to jboss plugin to evaluate the NPE.
I can see some warning dialog...The code throwing the reported exception is not called anymore in case of a missing web.xml. Please reopen if you can reproduce with some of the latest Nb5.5 daily builds.
I have finally found one exception related to this issue after restarting the IDE.
Fixed. Checking in WarDeploymentConfiguration.java; /cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/config/WarDeploymentConfiguration.java,v <-- WarDeploymentConfiguration.java new revision: 1.2.8.2.2.4; previous revision: 1.2.8.2.2.3 done
Verified