Error when accessing files not found from a bundle

Bug #365123 reported by Samppa Saarela
2
Affects Status Importance Assigned to Milestone
Webmin
New
Undecided
Unassigned

Bug Description

The error that arises from an attempt to access files not found from the given bundle is quite confucing (in FF): "Content Encoding Error". Why not give 404 - file not found from the given bundle?

Revision history for this message
Samppa Saarela (samppa-saarela) wrote :

On the server side this shows as NPE:

java.lang.NullPointerException
 at com.mysema.webmin.impl.MinifierHandler.getStreamForResource(MinifierHandler.java:79)
 at com.mysema.webmin.impl.MinifierHandler.streamBundle(MinifierHandler.java:205)
 at com.mysema.webmin.impl.MinifierHandler.handle(MinifierHandler.java:147)
 at com.mysema.webmin.MinifierServlet.service(MinifierServlet.java:81)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.