You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by ishara premadasa <id...@gmail.com> on 2011/08/30 08:39:32 UTC

Builds shows test failures in bpel-itest module

Hi,
following test failures are shown in TestFlowActivity1
and TestXQueryExpression packages when building bpel integration tests
module with tests enabled. Build completes fine even though.

1.
[INFO] Running BPELUnit: TestFlowActivity1.bpts
11:48:50,888 WARN  [BpelRuntimeContextImpl] Couldn't extract property
'{OProperty {http://ode/bpel/unit-test/testFlowActivity1.wsdl}testFlow1}'
and variable {Variable
__PROCESS_SCOPE:TestActivityFlow.request:OMessageVarType#9({
http://ode/bpel/unit-test/testFlowActivity1.wsdl}requestMessage)} at
TestActivityFlow:51 in property pre-extraction:
org.apache.ode.bpel.common.FaultException: No results for expression:
'typens:flowIndicators/typens:indicatorOne' against '<?xml version="1.0"
encoding="UTF-8"?>
<request xmlns="http://ode/bpel/unit-test/testFlowActivity1.wsdl.types">
  <typens:requestID xmlns:typens="
http://ode/bpel/unit-test/testFlowActivity1.wsdl.types
">null</typens:requestID>
  <typens:requestText xmlns:typens="
http://ode/bpel/unit-test/testFlowActivity1.wsdl.types
">null</typens:requestText>
  <typens:flowIndicator xmlns:typens="
http://ode/bpel/unit-test/testFlowActivity1.wsdl.types">

<typens:indicatorOne>yes</typens:indicatorOne><typens:indicatorTwo>yes</typens:indicatorTwo>
  </typens:flowIndicator>
  <loopIndicator xmlns="
http://docs.oasis-open.org/wsbpel/2.0/process/executable
">null</loopIndicator>
</request>'
11:48:50,890 WARN  [BpelRuntimeContextImpl] Couldn't extract property
'{OProperty {http://ode/bpel/unit-test/testFlowActivity1.wsdl}loopInd}' and
variable {Variable
__PROCESS_SCOPE:TestActivityFlow.request:OMessageVarType#9({
http://ode/bpel/unit-test/testFlowActivity1.wsdl}requestMessage)} at
TestActivityFlow:51 in property pre-extraction:
org.apache.ode.bpel.common.FaultException: No results for expression:
'typens:loopIndicator' against '<?xml version="1.0" encoding="UTF-8"?>
<request xmlns="http://ode/bpel/unit-test/testFlowActivity1.wsdl.types">
  <typens:requestID xmlns:typens="
http://ode/bpel/unit-test/testFlowActivity1.wsdl.types
">null</typens:requestID>
  <typens:requestText xmlns:typens="
http://ode/bpel/unit-test/testFlowActivity1.wsdl.types
">null</typens:requestText>
  <typens:flowIndicator xmlns:typens="
http://ode/bpel/unit-test/testFlowActivity1.wsdl.types">

<typens:indicatorOne>yes</typens:indicatorOne><typens:indicatorTwo>yes</typens:indicatorTwo>
  </typens:flowIndicator>
  <loopIndicator xmlns="
http://docs.oasis-open.org/wsbpel/2.0/process/executable
">null</loopIndicator>
</request>'
[INFO] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.964 sec

2.
[INFO] Running BPELUnit: TestXQueryExpression.bpts
11:48:41,302 WARN  [BpelRuntimeContextImpl] Couldn't extract property
'{OProperty {http://ode/bpel/unit-test.wsdl}content}' and variable {Variable
__PROCESS_SCOPE:HelloXQueryWorld.myVar:OMessageVarType#7({
http://ode/bpel/unit-test.wsdl}HelloXQueryMessage)} at HelloXQueryWorld:43
in property pre-extraction: org.apache.ode.bpel.common.FaultException: No
results for expression: 'content' against '<?xml version="1.0"
encoding="UTF-8"?>
<TestPart xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tes="http://www.bpelunit.org/schema/testSuite" xmlns:unit="
http://ode/bpel/unit-test.wsdl">HelloXQuery World</TestPart>'
Error on line 11
  FOAR0001: Integer division by zero
11:48:41,526 WARN  [SCOPE] ({OScope 'scope-implicit-scope-line-197'
id=100},TerminationChannel#61,ParentScopeChannel#63): has a fault handler
for {
http://docs.oasis-open.org/wsbpel/2.0/process/executable}subLanguageExecutionFault:
{OCatch faultName={
http://docs.oasis-open.org/wsbpel/2.0/process/executable}subLanguageExecutionFault,
faultVariable=null} ,  FaultData: [faultName={
http://docs.oasis-open.org/wsbpel/2.0/process/executable}subLanguageExecutionFault,
faulType=null (An exception occured while evaluating "{OXPath10Expression
null}": Error while executing an XQuery expression:
net.sf.saxon.trans.XPathException: Integer division by zero)] @204
[INFO] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.102 sec


-- 
*Best Regards.*

*Ishara Premadasa,*
Trainee Software Engineer/Undergraduate,
Dept. of Computer Science & Engineering,
University of Moratuwa
Sri Lanka.