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

AbstractHttpSenderConnection getErrorMessage()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.6
    • Fix Version/s: 1.5.7
    • Component/s: Core
    • Labels:
      None
    • Environment:
      winXP sp3, jdk1.5.0_14, tomcat 6

      Description

      I have situation where AbstractHttpSenderConnection.getResponseMessage() returns null which results in NullPointerException at AbstractHttpSenderConnection.getErrorMessage() due to the construcor of StringBuffer ( when passed String to the StringBuffer it tries to get it's length ) I can't imagine why null is not casted to "null"

      StringBuffer buffer = new StringBuffer(getResponseMessage());

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              pakopako pavlin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: