Exception in Test set: echo.DataBindingIntegrationTestCase
----------------------------------------------------------

                 Key: TUSCANY-989
                 URL: http://issues.apache.org/jira/browse/TUSCANY-989
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core
    Affects Versions: Java-M1
            Reporter: Rick Rineholt
             Fix For: Java-M2


The following exception is happening in 
E:\dev\tuscany\java\samples\sca\echo.databinding testcase:
something with the lastest passbyvalue code and the tc having non-serializable 
data
PER IRC chat: I think we need  to fix the pass-by-value code to support 
OMElement in this case
-------------------------------------------------------------------------------
Test set: echo.DataBindingIntegrationTestCase
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.735 sec <<< 
FAILURE!
testTransform(echo.DataBindingIntegrationTestCase)  Time elapsed: 1.688 sec  
<<< ERROR!
java.lang.IllegalArgumentException: Pass-by-value is not supported for the 
given object
        at 
org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.copy(PassByValueInterceptor.java:126)
        at 
org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.copy(PassByValueInterceptor.java:79)
        at 
org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.invoke(PassByValueInterceptor.java:49)
        at 
org.apache.tuscany.core.wire.SynchronousBridgingInterceptor.invoke(SynchronousBridgingInterceptor.java:41)
        at 
org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.invoke(DataBindingInteceptor.java:70)
        at 
org.apache.tuscany.spi.wire.AbstractOutboundInvocationHandler.invoke(AbstractOutboundInvocationHandler.java:91)
        at 
org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler.invoke(JDKOutboundInvocationHandler.java:149)
        at $Proxy22.echo(Unknown Source)
        at echo.ComponentBImpl.call(ComponentBImpl.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.apache.tuscany.core.implementation.java.JavaTargetInvoker.invokeTarget(JavaTargetInvoker.java:89)
        at 
org.apache.tuscany.spi.extension.TargetInvokerExtension.invoke(TargetInvokerExtension.java:65)
        at 
org.apache.tuscany.core.wire.InvokerInterceptor.invoke(InvokerInterceptor.java:44)
        at 
org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.invoke(PassByValueInterceptor.java:50)
        at 
org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.invoke(PassByValueInterceptor.java:50)
        at 
org.apache.tuscany.core.wire.SynchronousBridgingInterceptor.invoke(SynchronousBridgingInterceptor.java:41)
        at 
org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.invoke(DataBindingInteceptor.java:70)
        at 
org.apache.tuscany.spi.wire.AbstractOutboundInvocationHandler.invoke(AbstractOutboundInvocationHandler.java:91)
        at 
org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler.invoke(JDKOutboundInvocationHandler.java:149)
        at $Proxy21.call(Unknown Source)
        at echo.ComponentAImpl.call(ComponentAImpl.java:50)
        at 
echo.DataBindingIntegrationTestCase.testTransform(DataBindingIntegrationTestCase.java:34)
Caused by: java.lang.IllegalArgumentException: Pass-by-value is not supported 
for the given object
        at 
org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.copy(PassByValueInterceptor.java:123)
        ... 50 more



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to