Bugs item #1166811, was opened at 2005-03-20 05:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1166811&group_id=119783

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gili Tzabari (cowwoc)
Assigned to: Nobody/Anonymous (nobody)
Summary: StaticImageResource throws useless exception

Initial Comment:
If a StaticImageResource cannot find a resource it
throws this exception:

wicket.WicketRuntimeException: Could not get resource
        wicket.Resource.setResource(Resource.java:185)
        wicket.Resource.getPath(Resource.java:101)
        
wicket.markup.html.image.resource.LocalizedImageResource.loadImageResource(LocalizedImageResource.java:138)
        wicket.markup.html.image.Image.onComponentTag(Image.java:97)
        wicket.Component.renderComponent(Component.java:1175)
        wicket.markup.html.WebComponent.onRender(WebComponent.java:63)
        wicket.Component.render(Component.java:851)
        wicket.MarkupContainer.renderNext(MarkupContainer.java:909)
[snip]

and nowhere down the long stack-trace does it specify
*which* image or component could not find the resource
so this makes it very difficult to track down any
broken link.

Expected behavior: specify the path to the component
that could not find the image and then which image
filename was expected.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1166811&group_id=119783


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to