Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4983

Response.getStatusInfo does not work if the status code can not be mapped to Status enum

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.5, 3.0.0-milestone1
    • JAX-RS
    • None
    • Unknown

    Description

      Response.status(499).build().getStatusInfo() methods will throw NPE due to 499 (or other code with no matching Status enum) being mapped to a null Status

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: