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.

Bug 189184

Summary: With IDE 6.9, debugging of Java Web applications does not work any more
Product: serverplugins Reporter: Koster
Component: Sun WebserverAssignee: issues@serverplugins <issues>
Status: NEW ---    
Severity: normal CC: Koster, phejl, pjiricka
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Koster 2010-08-03 21:11:42 UTC
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
debug:
D:\NetBeansProjects\ServletExamples\nbproject\build-impl.xml:771: 
java.lang.NullPointerException
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._stop(ServerInstance.java:1534)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1329)
        at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startDebug(ServerInstance.java:1003)
        at org.netbeans.modules.j2ee.ant.StartServer.execute(StartServer.java:109)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor277.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
BUILD FAILED (total time: 0 seconds)
Comment 1 Koster 2010-08-05 15:07:00 UTC
Tested with:
SUN Web Server 7.0
Example project ServletExamples
Comment 2 Petr Jiricka 2011-01-24 17:02:30 UTC
Not sure if this is purely a Sun Web Server problem, or whether there could also be a problem in the infrastructure. The NPE inside the infrastructure is suspicious.