[
https://issues.apache.org/jira/browse/TAP5-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257742#comment-14257742
]
Hudson commented on TAP5-2430:
------------------------------
SUCCESS: Integrated in tapestry-trunk-freestyle #1359 (See
[https://builds.apache.org/job/tapestry-trunk-freestyle/1359/])
TAP5-2430: Throw an exception in the case that the content type is null.
(hlship: rev 93fbe262a7611599ac8e6b525dc019cbbfb662a1)
*
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/assets/CompressionAnalyzerImpl.java
> 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
> Assignee: Howard M. Lewis Ship
> 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)