You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (Created) (JIRA)" <ji...@apache.org> on 2012/04/03 12:12:24 UTC

[jira] [Created] (SLING-2453) HtmlResponseProxy constructor always throws NPE

HtmlResponseProxy constructor always throws NPE
-----------------------------------------------

                 Key: SLING-2453
                 URL: https://issues.apache.org/jira/browse/SLING-2453
             Project: Sling
          Issue Type: Bug
          Components: Servlets
            Reporter: Bertrand Delacretaz
            Assignee: Bertrand Delacretaz
            Priority: Minor
             Fix For: Servlets Post 2.1.2


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.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (SLING-2453) HtmlResponseProxy constructor always throws NPE

Posted by "Bertrand Delacretaz (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-2453.
----------------------------------------

    Resolution: Fixed

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)
                
> HtmlResponseProxy constructor always throws NPE
> -----------------------------------------------
>
>                 Key: SLING-2453
>                 URL: https://issues.apache.org/jira/browse/SLING-2453
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Servlets Post 2.1.2
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira