You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "haleh mahbod (JIRA)" <tu...@ws.apache.org> on 2007/09/18 19:42:44 UTC
[jira] Commented: (TUSCANY-1750) Databinding-echo sample fails with
an Exception
[ https://issues.apache.org/jira/browse/TUSCANY-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528464 ]
haleh mahbod commented on TUSCANY-1750:
---------------------------------------
I just ran this on windows xp and it works!
C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\databinding-echo>ant
run
Buildfile: build.xml
run:
[java] [Property] prefix: ABC
[java] [Property] prefix1: ABC
[java] [Property] bar: BAR
[java] ComponentA --> Received message: <message><foo>123</foo></message> [
java.lang.String]
[java] ComponentB --> Received message: [#document: null] [org.apache.xerce
s.dom.DeferredDocumentImpl]
[java] Passing thro invoker...
[java] ComponentB --> Returned message: [#document: null] [org.apache.xerce
s.dom.DeferredDocumentImpl]
[java] ComponentA --> Returned message: <?xml version="1.0" encoding="UTF-8
"?><message><foo>123</foo></message> [java.lang.String]
[java] [Property] prefix: ABC
[java] [Property] prefix1: ABC
[java] [Property] bar: BAR
[java] ComponentA --> Received message: <message><foo>123</foo></message> [
java.lang.String]
[java] ComponentB --> Received message: com.ctc.wstx.sr.ValidatingStreamRea
der@205756 [com.ctc.wstx.sr.ValidatingStreamReader]
[java] ComponentB --> Returned message: com.ctc.wstx.sr.ValidatingStreamRea
der@205756 [com.ctc.wstx.sr.ValidatingStreamReader]
[java] ComponentA --> Returned message: <?xml version='1.0' encoding='UTF-8
'?><message><foo>123</foo></message> [java.lang.String]
[java] call response = <?xml version="1.0" encoding="UTF-8"?><message><foo
>123</foo></message>
[java] call1 response = <?xml version='1.0' encoding='UTF-8'?><message><foo
>123</foo></message>
BUILD SUCCESSFUL
Total time: 4 seconds
C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\databinding-echo>
> Databinding-echo sample fails with an Exception
> -----------------------------------------------
>
> Key: TUSCANY-1750
> URL: https://issues.apache.org/jira/browse/TUSCANY-1750
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Data Binding Runtime
> Affects Versions: Java-SCA-1.0
> Reporter: Jean-Sebastien Delfino
> Fix For: Java-SCA-1.0
>
>
> The databinding-echo sample fails with the following exception:
> [java] ComponentA --> Received message: <message><foo>123</foo></message> [java.lang.String]
> [java] Exception in thread "main" java.lang.NullPointerException
> [java] at org.apache.tuscany.sca.implementation.java.context.ReflectiveInstanceFactory.newInstance(ReflectiveInstanceFactory.java:58)
> [java] at org.apache.tuscany.sca.implementation.java.invocation.JavaComponentContextProvider.createInstanceWrapper(JavaComponentContextProvider.java:93)
> [java] at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationProvider.createInstanceWrapper(JavaImplementationProvider.java:158)
> [java] at org.apache.tuscany.sca.core.scope.AbstractScopeContainer.createInstanceWrapper(AbstractScopeContainer.java:65)
> [java] at org.apache.tuscany.sca.core.scope.StatelessScopeContainer.getWrapper(StatelessScopeContainer.java:38)
> [java] at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:85)
> [java] at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73)
> [java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> [java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> [java] at $Proxy6.call(Unknown Source)
> [java] at dbecho.ComponentAImpl.call(ComponentAImpl.java:41)
> [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(JavaImplementationInvoker.java:105)
> [java] at org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(PassByValueInteceptor.java:49)
> [java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> [java] at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> [java] at $Proxy6.call(Unknown Source)
> [java] at dbecho.EchoDataBindingClient.main(EchoDataBindingClient.java:34)
> [java] Java Result: 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org