Re: NullPointerException with Parameters.getParameterValues(String)

2007-04-11 Thread Rahul Thakur
Hi Chris, Rahul Thakur wrote: > Looks like it was the 'username'. The username is being initialised in > the taglib handler implementation but the behaviour differs between > JRun and Tomcat. That should not be the case. The servlet spec is quite clear about the order

Re: NullPointerException with Parameters.getParameterValues(String)

2007-04-10 Thread Rahul Thakur
Looks like it was the 'username'. The username is being initialised in the taglib handler implementation but the behaviour differs between JRun and Tomcat. In the layout template jsp for the admin console, we use a taglib that checks if a user is logged in or not. The following snippet works on J

Re: NullPointerException with Parameters.getParameterValues(String)

2007-04-09 Thread Rahul Thakur
e: Can you also post the HTML Form? May be it has some syntax errors. Someone has reported a bug that looks a bit similar but is not the same: http://mail-archives.apache.org/mod_mbox/tomcat-dev/200401.mbox/[EMAIL PROTECTED] -Rashmi On 4/9/07, Rahul Thakur <[EMAIL PROTECTED]> wr

NullPointerException with Parameters.getParameterValues(String)

2007-04-09 Thread Rahul Thakur
Hi, I am dropping this note after spending hours trying to figure out why my webapp encounters an NPE trying to obtain a param from request. Scenario: Moving an old web app from JRun to Tomcat 5.5.23. The app uses custom taglibs that provide for user authentication and login and this is where I