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