org.apache.cxf.interceptor.Fault: Unmarshalling Error:

apache.org | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hi, I'm having a class with following attributes {code} public class Profile{ private String appName; private String userName; private HashMap<String, byte[]> keyData = new HashMap<String, byte[]>(); @XmlJavaTypeAdapter(HashMapAdapter.class) public HashMap<String, byte[]> getKeyData() { return keyData; } // other methods....... } {code} I've defined adapter for hashmap as {code} public final class HashMapAdapter extends XmlAdapter<HashMapType, HashMap<String, byte[]>> { public HashMapType marshal(HashMap<String, byte[]> arg0) throws Exception { HashMapType myHashMapType = new HashMapType(); if(arg0 != null && arg0.size() > 0){ for(Entry<String, byte[]> entry : arg0.entrySet()) { if(entry != null){ HashMapEntryType myHashEntryType = new HashMapEntryType(); myHashEntryType.key = entry.getKey(); myHashEntryType.value = entry.getValue(); myHashMapType.entry.add(myHashEntryType); } } } return myHashMapType; } public HashMap<String, byte[]> unmarshal(HashMapType arg0) throws Exception { HashMap<String, byte[]> hashMap = new HashMap<String, byte[]>(); if(arg0 != null && arg0.entry != null){ for(HashMapEntryType myHashEntryType : arg0.entry) { if(myHashEntryType.key != null){ hashMap.put(myHashEntryType.key, myHashEntryType.value); } } } return hashMap; } } class HashMapEntryType { @XmlAttribute public String key; @XmlValue public byte[] value; } class HashMapType { public List<HashMapEntryType> entry = new ArrayList<HashMapEntryType>(); } {code} I've mtom-enabled set to true. When I access Profile class on the client side, I get exception as: {code} 08-Mar-2011 17:46:01 org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging WARNING: Interceptor for {http://wsapi.api.client.caseware.banctec.com/}WSAPIServiceService#{http://wsapi.api.client.caseware.banctec.com/}getUserProfile has thrown exception, unwinding now org.apache.cxf.interceptor.Fault: Unmarshalling Error: null at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:791) at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:632) at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:133) at org.apache.cxf.interceptor.DocLiteralInInterceptor.getPara(DocLiteralInInterceptor.java:251) at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:127) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255) at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:755) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2335) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2193) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:2037) at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47) at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:188) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:697) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) at $Proxy41.getUserProfile(Unknown Source) at com.banctec.caseware.client.api.wsapi.WSAPIServiceTest.testGetUserProfile(WSAPIServiceTest.java:739) at com.banctec.caseware.client.api.wsapi.WSAPIServiceTest.main(WSAPIServiceTest.java:800) Caused by: javax.xml.bind.UnmarshalException - with linked exception: [javax.xml.bind.UnmarshalException - with linked exception: [java.lang.NullPointerException]] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:425) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:362) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:339) at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:768) ... 23 more Caused by: javax.xml.bind.UnmarshalException - with linked exception: [java.lang.NullPointerException] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:642) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleError(UnmarshallingContext.java:671) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleError(UnmarshallingContext.java:667) at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.handleParseConversionException(Loader.java:267) at com.sun.xml.bind.v2.runtime.unmarshaller.ValuePropertyLoader.text(ValuePropertyLoader.java:73) at com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.text(StructureLoader.java:267) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.text(UnmarshallingContext.java:494) at com.sun.xml.bind.v2.runtime.unmarshaller.MTOMDecorator.startElement(MTOMDecorator.java:103) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:242) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:176) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:360) ... 25 more Caused by: javax.xml.bind.UnmarshalException - with linked exception: [java.lang.NullPointerException] ... 36 more Caused by: java.lang.NullPointerException at org.apache.cxf.attachment.LazyDataSource.getInputStream(LazyDataSource.java:67) at com.sun.xml.bind.v2.runtime.unmarshaller.Base64Data.get(Base64Data.java:188) at com.sun.xml.bind.v2.runtime.unmarshaller.Base64Data.getExact(Base64Data.java:154) at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.decodeBase64(RuntimeBuiltinLeafInfoImpl.java:827) at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.access$100(RuntimeBuiltinLeafInfoImpl.java:111) at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$15.parse(RuntimeBuiltinLeafInfoImpl.java:652) at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$15.parse(RuntimeBuiltinLeafInfoImpl.java:655) at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.parse(TransducedAccessor.java:241) at com.sun.xml.bind.v2.runtime.unmarshaller.ValuePropertyLoader.text(ValuePropertyLoader.java:63) ... 31 more Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error: null at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146) at $Proxy41.getUserProfile(Unknown Source) at com.banctec.caseware.client.api.wsapi.WSAPIServiceTest.testGetUserProfile(WSAPIServiceTest.java:739) at com.banctec.caseware.client.api.wsapi.WSAPIServiceTest.main(WSAPIServiceTest.java:800) Caused by: javax.xml.bind.UnmarshalException - with linked exception: [javax.xml.bind.UnmarshalException - with linked exception: [java.lang.NullPointerException]] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:425) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:362) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:339) at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:768) at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:632) at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:133) at org.apache.cxf.interceptor.DocLiteralInInterceptor.getPara(DocLiteralInInterceptor.java:251) at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:127) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255) at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:755) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2335) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2193) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:2037) at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47) at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:188) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:697) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) ... 3 more Caused by: javax.xml.bind.UnmarshalException - with linked exception: [java.lang.NullPointerException] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:642) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleError(UnmarshallingContext.java:671) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleError(UnmarshallingContext.java:667) at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.handleParseConversionException(Loader.java:267) at com.sun.xml.bind.v2.runtime.unmarshaller.ValuePropertyLoader.text(ValuePropertyLoader.java:73) at com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.text(StructureLoader.java:267) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.text(UnmarshallingContext.java:494) at com.sun.xml.bind.v2.runtime.unmarshaller.MTOMDecorator.startElement(MTOMDecorator.java:103) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:242) at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:176) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:360) ... 25 more Caused by: javax.xml.bind.UnmarshalException - with linked exception: [java.lang.NullPointerException] ... 36 more Caused by: java.lang.NullPointerException at org.apache.cxf.attachment.LazyDataSource.getInputStream(LazyDataSource.java:67) at com.sun.xml.bind.v2.runtime.unmarshaller.Base64Data.get(Base64Data.java:188) at com.sun.xml.bind.v2.runtime.unmarshaller.Base64Data.getExact(Base64Data.java:154) at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.decodeBase64(RuntimeBuiltinLeafInfoImpl.java:827) at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.access$100(RuntimeBuiltinLeafInfoImpl.java:111) at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$15.parse(RuntimeBuiltinLeafInfoImpl.java:652) at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$15.parse(RuntimeBuiltinLeafInfoImpl.java:655) at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.parse(TransducedAccessor.java:241) at com.sun.xml.bind.v2.runtime.unmarshaller.ValuePropertyLoader.text(ValuePropertyLoader.java:63) ... 31 more {code} I've also tried on cxf-2.3.3 it's same.. could anyone please tell me what's going wrong? here is in/out bound soap message log. 08-Mar-2011 17:46:00 org.apache.cxf.interceptor.AbstractLoggingInterceptor log INFO: Outbound Message --------------------------- ID: 2 Address: http://localhost:8080/webservice/services/WSAPI Encoding: UTF-8 Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:2c1e62c5-f595-466e-a0f8-1f753af20bfc"; start="<root.message@cxf.apache.org>"; start-info="text/xml" Headers: {SOAPAction=[""], Accept=[*/*]} Payload: --uuid:2c1e62c5-f595-466e-a0f8-1f753af20bfc Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"; Content-Transfer-Encoding: binary Content-ID: <root.message@cxf.apache.org> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:getUserProfile xmlns:ns1="http://wsapi.api.client.caseware.banctec.com/"><arg0><appName>efpViewer</appName><keyData/><userName>efpadmin</userName></arg0></ns1:getUserProfile></soap:Body></soap:Envelope> --uuid:2c1e62c5-f595-466e-a0f8-1f753af20bfc-- -------------------------------------- 08-Mar-2011 17:46:01 org.apache.cxf.interceptor.AbstractLoggingInterceptor log INFO: Inbound Message ---------------------------- ID: 2 Response-Code: 200 Encoding: ISO-8859-1 Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:c5104836-41db-45a5-9444-0c1f69df1876"; start="<root.message@cxf.apache.org>"; start-info="text/xml" Headers: {content-type=[multipart/related; type="application/xop+xml"; boundary="uuid:c5104836-41db-45a5-9444-0c1f69df1876"; start="<root.message@cxf.apache.org>"; start-info="text/xml"], Date=[Tue, 08 Mar 2011 17:46:00 GMT], transfer-encoding=[chunked], X-Powered-By=[Servlet 2.5; JBoss-5.0/JBossWeb-2.1], Server=[Apache-Coyote/1.1]} Payload: --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"; Content-Transfer-Encoding: binary Content-ID: <root.message@cxf.apache.org> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:getUserProfileResponse xmlns:ns1="http://wsapi.api.client.caseware.banctec.com/"><return><appName>efpViewer</appName><keyData><entry key="rootTreeObjectMasterSlave"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-1@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="rootTreeObjectDividerPosition"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-2@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="insetsRightUserProfileKey"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-3@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="insetsLeftUserProfileKey"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-4@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="annotationToolbarLayoutPosition"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-5@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="rootTreeObjectOnePageOnly"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-6@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="rootTreeObjectVerticalSplit"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-7@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="printHeaderPage"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-8@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="rootTreeObjectVerticalSplitCasePanelPosition"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-9@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="windowHeightUserProfileKey"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-10@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="insetsTopUserProfileKey"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-11@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="windowXPositionUserProfileKey"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-12@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="insetsBottomUserProfileKey"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-13@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="printEmptyPages"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-14@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="hideannotations"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-15@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="rootTreeObjectHorizontalSplitCasePanelPosition"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-16@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="showCasePanel"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-17@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="windowYPositionUserProfileKey"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-18@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="imageToolbarLayoutPosition"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-19@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="windowWidthUserProfileKey"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-20@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="rootTreeObjectLeftDividerPosition"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-21@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="imageToolbarLayoutDirection"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-22@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="annotationToolbarLayoutDirection"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-23@http%3A%2F%2Fcxf.apache.org%2F"/></entry><entry key="printWatermarks"><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:7e6c08e7-7db0-486a-81a9-38c9558a2807-24@http%3A%2F%2Fcxf.apache.org%2F"/></entry></keyData><userName>efpadmin</userName></return></ns1:getUserProfileResponse></soap:Body></soap:Envelope> --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-1@http://cxf.apache.org/> false --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-2@http://cxf.apache.org/> 250 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-3@http://cxf.apache.org/> 0 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-4@http://cxf.apache.org/> 4 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-5@http://cxf.apache.org/> 1 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-6@http://cxf.apache.org/> true --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-7@http://cxf.apache.org/> false --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-8@http://cxf.apache.org/> true --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-9@http://cxf.apache.org/> 350 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-10@http://cxf.apache.org/> 600.0 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-11@http://cxf.apache.org/> 44 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-12@http://cxf.apache.org/> 4.0 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-13@http://cxf.apache.org/> 0 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-14@http://cxf.apache.org/> true --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-15@http://cxf.apache.org/> false --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-16@http://cxf.apache.org/> 153 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-17@http://cxf.apache.org/> true --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-18@http://cxf.apache.org/> 50.0 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-19@http://cxf.apache.org/> 0 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-20@http://cxf.apache.org/> 800.0 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-21@http://cxf.apache.org/> 288 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-22@http://cxf.apache.org/> 1 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-23@http://cxf.apache.org/> 1 --uuid:c5104836-41db-45a5-9444-0c1f69df1876 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <7e6c08e7-7db0-486a-81a9-38c9558a2807-24@http://cxf.apache.org/> true --uuid:c5104836-41db-45a5-9444-0c1f69df1876-- --------------------------------------

    Apache's JIRA Issue Tracker | 6 years ago | Prasad Deshpande
    org.apache.cxf.interceptor.Fault: Unmarshalling Error: null
  2. 0

    Apache CXF - Code first Webservice - JAXBinding

    Stack Overflow | 5 years ago | George Krause
    org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"", local:"sessionKey"). Expected elements are (none)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Auto-generated Webservice call fails with unmarshalling error?

    Stack Overflow | 4 years ago | membersound
    org.apache.cxf.interceptor.Fault: Unmarshalling Error: unerwartetes Element (URI:"http://www.webserviceX.NET/", lokal:"ConversionRateResult"). Erwartete Elemente sind &lt;{}ConversionRateResult&gt;
  5. 0

    Is it possible to use a @XmlJavaTypeAdapter annotation to unmarshal a method's return value?

    Stack Overflow | 5 years ago | Big Rich
    org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"", local:"return"). Expected elements are (none)

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.cxf.interceptor.Fault

      Unmarshalling Error:

      at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall()
    2. Apache CXF Runtime JAXB DataBinding
      DataReaderImpl.read
      1. org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:791)
      2. org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:632)
      3. org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:133)
      3 frames
    3. Apache CXF Core
      ClientImpl.onMessage
      1. org.apache.cxf.interceptor.DocLiteralInInterceptor.getPara(DocLiteralInInterceptor.java:251)
      2. org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:127)
      3. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
      4. org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:755)
      4 frames
    4. Apache CXF Runtime HTTP Transport
      HTTPConduit$WrappedOutputStream.close
      1. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2335)
      2. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2193)
      3. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:2037)
      3 frames
    5. Apache CXF Core
      AbstractConduit.close
      1. org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47)
      2. org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:188)
      3. org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
      3 frames
    6. Apache CXF Runtime HTTP Transport
      HTTPConduit.close
      1. org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:697)
      1 frame
    7. Apache CXF Core
      ClientImpl.invoke
      1. org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
      2. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
      3. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)
      4. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
      5. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)
      5 frames
    8. Apache CXF Runtime Simple Frontend
      ClientProxy.invokeSync
      1. org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
      1 frame
    9. Apache CXF Runtime JAX-WS Frontend
      JaxWsClientProxy.invoke
      1. org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
      1 frame
    10. Unknown
      $Proxy41.getUserProfile
      1. $Proxy41.getUserProfile(Unknown Source)
      1 frame
    11. com.banctec.caseware
      WSAPIServiceTest.main
      1. com.banctec.caseware.client.api.wsapi.WSAPIServiceTest.testGetUserProfile(WSAPIServiceTest.java:739)
      2. com.banctec.caseware.client.api.wsapi.WSAPIServiceTest.main(WSAPIServiceTest.java:800)
      2 frames