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.
This is a new installation of netbeans on windows XP from the zip file. I create a new project. Mount an empty directory. Create a new html file. Don't add anything to it. Click on the green arrow. It prompts me to create a web module. I accept. Then a dialog box appears with an error message: Annotation: Exception occurred in Request Processor java.lang.NullPointerException at org.netbeans.modules.tomcat.tomcat40.Tomcat40DataObject.setNewContext(Tomcat40DataObject.java:655) at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.setTestComponent(Tomcat40Installation.java:743) at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.incrementalDeploy(Tomcat40Installation.java:685) at org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.deploy(Tomcat40Instance.java:273) at org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.doDeploy(DefaultServerInstanceManager.java:120) at org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.startExecution(DefaultServerInstanceManager.java:140) at org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.serverInstanceStartExecution(DefaultServerInstanceManager.java:85) at org.netbeans.modules.j2ee.impl.DefaultExecPerformer.startExecution(DefaultExecPerformer.java:67) at org.netbeans.modules.web.execution.WebDefaultExecPerformer.startExecution(WebDefaultExecPerformer.java:238) at org.netbeans.modules.j2ee.impl.ServerExecutor.execute(ServerExecutor.java:69) at org.netbeans.modules.j2ee.impl.ExecSupport.start(ExecSupport.java:122) at org.netbeans.modules.j2ee.impl.ServerExecSupport.start(ServerExecSupport.java:140) at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:140) at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:217) at org.openide.actions.ExecuteAction.performAction(ExecuteAction.java:102) at org.openide.util.actions.NodeAction.performAction(NodeAction.java:184) at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:175) at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670) I believe this worked in the past, but last night it started failing. I deleted the previous installation of netbeans and the .netbeans directory. Then I downloaded a fresh copy, re-installed and re-ran with the same error. I also have jwsdp installed, but their version of tomcat is not running. Thanks Dave
I guess this one is fixed in trunk (comes from Tomcat plugin).
The issue is not relevant any more for 3.6. Tomcat4 was replaced by Tomcat5 plugin.