You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2014/12/18 20:03:13 UTC

[jira] [Updated] (TAP5-2430) CompressionAnalyzer should provide a reasonable exception when the content type is null

     [ https://issues.apache.org/jira/browse/TAP5-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAP5-2430:
---------------------------------------
    Summary: CompressionAnalyzer should provide a reasonable exception when the content type is null  (was: CompressionAnalyzer doesn't allow for null content types)

> CompressionAnalyzer should provide a reasonable exception when the content type is null
> ---------------------------------------------------------------------------------------
>
>                 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)