Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-4066

WrapperInfo clone does not copy for unwrappedType datatype

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Java-SCA-2.0
    • Java-SCA-2.0
    • None
    • All

    Description

      The WapperInfo clone does not do a deep copy of unwrappedType datatype. This seemed to have regressed after Tuscany-3890. I will be sending in the fix to Ant. With this bug, one would see a ClassCastException such as the following

      java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl incompatible with org.apache.axiom.om.OMElement
      at org.apache.tuscany.sca.databinding.axiom.OMElementWrapperHandler.setChild(OMElementWrapperHandler.java:91)
      at org.apache.tuscany.sca.databinding.axiom.OMElementWrapperHandler.setChildren(OMElementWrapperHandler.java:77)
      at org.apache.tuscany.sca.databinding.axiom.OMElementWrapperHandler.setChildren(OMElementWrapperHandler.java:50)
      at org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTransformer.java:213)
      at org.apache.tuscany.sca.core.databinding.transformers.Input2InputTransformer.transform(Input2InputTransformer.java:46)
      at org.apache.tuscany.sca.databinding.DefaultTransformerExtensionPoint$LazyPullTransformer.transform(DefaultTransformerExtensionPoint.java:209)
      at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:116)
      at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediateInput(MediatorImpl.java:444)
      at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.processRequest(DataTransformationInterceptor.java:69)
      at org.apache.tuscany.sca.core.invocation.InterceptorAsyncImpl.invokeAsyncRequest(InterceptorAsyncImpl.java:65)

      Attachments

        Activity

          People

            Unassigned Unassigned
            asundar Hasan Muhammad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: