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.
An exception occurs : 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.GeneratedMethodAccessor120.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) If project is cleaned, it will work.
Reassigning to J2eeserver to evaluate. To reproduce: - create Rest Service in web project (Java EE 6/Java EE 5, GlassFish V3) - deploy - invoke Test RESTful Web Services action looks like the childModuleFiles is null in ServerFileDistributor:distribute method (line 147).
I think recent change http://hg.netbeans.org/main-golden/rev/f6b907f91004 in computeResultTMID() introduced this. GFv3 is now stating that deployed web module has as a child another (one or more) web module (the same app actually). Reported usecase works on tomcat.
thanks for the analysis. you were right.
*** Issue 171882 has been marked as a duplicate of this issue. ***
*** Issue 171896 has been marked as a duplicate of this issue. ***
*** Issue 171899 has been marked as a duplicate of this issue. ***
*** Issue 171916 has been marked as a duplicate of this issue. ***
Lots of duplicates -> P1.
the fix has been in web-main for a while... but it has not been pushed into an external build/main-golden http://hg.netbeans.org/web-main/rev/dfd98232442e I am reluctant to mark this as fixed until folks can actually get the bits...
Integrated into 'main-golden', will be available in build *200909111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/dfd98232442e User: Vince Kraemer <vkraemer@netbeans.org> Log: #171728: do not let a module be listed as child of self
in main-golden
*** Issue 171494 has been marked as a duplicate of this issue. ***
v.