1 Reply Latest reply on Aug 10, 2015 2:42 PM by Simon Kao

    javax.xml.bind.UnmarshalException: For input string: "" in Jboss 5.2 EAP.

    Simon Kao Newbie

      Hi All,

       

      I got this error when using the Jboss 5.2 EAP.

       

      Please help.

       

      Thanks,

      Simon

       

      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">

         <env:Header/>

         <env:Body>

            <env:Fault>

               <faultcode>env:Server</faultcode>

               <faultstring>javax.xml.bind.UnmarshalException: For input string: ""

      - with linked exception:

      [java.lang.NumberFormatException: For input string: ""]</faultstring>

            </env:Fault>

         </env:Body>

      </env:Envelope>

       

       

       

      Error logs:

       

      08-09-2015 23:40:44.573 ERROR http-0.0.0.0-8080-1

       

       

      Method invocation failed with exception:
      javax.xml.bind.UnmarshalException: For input string: ""

       

       

      - with linked exception:

       

       

      [java.lang.NumberFormatException: For input
      string: ""]

       

       

       

       

       

      1. javax.xml.ws.WebServiceException:
        javax.xml.bind.UnmarshalException: For input string: ""

       

       

      - with linked exception:

       

       

      [java.lang.NumberFormatException: For input
      string: ""]

       

       

              at
      org.jboss.ws.core.jaxws.JAXBDeserializer.handleUnmarshallException(JAXBDeserializer.java:141)

       

       

              at
      org.jboss.ws.core.jaxws.JAXBDeserializer.deserialize(JAXBDeserializer.java:85)

       

       

              at
      org.jboss.ws.core.binding.DeserializerSupport.deserialize(DeserializerSupport.java:61)

       

       

              at
      org.jboss.ws.core.soap.XMLContent.unmarshallObjectContents(XMLContent.java:179)

       

       

              at
      org.jboss.ws.core.soap.XMLContent.transitionTo(XMLContent.java:96)

       

       

              at
      org.jboss.ws.core.soap.SOAPContentElement.transitionTo(SOAPContentElement.java:140)

       

       

              at
      org.jboss.ws.core.soap.SOAPBodyElementDoc.transitionTo(SOAPBodyElementDoc.java:88)

       

       

              at
      org.jboss.ws.core.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:172)

       

       

              at
      org.jboss.ws.core.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:273)

       

       

              at
      org.jboss.ws.core.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:115)

       

       

              at
      org.jboss.ws.core.EndpointInvocation.getRequestPayload(EndpointInvocation.java:135)

       

       

              at
      org.jboss.ws.core.server.DelegatingInvocation.getArgs(DelegatingInvocation.java:80)

       

       

              at
      org.jboss.wsf.container.jboss50.invocation.AbstractInvocationHandlerJSE.invoke(AbstractInvocationHandlerJSE.java:96)

       

       

              at
      org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:241)

       

       

              at
      org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:470)

       

       

              at
      org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:294)

       

       

              at
      org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:203)

       

       

              at
      org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:129)

       

       

              at
      org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)

       

       

              at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

       

       

              at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

       

       

              at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

       

       

              at
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

       

       

              at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

       

       

              at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

       

       

              at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

       

       

              at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

       

       

              at
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

       

       

              at
      org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

       

       

              at
      org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

       

       

              at
      org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

       

       

              at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

       

       

              at
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

       

       

              at
      org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

       

       

              at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

       

       

              at
      org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

       

       

              at
      org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

       

       

              at
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

       

       

              at
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

       

       

              at
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

       

       

              at
      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

       

       

              at
      java.lang.Thread.run(Thread.java:724)

       

       

      Caused by: javax.xml.bind.UnmarshalException: For
      input string: ""

       

       

      - with linked exception:

       

       

      [java.lang.NumberFormatException: For input
      string: ""]

       

       

              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.LeafPropertyLoader.text(LeafPropertyLoader.java:65)

       

       

              at
      com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.text(UnmarshallingContext.java:494)

       

       

              at
      com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.text(InterningXmlVisitor.java:89)

       

       

              at
      com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.processText(SAXConnector.java:179)