Re: NPE when trying to store an ASO

2009-09-08 Thread Kalle Korhonen
Peaked into the source.. the filter responsible for storing the objects is named "StoreIntoGlobals". However, I just couldn't get it to work properly by trying to position my existing filter differently, partly because I'm also using a request decorator that is dependent on the filter. Solved it by

Re: NPE when trying to store an ASO

2009-09-08 Thread Kalle Korhonen
Hey Uli & others, I dug up this old thread as I run into the same issue myself with T5.1. Did you ever manage to solve this in a satisfactory way? It's clear that the issue is the same - requestGlobals.getRequest() returns null since I'm contributing my handler before everything else but I also wa

Re: NPE when trying to store an ASO

2008-10-23 Thread Thiago H. de Paula Figueiredo
Em Thu, 23 Oct 2008 09:33:27 -0300, Ulrich Stärk <[EMAIL PROTECTED]> escreveu: Thiago, Hi, Ulrich! I was referring to a supposedly fixed issue, that, although it's marked as fixed, still causes this NPE. Do you really think I'd make this claim if I wasn't using the latest snapshot and m

Re: NPE when trying to store an ASO

2008-10-23 Thread Ulrich Stärk
Thiago, I was referring to a supposedly fixed issue, that, although it's marked as fixed, still causes this NPE. Do you really think I'd make this claim if I wasn't using the latest snapshot and made sure, that maven isn't playing tricks on me? Uli Thiago H. de Paula Figueiredo schrieb: Em

Re: NPE when trying to store an ASO

2008-10-23 Thread Thiago H. de Paula Figueiredo
Em Thu, 23 Oct 2008 06:32:59 -0300, Ulrich Stärk <[EMAIL PROTECTED]> escreveu: And here is the Exception :) java.lang.NullPointerException at $Request_11d24c24553.getSession($Request_11d24c24553.java) Upgrade to 5.0.16-SNAPSHOT, as it has a fix for this bug. -- Thiago H. de Paula Figueired

Re: NPE when trying to store an ASO

2008-10-23 Thread Ulrich Stärk
Ulrich Stärk schrieb: Although https://issues.apache.org/jira/browse/TAP5-257 has been fixed, I am still getting a NPE when I try to store an ASO into the session from within a HttpServletRequestFilter. I've got a HttpServletRequestFilter that handles OpenID authentication in conjunction with

Re: NPE when trying to store an ASO

2008-10-09 Thread Ulrich Stärk
Ok, I think I know what's going on. I think the service I'm decorating is being called before the terminator of the HttpServletRequestHandler pipeline makes the Request available. In a mail from december 2007 Peter Stavrinides seems to have stumbled over the same issue: http://markmail.org/messa