You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Stefan Mandel (JIRA)" <ji...@apache.org> on 2011/07/08 17:04:17 UTC

[jira] [Created] (WICKET-3880) Reference to a non-existing images causes IllegalStateException "ResourceResponse#setWriteCallback() must be set."

Reference to a non-existing images causes IllegalStateException "ResourceResponse#setWriteCallback() must be set."
------------------------------------------------------------------------------------------------------------------

                 Key: WICKET-3880
                 URL: https://issues.apache.org/jira/browse/WICKET-3880
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core
    Affects Versions: 1.5-RC5.1
            Reporter: Stefan Mandel
         Attachments: BugPage.html, BugPage.java

A Page containing a PackageResourceReference to a nonexisting image fails with an Illegalstateexception. 

Debugging through the code reveals that hust before this exception a 404 HTTP Code ist set. This 404 gets hidden by the exception.

I could not script a unittest for this problem, but it is easily reproduced in my browsers (Firefox 4, IE 8). A page class and html will be attached



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-3880) Reference to a non-existing images causes IllegalStateException "ResourceResponse#setWriteCallback() must be set."

Posted by "Stefan Mandel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Mandel updated WICKET-3880:
----------------------------------

    Attachment: BugPage.html
                BugPage.java

> Reference to a non-existing images causes IllegalStateException "ResourceResponse#setWriteCallback() must be set."
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-3880
>                 URL: https://issues.apache.org/jira/browse/WICKET-3880
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC5.1
>            Reporter: Stefan Mandel
>         Attachments: BugPage.html, BugPage.java
>
>
> A Page containing a PackageResourceReference to a nonexisting image fails with an Illegalstateexception. 
> Debugging through the code reveals that hust before this exception a 404 HTTP Code ist set. This 404 gets hidden by the exception.
> I could not script a unittest for this problem, but it is easily reproduced in my browsers (Firefox 4, IE 8). A page class and html will be attached

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-3880) Reference to a non-existing images causes IllegalStateException "ResourceResponse#setWriteCallback() must be set."

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-3880.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC6
         Assignee: Martin Grigorov

> Reference to a non-existing images causes IllegalStateException "ResourceResponse#setWriteCallback() must be set."
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-3880
>                 URL: https://issues.apache.org/jira/browse/WICKET-3880
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC5.1
>            Reporter: Stefan Mandel
>            Assignee: Martin Grigorov
>             Fix For: 1.5-RC6
>
>         Attachments: BugPage.html, BugPage.java
>
>
> A Page containing a PackageResourceReference to a nonexisting image fails with an Illegalstateexception. 
> Debugging through the code reveals that hust before this exception a 404 HTTP Code ist set. This 404 gets hidden by the exception.
> I could not script a unittest for this problem, but it is easily reproduced in my browsers (Firefox 4, IE 8). A page class and html will be attached

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira