Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-1.4
-
None
-
Windows XP, SP2, IBM JDK 1.5
Description
Buildfile: build.xml
run:
[java] Dec 3, 2008 10:50:15 PM org.apache.tuscany.sca.node.impl.NodeImpl <init>
[java] INFO: Creating node: BigBank.composite
[java] Dec 3, 2008 10:50:16 PM org.apache.tuscany.sca.node.impl.NodeImpl configureNode
[java] INFO: Loading contribution: file:/C:/Tuscany/1.4.x/demos/xml-bigbank/target/demo-xml-bigbank.jar
[java] Dec 3, 2008 10:50:50 PM org.apache.tuscany.sca.node.impl.NodeImpl configureNode
[java] INFO: Loading composite: jar:file:/C:/Tuscany/1.4.x/demos/xml-bigbank/target/demo-xml-bigbank.jar!/BigBank.c
omposite
[java] Dec 3, 2008 10:50:50 PM org.apache.tuscany.sca.node.impl.NodeImpl start
[java] INFO: Starting node: BigBank.composite
[java] Retrieving exchange rate...
[java] Exchange rate: USD 1.0=EUR 0.78584
[java] Loading account data...
[java] Getting stock quote...
[java] exception
[java] Calculating total value...
[java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.databinding.Transfor
mationException: org.apache.tuscany.sca.databinding.TransformationException: com.ctc.wstx.exc.WstxUnexpectedCharExceptio
n: Unexpected character 'e' (code 101) in prolog; expected '<'
[java] at [row,col
[java] at bigbank.AccountServiceImpl.getTotalValue(AccountServiceImpl.java:80)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:615)
[java] at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementa
tionInvoker.java:132)
[java] at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:287)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
[java] at $Proxy4.getTotalValue(Unknown Source)
[java] at bigbank.BigBankClient.main(BigBankClient.java:33)
[java] Caused by: org.apache.tuscany.sca.databinding.TransformationException: org.apache.tuscany.sca.databinding.Tr
ansformationException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'e' (code 101) in prolog; expe
cted '<'
[java] at [row,col {unknown-source}
]: [1,1]
[java] at org.apache.tuscany.sca.databinding.xml.XMLStreamReader2Node.transform(XMLStreamReader2Node.java:56)
[java] at org.apache.tuscany.sca.databinding.xml.XMLStreamReader2Node.transform(XMLStreamReader2Node.java:38)
[java] at org.apache.tuscany.sca.databinding.DefaultTransformerExtensionPoint$LazyPullTransformer.transform(Def
aultTransformerExtensionPoint.java:200)
[java] at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:81)
[java] at org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTran
sformer.java:249)
[java] at org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTran
sformer.java:45)
[java] at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:81)
[java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.transform(DataTransformati
onInterceptor.java:186)
[java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationI
nterceptor.java:76)
[java] at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
[java] at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.jav
a:107)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:287)
[java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
[java] at $Proxy8.calculate(Unknown Source)
[java] at bigbank.AccountServiceImpl.getTotalValue(AccountServiceImpl.java:74)
[java] ... 10 more
[java] Caused by: org.apache.tuscany.sca.databinding.TransformationException: com.ctc.wstx.exc.WstxUnexpectedCharEx
ception: Unexpected character 'e' (code 101) in prolog; expected '<'
[java] at [row,col
[java] at org.apache.tuscany.sca.databinding.xml.XMLStreamReader2SAX.transform(XMLStreamReader2SAX.java:66)
[java] at org.apache.tuscany.sca.databinding.xml.XMLStreamReader2Node.transform(XMLStreamReader2Node.java:46)
[java] ... 24 more
[java] Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'e' (code 101) in prolog; expe
cted '<'
[java] at [row,col {unknown-source}
]: [1,1]
[java] at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:623)
[java] at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
[java] at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
[java] at org.apache.tuscany.sca.databinding.xml.StAX2SAXAdapter.parse(StAX2SAXAdapter.java:142)
[java] at org.apache.tuscany.sca.databinding.xml.XMLStreamReader2SAX.transform(XMLStreamReader2SAX.java:63)
[java] ... 25 more
[java] Java Result: 1
Attachments
Issue Links
- is duplicated by
-
TUSCANY-2733 xml-bigbank demo fails to run
- Closed