[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] Created: (JELLY-207) http:get causes a null pointer exception
From:       "Frank Cornelis (JIRA)" <commons-dev () jakarta ! apache ! org>
Date:       2005-03-31 10:27:20
Message-ID: 1740151989.1112264840319.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic