Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3376

Exception while sending array of byte (byte[])

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3.2
    • 2.4, 2.3.4
    • Aegis Databinding
    • None

    Description

      Caused by: org.apache.cxf.aegis.DatabindingException: Couldn't instantiate class. [B. Nested exception is java.lang.InstantiationException: [B
      at org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:194) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.aegis.AegisXMLStreamDataReader.read(AegisXMLStreamDataReader.java:83) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.aegis.databinding.XMLStreamDataReader.read(XMLStreamDataReader.java:51) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.aegis.databinding.XMLStreamDataReader.read(XMLStreamDataReader.java:36) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.interceptor.DocLiteralInInterceptor.getPara(DocLiteralInInterceptor.java:251) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:127) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:755) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2335) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2193) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:2037) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:697) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) ~[cxf-bundle-2.3.2.jar:2.3.2]
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) ~[cxf-bundle-2.3.2.jar:2.3.2]
      ... 69 common frames omitted
      Caused by: java.lang.InstantiationException: [B
      at java.lang.Class.newInstance0(Class.java:340) ~[na:1.6.0_05]
      at java.lang.Class.newInstance(Class.java:308) ~[na:1.6.0_05]
      at org.apache.cxf.aegis.type.basic.BeanType.readObject(BeanType.java:136) ~[cxf-bundle-2.3.2.jar:2.3.2]
      ... 88 common frames omitted

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            cesnek Jara Cesnek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: