You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Frank Cornelis (JIRA)" <co...@jakarta.apache.org> on 2005/03/31 12:27:21 UTC

[jira] Updated: (JELLY-207) http:get causes a null pointer exception

     [ http://issues.apache.org/jira/browse/JELLY-207?page=history ]

Frank Cornelis updated JELLY-207:
---------------------------------

    Attachment: SessionTag-static-httpclient.patch

This patch fixes the problem.

> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org