Tuscany
  1. Tuscany
  2. TUSCANY-1060

SDO Serialzation Failing in BigBank.

    Details

      Description

      BigBank is failing cause it's now using the PassByValueInterceptor which is detects com.bigbank.account.impl.CustomerProfileDataImpl SDO generated class is Java Serializable; however during serialization it receives a ClassCastException. To reproduce run BigBank see readme.html in directory java\sampleapps\bigbank

      Stack trace :
      Daemon Thread [http-8090-Processor25] (Suspended)
      org.apache.tuscany.databinding.sdo.SDODataBinding(org.apache.tuscany.spi.databinding.extension.DataBindingExtension).copy(java.lang.Object) line: 149
      org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.copy(java.lang.Object, org.apache.tuscany.spi.databinding.DataBinding) line: 106
      org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.invoke(org.apache.tuscany.spi.wire.Message) line: 71
      org.apache.tuscany.core.wire.SynchronousBridgingInterceptor.invoke(org.apache.tuscany.spi.wire.Message) line: 41
      org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler(org.apache.tuscany.spi.wire.AbstractOutboundInvocationHandler).invoke(org.apache.tuscany.spi.wire.OutboundInvocationChain, org.apache.tuscany.spi.wire.TargetInvoker, java.lang.Object[], java.lang.Object, java.util.LinkedList<java.lang.Object>) line: 91
      org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder(org.apache.axiom.om.impl.builder.StAXOMBuilder).<init>(javax.xml.stream.XMLStreamReader) line: 95
      org.apache.axiom.om.impl.builder.StAXOMBuilder.<init>(java.io.InputStream) line: 86
      org.apache.tuscany.databinding.axiom.AxiomDataBinding.copy(java.lang.Object) line: 62
      org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.copy(java.lang.Object, org.apache.tuscany.spi.databinding.DataBinding) line: 106
      org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.invoke(org.apache.tuscany.spi.wire.Message) line: 71
      org.apache.tuscany.core.wire.SynchronousBridgingInterceptor.invoke(org.apache.tuscany.spi.wire.Message) line: 41
      org.apache.tuscany.core.databinding.impl.DataBindingInteceptor.invoke(org.apache.tuscany.spi.wire.Message) line: 71
      org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler(org.apache.tuscany.spi.wire.AbstractOutboundInvocationHandler).invoke(org.apache.tuscany.spi.wire.OutboundInvocationChain, org.apache.tuscany.spi.wire.TargetInvoker, java.lang.Object[], java.lang.Object, java.util.LinkedList<java.lang.Object>) line: 91
      org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) line: 166
      $Proxy43.getCustomerProfile(java.lang.String) line: not available
      bigbank.webclient.services.account.AccountServiceComponentImpl.getCustomerProfile(java.lang.String) line: 73
      sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) line: not available [native method]
      sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line: 39
      sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line: 25
      java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 585
      org.apache.tuscany.core.implementation.java.JavaTargetInvoker.invokeTarget(java.lang.Object, short) line: 93
      org.apache.tuscany.core.implementation.java.JavaTargetInvoker(org.apache.tuscany.spi.extension.TargetInvokerExtension).invoke(org.apache.tuscany.spi.wire.Message) line: 67
      org.apache.tuscany.core.wire.InvokerInterceptor.invoke(org.apache.tuscany.spi.wire.Message) line: 44
      org.apache.tuscany.core.databinding.impl.PassByValueInterceptor.invoke(org.apache.tuscany.spi.wire.Message) line: 68
      org.apache.tuscany.core.wire.SynchronousBridgingInterceptor.invoke(org.apache.tuscany.spi.wire.Message) line: 41
      org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler(org.apache.tuscany.spi.wire.AbstractOutboundInvocationHandler).invoke(org.apache.tuscany.spi.wire.OutboundInvocationChain, org.apache.tuscany.spi.wire.TargetInvoker, java.lang.Object[], java.lang.Object, java.util.LinkedList<java.lang.Object>) line: 91
      org.apache.tuscany.core.wire.jdk.JDKOutboundInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) line: 166
      $Proxy43.getCustomerProfile(java.lang.String) line: not available
      bigbank.webclient.services.profile.AccountLoginServiceImpl.login(java.lang.String, java.lang.String) line: 50
      sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) line: not available [native method]
      sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line: 39
      sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line: 25
      java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 585
      org.apache.tuscany.core.implementation.java.JavaTargetInvoker.invokeTarget(java.lang.Object, short) line: 93
      org.apache.tuscany.core.implementation.java.JavaTargetInvoker(org.apache.tuscany.spi.extension.TargetInvokerExtension).invoke(org.apache.tuscany.spi.wire.Message) line: 67
      org.apache.tuscany.core.wire.InvokerInterceptor.invoke(org.apache.tuscany.spi.wire.Message) line: 44
      org.apache.tuscany.core.wire.jdk.JDKInboundInvocationHandler(org.apache.tuscany.spi.wire.AbstractInboundInvocationHandler).invoke(org.apache.tuscany.spi.wire.InboundInvocationChain, org.apache.tuscany.spi.wire.TargetInvoker, java.lang.Object[]) line: 45
      org.apache.tuscany.core.wire.jdk.JDKInboundInvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]) line: 122
      $Proxy41.login(java.lang.String, java.lang.String) line: not available

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Rick Rineholt
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development