Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2430

CompressionAnalyzer should provide a reasonable exception when the content type is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.4
    • 5.4
    • tapestry-core
    • None

    Description

      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

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            gchristman George Christman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: