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

Re: eliminate render blocking javascript and css above the fold content

2014-12-09 Thread George Christman
On Tue, Dec 9, 2014 at 11:45 AM, Howard Lewis Ship wrote: > One idea that may come after 5.4 is the ability to aggregate CSS as well as > JavaScript. That would help, reducing this to a couple of requests, rather > than eight. > That would be great. > > Bear in mind that this is all first-time

Re: eliminate render blocking javascript and css above the fold content

2014-12-09 Thread Howard Lewis Ship
One idea that may come after 5.4 is the ability to aggregate CSS as well as JavaScript. That would help, reducing this to a couple of requests, rather than eight. Bear in mind that this is all first-time loading issues. Any subsequent visit will find that all those assets are already in local brow

Re: Tapestry 5 and Hibernate (Session handling)

2014-12-09 Thread Thiago H de Paula Figueiredo
On Tue, 09 Dec 2014 12:45:34 -0200, Stefan Böcker wrote: Hi, Hi! Now I want to use the session handling of the third-party library. Is there any way to tell Tapestry not to handle the Hibernate-session the default way, but to use some session-handling logic that I (or some third-party libra

Tapestry 5 and Hibernate (Session handling)

2014-12-09 Thread Stefan Böcker
Hi, I am new to Tapestry 5 and currently working on a simple web application that makes use of Hibernate. Injecting Hibernate-sessions in pages is simple and works fine, however for my little web application I have to use the session handling of some third-party library, that is part of my applic