Re: ServletOutputStream gives null pointer in v5.1.0.5 but not in v5.0.18

2009-08-31 Thread Marinus Maris
Solved it. I should have checked the Tapestry Wiki first before posting, sorry about that. http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile Still I don't know what changed in between versions, but I can live with that. Marinus Marinus Maris schreef: I post this mail

Re: ServletOutputStream gives null pointer in v5.1.0.5 but not in v5.0.18

2009-08-30 Thread Marinus Maris
I post this mail again, now with the stack trace added below the code: To get a file from disk I wrote this code below. It works perfectly in version 5.0.18 but it generates a null pointer in v5.1.0.5. I checked the release notes to no avail. What's going on here? Apparently a gzip service is

Re: ServletOutputStream gives null pointer in v5.1.0.5 but not in v5.0.18

2009-08-29 Thread Thiago H. de Paula Figueiredo
Em Sat, 29 Aug 2009 07:26:50 -0300, Marinus Maris escreveu: Hi Hi! To get a file from disk I wrote this code below. It works perfectly in version 5.0.18 but it generates a null pointer in v5.1.0.5. I checked the release notes to no avail. What's going on here? To begin with, where's