Re: CompressionAnalyzerImpl exception

2014-12-16 Thread George Christman
All set, thanks guys. https://issues.apache.org/jira/browse/TAP5-2430 On Mon, Dec 15, 2014 at 5:24 PM, Kalle Korhonen wrote: > > On Mon, Dec 15, 2014 at 12:35 PM, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: > > > > On Mon, 15 Dec 2014 12:05:52 -0200, George Christman < > > gchris

Re: CompressionAnalyzerImpl exception

2014-12-15 Thread Kalle Korhonen
On Mon, Dec 15, 2014 at 12:35 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > > On Mon, 15 Dec 2014 12:05:52 -0200, George Christman < > gchrist...@cardaddy.com> wrote: > >> Howard, you were correct. the MIME type was null. CompressionAnalyzerImpl >> was failing on line 32 do to con

Re: CompressionAnalyzerImpl exception

2014-12-15 Thread Thiago H de Paula Figueiredo
On Mon, 15 Dec 2014 12:05:52 -0200, George Christman wrote: Howard, you were correct. the MIME type was null. CompressionAnalyzerImpl was failing on line 32 do to contentType being null. As you stated, this NPE is a failure and should probably be checked and thrown with a proper message. I en

Re: CompressionAnalyzerImpl exception

2014-12-15 Thread George Christman
Howard, you were correct. the MIME type was null. CompressionAnalyzerImpl was failing on line 32 do to contentType being null. As you stated, this NPE is a failure and should probably be checked and thrown with a proper message. I ended up having to override the service in order to resolve the issu

Re: CompressionAnalyzerImpl exception

2014-12-09 Thread George Christman
So tonight I was playing around on the site and I noticed I somehow was able to triggered this exception. If it didn't appear in the logs, it would have gone completely unnoticed. Now I will say I logged in using facebook which uses oauth and at some point during the login process, this exception w

Re: CompressionAnalyzerImpl exception

2014-12-09 Thread Howard Lewis Ship
Well, right off the bat, any NPE like this (with no additional message to explain it) is a failure. Was there anything special about the page being rendered? It seems like the MIME type of the page is null, that's what might cause this NPE. On Tue, Dec 9, 2014 at 11:01 AM, George Christman wrot

CompressionAnalyzerImpl exception

2014-12-09 Thread George Christman
I just started using gzip etc and I'm not getting the following exception. Does anybody know what it means or how to fix it? Caused by: java.lang.NullPointerException at org.apache.tapestry5.internal. services.assets.CompressionAnalyzerImpl.isCompressable(CompressionAnalyzerImpl.java:32) at $Compr