In Rhino/Java, a 404 status received from a resource generates and FileNotFound exception. Depending on the server action and content type, an error stream may or may not be available. This patch checks to ensure the stream is defined before attempting to read from it.
In Rhino/Java, a 404 status received from a resource generates and FileNotFound exception. Depending on the server action and content type, an error stream may or may not be available. This patch checks to ensure the stream is defined before attempting to read from it.