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.
[#200909081533, jdk1.6] to reproduce: ------------- 1) download and open the http://blogs.sun.com/carolmcdonald/entry/java_ee_6_pet_catalog 2) setup JDBC Resource and Connection Pool 3) right click the project node and choose Run ERROR: build fails with NPE, see bellow NOTE: simple Deploy pass correctly ... compile: compile-jsps: /Users/ms113234/Downloads/catalog/nbproject/build-impl.xml:568: Deployment error: null See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:227) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:135) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:103) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor262.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:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:278) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:497) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151) Caused by: java.lang.NullPointerException at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.distribute(ServerFileDistributor.java:147) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.distributeChanges(TargetServer.java:231) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:637) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:192) ... 17 more BUILD FAILED (total time: 0 seconds)
*** This issue has been marked as a duplicate of 171728 ***