Hi,

I attached a patch. Can somebody try it on Linux to see if it helps? (I'm fine to document it as limitation for 1.0).

Thanks,
Raymond

----- Original Message ----- From: "ant elder (JIRA)" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 18, 2007 5:13 PM
Subject: [jira] Closed: (TUSCANY-1750) Databinding-echo sample fails with an Exception



[ https://issues.apache.org/jira/browse/TUSCANY-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder closed TUSCANY-1750.
------------------------------

   Resolution: Fixed

Documented limitation

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to