Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2
-
None
Description
Compiling a BPEL file with a <forEach> activity without a child <scope> results in a NPE:
16:57:21 [bpms.designer.pxecompiler] ERROR - error during compilation of L/BudgetApproval/build/BudgetApproval-???????.bpel.
java.lang.NullPointerException
at org.apache.ode.bpel.compiler.ForEachGenerator.compile(ForEachGenerator.java:67)
at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:908)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1072)
at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:904)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:853)
at org.apache.ode.bpel.compiler.BpelCompiler$6.run(BpelCompiler.java:888)
at org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1162)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1072)
at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1112)
at org.apache.ode.bpel.compiler.BpelCompiler.compileSLC(BpelCompiler.java:877)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:853)
at org.apache.ode.bpel.compiler.SequenceGenerator.compileChildren(SequenceGenerator.java:54)
at org.apache.ode.bpel.compiler.SequenceGenerator.compile(SequenceGenerator.java:45)
at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:908)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1072)
at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:904)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:853)
at org.apache.ode.bpel.compiler.BpelCompiler$5.run(BpelCompiler.java:730)
at org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1162)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1072)
at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1112)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:710)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:260)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
at com.intalio.bpms.designer.pxecompiler.builders.BpelCompileJob.compileBpel(BpelCompileJob.java:249)
at com.intalio.bpms.designer.pxecompiler.builders.BpelCompileJob.compileBpel(BpelCompileJob.java:194)
at com.intalio.bpms.designer.pxecompiler.builders.BpelCompileJob.run(BpelCompileJob.java:149)
at com.intalio.bpms.designer.pxecompiler.builders.PxeBuilder.compileBPELResource(PxeBuilder.java:108)
at com.intalio.bpms.designer.deployment.deploy.DeploymentJob.validateBpelFiles(DeploymentJob.java:252)
at com.intalio.bpms.designer.deployment.deploy.DeploymentJob.run(DeploymentJob.java:144)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)