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());

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        60d 22h 31m 1 Arjen Poutsma 12/May/09 10:24 PM
        In Progress In Progress Resolved Resolved
        3m 15s 1 Arjen Poutsma 12/May/09 10:27 PM
        Resolved Resolved Closed Closed
        1087d 8h 36m 1 Arjen Poutsma 04/May/12 7:03 AM

          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: