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

org.apache.cxf.interceptor.Fault:Unmarshalling Error: Unexpected EOF; was expecting a close tag for element

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      Every now and then when we use our Web service for fetching a user profile (the same) on a back end server, we get the following error at the Interceptor. The first time we discovered this error was after an upgrade from CXF 2.3.1 to CXF 2.7.8.

      ... org.apache.cxf.interceptor.Fault: Unmarshalling Error: Unexpected EOF; was expecting a close tag for element <outXML> at [row,col

      {unknown-source}

      ]: [4590,49]
      at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:881)
      at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:702)
      at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:160)
      at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:107)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
      at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:835)
      at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1612)
      at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1503)
      at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1310)
      at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
      at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:628)
      at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
      at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:565)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:474)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:377)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:330)
      at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)
      at com.sun.proxy.$Proxy54.invoke(Unknown Source)

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            GeertZ Geert Zijlmans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: