cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-3376) Exception while sending array of byte (byte[])
Date Mon, 14 Mar 2011 21:12:29 GMT

    [ https://issues.apache.org/jira/browse/CXF-3376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006636#comment-13006636
] 

Benson Margulies commented on CXF-3376:
---------------------------------------

Dan, what did byte[] do to require a special case?

> Exception while sending array of byte (byte[]) 
> -----------------------------------------------
>
>                 Key: CXF-3376
>                 URL: https://issues.apache.org/jira/browse/CXF-3376
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.3.2
>            Reporter: Jara Cesnek
>            Assignee: Daniel Kulp
>            Priority: Critical
>             Fix For: 2.4, 2.3.4
>
>
> 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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message