You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "George Christman (JIRA)" <ji...@apache.org> on 2014/12/16 14:44:13 UTC

[jira] [Created] (TAP5-2430) CompressionAnalyzer doesn't allow for null content types

George Christman created TAP5-2430:
--------------------------------------

             Summary: CompressionAnalyzer doesn't allow for null content types
                 Key: TAP5-2430
                 URL: https://issues.apache.org/jira/browse/TAP5-2430
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.4
            Reporter: George Christman


CompressionAnalyzer should probably return false on a null content type rather than throw an exception. 

Caused by: java.lang.NullPointerException at org.apache.tapestry5.internal.
services.assets.CompressionAnalyzerImpl.isCompressable(CompressionAnalyzerImpl.java:32)
at $CompressionAnalyzer_10e85f85a5.isCompressable(Unknown Source) at
org.apache.tapestry5.internal.gzip.BufferedGZipOutputStream.openResponseOutputStream(BufferedGZipOutputStream.java:77) 

http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/CompressionAnalyzerImpl-exception-td5729486.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)