ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nowakowski, Mateusz" <Mateusz.Nowakow...@sabre-holdings.com>
Subject RE: Vote -1 for RE: [VOTE] ODE 1.3.4 release
Date Fri, 04 Jun 2010 14:42:52 GMT
Thanks. Please fix 

> > It doesn't show a stack trace because the exception is logged this
> way:
> > __log.debug(e);
> >
> > but it should be
> > __log.debug("some message", e);

as well.

-- 
Regards,
Mateusz Nowakowski


> -----Original Message-----
> From: David Carver [mailto:d_a_carver@yahoo.com]
> Sent: Friday, June 04, 2010 3:55 PM
> To: dev@ode.apache.org
> Cc: Nowakowski, Mateusz
> Subject: Re: Vote -1 for RE: [VOTE] ODE 1.3.4 release
> 
> See comment on ODE-840.  Seems to be caused by ODE-807 which fixed one
> bug, but apparently introduced another.  I'm looking into it.
> 
> On 06/04/2010 05:57 AM, Nowakowski, Mateusz wrote:
> > There is only what  I've pasted here: (the whole log below)
> >
> > 2010-06-04 11:06:10,254 [Timer-1] DEBUG
> org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerBPE
> L20 - javax.xml.xpath.XPathExpressionException
> >
> > It doesn't show a stacktrace because the exception is logged this
> way:
> > __log.debug(e);
> >
> > but it should be
> > __log.debug("some message", e);
> >
> >
> > I've investigated it old way (java debugger) and I have to raise a
> bug and vote -1: https://issues.apache.org/jira/browse/ODE-840
> >
> >
> >
> org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerImp
> l.doJaxpCompile(OXPath20ExpressionBPEL20 out, Expression source):Line
> 169-170
> >              for (String functionExpr :
> extractFunctionExprs(xpathStr)) {
> >                  expr = xpe.compile(functionExpr); //Line: 170 here
> an exception is thrown
> >              	try {
> >              		expr.evaluate(node);
> >              	} catch (XPathExpressionException xpee) {
> >                  	// swallow errors caused by uninitialized
> variable
> >              	}
> >              }
> >
> > xpathStr equals:
> > bpel:doXslTransform("1.0.1/some.xsl", $Variable.body,
> "someParameter", $OtherVariable.body, "someParameter2", $SwsHeaderRQ,
> "someParameter3", true(), "someXpathParameter", $XPath)
> >
> > The result of extractFunctionExprs(xpathStr) is a list with one
> element:
> >
> > bpel:doXslTransform("1.0.1/some.xsl", $Variable.body,
> "someParameter", $OtherVariable.body, "someParameter2", $SwsHeaderRQ,
> "someParameter3", true()
> >
> > but it should be the same as xpathStr.
> >
> >
> > So the results is that Line 170 throws an exception:
> >
> > Caused by: net.sf.saxon.trans.XPathException: XPath syntax error at
> char 149 in {...derRQ, "someParameter3", tru...}:
> >      expected ")", found "<eof>"
> >
> >
> > javax.xml.xpath.XPathExpressionException
> >          at
> net.sf.saxon.xpath.XPathEvaluator.compile(XPathEvaluator.java:403)
> >          at
> org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerImp
> l.doJaxpCompile(XPath20ExpressionCompilerImpl.java:170)
> >          at
> org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerImp
> l._compile(XPath20ExpressionCompilerImpl.java:124)
> >          at
> org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerImp
> l.compile(XPath20ExpressionCompilerImpl.java:106)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java
> :574)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java
> :554)
> >          at
> org.apache.ode.bpel.compiler.AssignGenerator.compileFrom(AssignGenerato
> r.java:194)
> >          at
> org.apache.ode.bpel.compiler.AssignGenerator.compile(AssignGenerator.ja
> va:82)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:961)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:112
> 7)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.
> java:957)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:906
> )
> >          at
> org.apache.ode.bpel.compiler.SequenceGenerator.compileChildren(Sequence
> Generator.java:54)
> >          at
> org.apache.ode.bpel.compiler.SequenceGenerator.compile(SequenceGenerato
> r.java:45)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:961)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:112
> 7)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.
> java:957)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:906
> )
> >          at
> org.apache.ode.bpel.compiler.IfGenerator.compile(IfGenerator.java:52)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:961)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:112
> 7)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.
> java:957)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:906
> )
> >          at
> org.apache.ode.bpel.compiler.SequenceGenerator.compileChildren(Sequence
> Generator.java:54)
> >          at
> org.apache.ode.bpel.compiler.SequenceGenerator.compile(SequenceGenerato
> r.java:45)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:961)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:112
> 7)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.
> java:957)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:906
> )
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler$6.run(BpelCompiler.java:941)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1217)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:112
> 7)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.jav
> a:1167)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compileSLC(BpelCompiler.java:
> 930)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:906
> )
> >          at
> org.apache.ode.bpel.compiler.SequenceGenerator.compileChildren(Sequence
> Generator.java:54)
> >          at
> org.apache.ode.bpel.compiler.SequenceGenerator.compile(SequenceGenerato
> r.java:45)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:961)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:112
> 7)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.
> java:957)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:906
> )
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler$5.run(BpelCompiler.java:760)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1217)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:112
> 7)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.jav
> a:1167)
> >          at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:740
> )
> >          at
> org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:263)
> >          at
> org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:333)
> >          at
> org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:213
> )
> >          at
> org.apache.ode.utils.InternPool.runBlock(InternPool.java:57)
> >          at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:2
> 10)
> >          at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:1
> 71)
> >          at
> org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:200)
> >          at
> org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:164)
> >          at
> org.apache.ode.jbi.OdeServiceUnit.deploy(OdeServiceUnit.java:74)
> >          at
> org.apache.ode.jbi.OdeSUManager.deploy(OdeSUManager.java:59)
> >          at
> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAsse
> mbly(DeploymentService.java:520)
> >          at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateService
> Assembly(AutoDeploymentService.java:349)
> >          at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive
> (AutoDeploymentService.java:255)
> >          at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirect
> ory(AutoDeploymentService.java:658)
> >          at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(Au
> toDeploymentService.java:63)
> >          at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDep
> loymentService.java:622)
> >          at java.util.TimerThread.mainLoop(Timer.java:512)
> >          at java.util.TimerThread.run(Timer.java:462)
> > Caused by: net.sf.saxon.trans.XPathException: XPath syntax error at
> char 149 in {...derRQ, "someParameter3", tru...}:
> >      expected ")", found "<eof>"
> >          at
> net.sf.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:149)
> >          at
> net.sf.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:125)
> >          at
> net.sf.saxon.expr.ExpressionParser.expect(ExpressionParser.java:113)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseFunctionCall(ExpressionParser.j
> ava:1787)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseBasicStep(ExpressionParser.java
> :1307)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseStepExpression(ExpressionParser
> .java:1213)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseRelativePath(ExpressionParser.j
> ava:1151)
> >          at
> net.sf.saxon.expr.ExpressionParser.parsePathExpression(ExpressionParser
> .java:1137)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseUnaryExpression(ExpressionParse
> r.java:1026)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseCastExpression(ExpressionParser
> .java:691)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseCastableExpression(ExpressionPa
> rser.java:646)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseTreatExpression(ExpressionParse
> r.java:627)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseInstanceOfExpression(Expression
> Parser.java:609)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseIntersectExpression(ExpressionP
> arser.java:1059)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseUnionExpression(ExpressionParse
> r.java:1041)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseMultiplicativeExpression(Expres
> sionParser.java:978)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseAdditiveExpression(ExpressionPa
> rser.java:958)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseRangeExpression(ExpressionParse
> r.java:876)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseComparisonExpression(Expression
> Parser.java:826)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseAndExpression(ExpressionParser.
> java:423)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseOrExpression(ExpressionParser.j
> ava:405)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseExprSingle(ExpressionParser.jav
> a:354)
> >          at
> net.sf.saxon.expr.ExpressionParser.parseExpression(ExpressionParser.jav
> a:306)
> >          at
> net.sf.saxon.expr.ExpressionParser.parse(ExpressionParser.java:228)
> >          at
> net.sf.saxon.expr.ExpressionTool.make(ExpressionTool.java:73)
> >          at
> net.sf.saxon.xpath.XPathEvaluator.createExpressionInternal(XPathEvaluat
> or.java:222)
> >          at
> net.sf.saxon.xpath.XPathEvaluator.compile(XPathEvaluator.java:401)
> >          ... 63 more
> >
> >
> >
> >
> >
> > The whole log:
> >
> > 2010-06-04 11:06:10,051 [Timer-1] DEBUG
> org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerBPE
> L20 - Compiling expression bpel:doXslTransform("1.0.1/some.xsl",
> $Variable.body, "someParameter", $OtherVariable.body, "someParameter2",
> $SwsHeaderRQ, "someParameter3", true(), "someXpathParameter", $XPath)
> > 2010-06-04 11:06:10,067 [Timer-1] DEBUG
> org.apache.ode.bpel.compiler.DefaultResourceFinder - openResource:
> uri=1.0.1/some.xsl relativeDir=C:\pathToFuse-3.4.0.5\data\smx\service-
> assemblies\some-process-sa\version_1\sus\OdeBpelEngine\some-process-
> ode-su absoluteDir=C:\pathToFuse-3.4.0.5\data\smx\service-
> assemblies\some-process-sa\version_1\sus\OdeBpelEngine\some-process-
> ode-su
> > 2010-06-04 11:06:10,114 [Timer-1] DEBUG
> org.apache.ode.bpel.compiler.DefaultResourceFinder - openResource:
> uri=SwsHeaderPopuler.xsl relativeDir=C:\pathToFuse-
> 3.4.0.5\data\smx\service-assemblies\some-process-
> sa\version_1\sus\OdeBpelEngine\some-process-ode-su
> absoluteDir=C:\pathToFuse-3.4.0.5\data\smx\service-assemblies\some-
> process-sa\version_1\sus\OdeBpelEngine\some-process-ode-su
> > 2010-06-04 11:06:10,254 [Timer-1] DEBUG
> org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerBPE
> L20 - javax.xml.xpath.XPathExpressionException
> > 2010-06-04 11:06:10,254 [Timer-1] INFO
> org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerBPE
> L20 - Couldn't validate properly expression
> bpel:doXslTransform("1.0.1/some.xsl", $Variable.body, "someParameter",
> $OtherVariable.body, "someParameter2", $SwsHeaderRQ, "someParameter3",
> true(), "someXpathParameter", $XPath)
> > 2010-06-04 11:06:10,254 [Timer-1] DEBUG
> org.apache.ode.bpel.compiler.AssignGenerator - verifying copy: {OCopy
> {VarRef {Variable
> __PROCESS_SCOPE:ProcessNameProcess1.0.1.ProcessNameResponse:OMessageVar
> Type#10({https://someNamespace.com/some}ProcessNameOutput)}.body}={OXPa
> th10Expression bpel:doXslTransform("1.0.1/some.xsl", $Variable.body,
> "someParameter", $OtherVariable.body, "someParameter2", $SwsHeaderRQ,
> "someParameter3", true(), "someXpathParameter", $XPath)}}
> > 2010-06-04 11:06:10,254 [Timer-1] DEBUG
> org.apache.ode.bpel.compiler.AssignGenerator - Copy verified OK: {OCopy
> {VarRef {Variable
> __PROCESS_SCOPE:ProcessNameProcess1.0.1.ProcessNameResponse:OMessageVar
> Type#10({https://someNamespace.com/some}ProcessNameOutput)}.body}={OXPa
> th10Expression bpel:doXslTransform("1.0.1/some.xsl", $Variable.body,
> "someParameter", $OtherVariable.body, "someParameter2", $SwsHeaderRQ,
> "someParameter3", true(), "someXpathParameter", $XPath)}
> >
> >
> >

Mime
View raw message