You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by randa hammami <ha...@hotmail.fr> on 2012/07/21 18:23:15 UTC
XPath string and xpath node are both null
Hello,
I'm trying to deploy a travelagency BPEL project using Apache_ODE but I'm getting this error:
ERROR - GeronimoLog.error(108) | Deployment of travelagency_Mobile failed, aborting for now.
java.lang.IllegalStateException: XPath string and xpath node are both null
at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerImpl.doJaxenCompile(XPath10ExpressionCompilerImpl.java:109)
at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerBPEL20._compile(XPath10ExpressionCompilerBPEL20.java:88)
at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerBPEL20.compile(XPath10ExpressionCompilerBPEL20.java:70)
at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:549)
at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:534)
at org.apache.ode.bpel.compiler.AssignGenerator.compileFrom(AssignGenerator.java:186)
at org.apache.ode.bpel.compiler.AssignGenerator.compile(AssignGenerator.java:72)
at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:901)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:897)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:846)
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:901)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:897)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:846)
at org.apache.ode.bpel.compiler.BpelCompiler$5.run(BpelCompiler.java:723)
at org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1155)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1105)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:703)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:260)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:162)
at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:126)
at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:165)
at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144)
at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55)
at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:188)
Re: XPath string and xpath node are both null
Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Randa,
could you please attach your tweaked bpel file again? If possible,
please zip the whole project directory.
Thanks,
Tammo
On Sun, Jul 22, 2012 at 11:21 AM, randa hammami <ha...@hotmail.fr> wrote:
>
>
> Thank you Tammo for your response.
> I tried to change all my concat operations as you said but I still have the same error:
> java.lang.IllegalStateException: XPath string and xpath node are both null
>
> Have you any other idea?
> From: hammamiranda@hotmail.fr
> To: user@ode.apache.org
> Subject: XPath string and xpath node are both null
> Date: Sat, 21 Jul 2012 17:23:15 +0100
>
>
>
>
>
> Hello,
>
>
>
> I'm trying to deploy a travelagency BPEL project using Apache_ODE but I'm getting this error:
> ERROR - GeronimoLog.error(108) | Deployment of travelagency_Mobile failed, aborting for now.
> java.lang.IllegalStateException: XPath string and xpath node are both null
> at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerImpl.doJaxenCompile(XPath10ExpressionCompilerImpl.java:109)
> at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerBPEL20._compile(XPath10ExpressionCompilerBPEL20.java:88)
> at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerBPEL20.compile(XPath10ExpressionCompilerBPEL20.java:70)
> at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:549)
> at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:534)
> at org.apache.ode.bpel.compiler.AssignGenerator.compileFrom(AssignGenerator.java:186)
> at org.apache.ode.bpel.compiler.AssignGenerator.compile(AssignGenerator.java:72)
> at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:901)
> at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
> at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:897)
> at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:846)
> 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:901)
> at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
> at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:897)
> at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:846)
> at org.apache.ode.bpel.compiler.BpelCompiler$5.run(BpelCompiler.java:723)
> at org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1155)
> at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
> at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1105)
> at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:703)
> at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:260)
> at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
> at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:162)
> at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:126)
> at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:165)
> at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144)
> at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55)
> at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:188)
>
--
Tammo van Lessen - http://www.taval.de
RE: XPath string and xpath node are both null
Posted by randa hammami <ha...@hotmail.fr>.
Hi Tammo,
You can find attached my bpel file and all the wsdl files in zip format.
Thanks,
Randa
From: hammamiranda@hotmail.fr
To: user@ode.apache.org
Subject: RE: XPath string and xpath node are both null
Date: Sun, 22 Jul 2012 10:21:50 +0100
Thank you Tammo for your response.
I tried to change all my concat operations as you said but I still have the same error:
java.lang.IllegalStateException: XPath string and xpath node are both null
Have you any other idea?
From: hammamiranda@hotmail.fr
To: user@ode.apache.org
Subject: XPath string and xpath node are both null
Date: Sat, 21 Jul 2012 17:23:15 +0100
Hello,
I'm trying to deploy a travelagency BPEL project using Apache_ODE but I'm getting this error:
ERROR - GeronimoLog.error(108) | Deployment of travelagency_Mobile failed, aborting for now.
java.lang.IllegalStateException: XPath string and xpath node are both null
at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerImpl.doJaxenCompile(XPath10ExpressionCompilerImpl.java:109)
at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerBPEL20._compile(XPath10ExpressionCompilerBPEL20.java:88)
at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerBPEL20.compile(XPath10ExpressionCompilerBPEL20.java:70)
at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:549)
at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:534)
at org.apache.ode.bpel.compiler.AssignGenerator.compileFrom(AssignGenerator.java:186)
at org.apache.ode.bpel.compiler.AssignGenerator.compile(AssignGenerator.java:72)
at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:901)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:897)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:846)
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:901)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:897)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:846)
at org.apache.ode.bpel.compiler.BpelCompiler$5.run(BpelCompiler.java:723)
at org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1155)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1105)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:703)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:260)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:162)
at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:126)
at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:165)
at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144)
at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55)
at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:188)
RE: XPath string and xpath node are both null
Posted by randa hammami <ha...@hotmail.fr>.
Thank you Tammo for your response.
I tried to change all my concat operations as you said but I still have the same error:
java.lang.IllegalStateException: XPath string and xpath node are both null
Have you any other idea?
From: hammamiranda@hotmail.fr
To: user@ode.apache.org
Subject: XPath string and xpath node are both null
Date: Sat, 21 Jul 2012 17:23:15 +0100
Hello,
I'm trying to deploy a travelagency BPEL project using Apache_ODE but I'm getting this error:
ERROR - GeronimoLog.error(108) | Deployment of travelagency_Mobile failed, aborting for now.
java.lang.IllegalStateException: XPath string and xpath node are both null
at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerImpl.doJaxenCompile(XPath10ExpressionCompilerImpl.java:109)
at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerBPEL20._compile(XPath10ExpressionCompilerBPEL20.java:88)
at org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerBPEL20.compile(XPath10ExpressionCompilerBPEL20.java:70)
at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:549)
at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:534)
at org.apache.ode.bpel.compiler.AssignGenerator.compileFrom(AssignGenerator.java:186)
at org.apache.ode.bpel.compiler.AssignGenerator.compile(AssignGenerator.java:72)
at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:901)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:897)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:846)
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:901)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:897)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:846)
at org.apache.ode.bpel.compiler.BpelCompiler$5.run(BpelCompiler.java:723)
at org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1155)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1105)
at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:703)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:260)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:162)
at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:126)
at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:165)
at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144)
at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55)
at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:188)
Re: XPath string and xpath node are both null
Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Randa,
I assume the reason is a BPEL 1.1 from-spec, which is not valid in
BPEL 2.0. Your process however is declared to be a BPEL 2.0 process.
Instead of
<from expression="concat('airlinepartnerRequest_parameters','')"></from>
which is BPEL 1.1, in BPEL 2.0 it is written like
<from>concat('airlinepartnerRequest_parameters','')</from>
However, this still looks a bit odd, since a string is concatenated
with an empty string. What you could do instead is to use the
literal-from-spec:
<from><literal>airlinepartnerRequest_parameters</literal></from>
HTH,
Tammo
On Sat, Jul 21, 2012 at 6:23 PM, randa hammami <ha...@hotmail.fr> wrote:
> Hello,
>
> I'm trying to deploy a travelagency BPEL project using Apache_ODE but I'm
> getting this error:
> ERROR - GeronimoLog.error(108) | Deployment of travelagency_Mobile failed,
> aborting for now.
> java.lang.IllegalStateException: XPath string and xpath node are both null
> at
> org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerImpl.doJaxenCompile(XPath10ExpressionCompilerImpl.java:109)
> at
> org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerBPEL20._compile(XPath10ExpressionCompilerBPEL20.java:88)
> at
> org.apache.ode.bpel.elang.xpath10.compiler.XPath10ExpressionCompilerBPEL20.compile(XPath10ExpressionCompilerBPEL20.java:70)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:549)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:534)
> at
> org.apache.ode.bpel.compiler.AssignGenerator.compileFrom(AssignGenerator.java:186)
> at
> org.apache.ode.bpel.compiler.AssignGenerator.compile(AssignGenerator.java:72)
> at
> org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:901)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:897)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:846)
> 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:901)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:897)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:846)
> at
> org.apache.ode.bpel.compiler.BpelCompiler$5.run(BpelCompiler.java:723)
> at
> org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1155)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1065)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1105)
> at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:703)
> at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:260)
> at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
> at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:162)
> at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:126)
> at
> org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:165)
> at
> org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144)
> at
> org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55)
> at
> org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:188)
--
Tammo van Lessen - http://www.taval.de