Sling
  1. Sling
  2. SLING-2453

HtmlResponseProxy constructor always throws NPE

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Servlets Post 2.1.2
    • Component/s: Servlets
    • Labels:
      None

      Description

      The HtmlResponseProxy added for SLING-1725 cannot possibly work, its constructor will always throw an NPE due to the base class calling setCreateRequest(false) before the postResponse member is initialized.

        Issue Links

          Activity

          Hide
          Bertrand Delacretaz added a comment -

          Fixed in revision 1308838 (in a less-than-ideal way but I preferred not touching the base class which is part of the sling api bundle)

          Show
          Bertrand Delacretaz added a comment - Fixed in revision 1308838 (in a less-than-ideal way but I preferred not touching the base class which is part of the sling api bundle)

            People

            • Assignee:
              Bertrand Delacretaz
              Reporter:
              Bertrand Delacretaz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development