[ 
http://issues.apache.org/jira/browse/JELLY-207?page=comments#action_61880 ]
     
dion gillard commented on JELLY-207:
------------------------------------

I'm not sure this is the right solution. All the get tags would then share the 
same session regardless of their nesting.

> http:get causes a null pointer exception
> ----------------------------------------
>
>          Key: JELLY-207
>          URL: http://issues.apache.org/jira/browse/JELLY-207
>      Project: jelly
>         Type: Bug
>   Components: taglib.http
>  Environment: define:taglib
>     Reporter: Frank Cornelis
>  Attachments: SessionTag-static-httpclient.patch
>
> http:get causes a null pointer exception when used within define:tag with a 
> surrounding http:session
> When a http:get that lives inside define:tag find a parent http:session, 
> which was defined inside define:taglib, then http:get creates a new 
> SessionTag object, which an unset httpclient, and tries to use it. This cause 
> a null pointer exception. Making the _httpClient static inside the SessionTag 
> solves to problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to