org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"", local:"cause"). Expected elements are <{}message>

Stack Overflow | daoud175 | 7 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

    Jboss-WS Unmarshalling Error: unexpected element

    Stack Overflow | 7 months ago | daoud175
    org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"", local:"cause"). Expected elements are <{}message>
  2. 0

    How to configure CXF for a single JAXBContext and for an automatic JAXBElement conversion?

    apache.org | 1 year ago
    org.apache.cxf.interceptor.Fault: Unmarshalling Error: unrecognized type name: {http://test/}b. Did you mean b? at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:881) at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:702)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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: unexpected element (uri:"", local:"cause"). Expected elements are <{}message>

      at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall()
    2. Apache CXF Runtime JAXB DataBinding
      DataReaderImpl.read
      1. org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:811)
      2. org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:629)
      3. org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:157)
      3 frames
    3. Apache CXF Core
      AbstractFaultChainInitiatorObserver.onMessage
      1. org.apache.cxf.interceptor.ClientFaultConverter.processFaultDetail(ClientFaultConverter.java:153)
      2. org.apache.cxf.interceptor.ClientFaultConverter.handleMessage(ClientFaultConverter.java:80)
      3. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
      4. org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:113)
      4 frames
    4. Apache CXF Runtime SOAP Binding
      CheckFaultInterceptor.handleMessage
      1. org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)
      2. org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)
      2 frames
    5. Apache CXF Core
      ClientImpl.onMessage
      1. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
      2. org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:800)
      2 frames
    6. Apache CXF Runtime HTTP Transport
      HTTPConduit$WrappedOutputStream.close
      1. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1704)
      2. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1537)
      3. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1445)
      3 frames
    7. Apache CXF Core
      AbstractConduit.close
      1. org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
      1 frame
    8. Apache CXF Runtime HTTP Transport
      HTTPConduit.close
      1. org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:660)
      1 frame
    9. 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:262)
      3. org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
      4. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
      5. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
      6. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
      6 frames
    10. Apache CXF Runtime Simple Frontend
      ClientProxy.invokeSync
      1. org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
      1 frame
    11. Apache CXF Runtime JAX-WS Frontend
      JaxWsClientProxy.invoke
      1. org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)
      1 frame
    12. com.sun.proxy
      $Proxy76.getCustInfo
      1. com.sun.proxy.$Proxy76.getCustInfo(Unknown Source)
      1 frame
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:754)[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:847)[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
      2 frames
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      2 frames