java.lang.IllegalArgumentException: faultCode argument for createFault was passed NULL

JBoss Issue Tracker | Alessio Soldano | 8 years ago
  1. 0

    [JBWS-2308] faultCode argument for createFault was passed NULL - JBoss Issue Tracker

    jboss.org | 1 year ago
    java.lang.IllegalArgumentException: faultCode argument for createFault was passed NULL
  2. 0

    [JBWS-2308] faultCode argument for createFault was passed NULL - JBoss Issue Tracker

    jboss.org | 1 year ago
    java.lang.IllegalArgumentException: faultCode argument for createFault was passed NULL
  3. 0

    When using client logical handlers and throwing SOAPFaultException from one of them after having accessed the message's payload through the LogicalMessageContext, we get the following exception during exception unmarshalling: java.lang.IllegalArgumentException: faultCode argument for createFault was passed NULL at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl.createFault(SOAPFactory1_1Impl.java:87) at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:179) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118) This causes a different runtime exception to received on the client (instead of the one created by the handler). This also causes the following cts tests to fail: com/sun/ts/tests/jaxws/api/javax_xml_ws_handler/LogicalHandler/Client.java#ClientLogicalOutboundHandleFaultFalseTest_from_wsappclient com/sun/ts/tests/jaxws/api/javax_xml_ws_handler/LogicalHandler/Client.java#ClientLogicalOutboundHandleFaultFalseTest_from_wsejb com/sun/ts/tests/jaxws/api/javax_xml_ws_handler/LogicalHandler/Client.java#ClientLogicalOutboundHandleFaultFalseTest_from_wsservlet com/sun/ts/tests/jaxws/api/javax_xml_ws_handler/LogicalHandler/Client.java#ServerLogicalInboundHandleFaultFalseTest_from_wsappclient com/sun/ts/tests/jaxws/api/javax_xml_ws_handler/LogicalHandler/Client.java#ServerLogicalInboundHandleFaultFalseTest_from_wsejb com/sun/ts/tests/jaxws/api/javax_xml_ws_handler/LogicalHandler/Client.java#ServerLogicalInboundHandleFaultFalseTest_from_wsservlet com/sun/ts/tests/jaxws/api/javax_xml_ws_handler_soap/SOAPHandler/Client.java#ClientSOAPOutboundHandleMessageThrowsSOAPFaultExceptionTest_from_wsappclient com/sun/ts/tests/jaxws/api/javax_xml_ws_handler_soap/SOAPHandler/Client.java#ClientSOAPOutboundHandleMessageThrowsSOAPFaultExceptionTest_from_wsejb com/sun/ts/tests/jaxws/api/javax_xml_ws_handler_soap/SOAPHandler/Client.java#ClientSOAPOutboundHandleMessageThrowsSOAPFaultExceptionTest_from_wsservlet

    JBoss Issue Tracker | 8 years ago | Alessio Soldano
    java.lang.IllegalArgumentException: faultCode argument for createFault was passed NULL
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tech Stuff that I encountered: JAX-WS: ORA-31011

    g00se.org | 1 year ago
    java.lang.IllegalArgumentException: faultCode argument for createFault was passed NULL
  6. 0

    Tech Stuff that I encountered: January 2008

    g00se.org | 1 year ago
    java.lang.IllegalArgumentException: faultCode argument for createFault was passed NULL

    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. java.lang.IllegalArgumentException

      faultCode argument for createFault was passed NULL

      at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl.createFault()
    2. Metro Web Services Runtime OSGi Bundle
      SOAPFactory1_1Impl.createFault
      1. com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl.createFault(SOAPFactory1_1Impl.java:87)
      1 frame
    3. JAX-WS RI Runtime Bundle
      SEIStub.invoke
      1. com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:179)
      2. com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
      3. com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
      4. com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
      5. com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
      5 frames