Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-218

IllegalArgumentException "faultString cannot be empty"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2
    • Component/s: Core
    • Labels:
      None

      Description

      If there is a runtime exception on the server-side that doesn't have a message (e.g. NullPointerException) the client side
      gets an IllegalArgumentException "faultString cannot be empty". The exception seems to be coming from SaajSoap11Body.java, line 50.

      Could this be configured so the client always gets SOAP response even if the server had a runtime exception?

      Also in the above scenario the server-side doesn't show the original runtime exception but instead hides it by showing the IllegalArgumentException only.

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing 1.0.2 issues.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing 1.0.2 issues.

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            rstoya05-aop Rossen Stoyanchev
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: