[ 
https://issues.apache.org/jira/browse/TAP5-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257704#comment-14257704
 ] 

ASF subversion and git services commented on TAP5-2430:
-------------------------------------------------------

Commit 93fbe262a7611599ac8e6b525dc019cbbfb662a1 in tapestry-5's branch 
refs/heads/master from [~hlship]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=93fbe26 ]

TAP5-2430: Throw an exception in the case that the content type is null.


> 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
>             Fix For: 5.4
>
>
> 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)

Reply via email to