Uploaded image for project: 'Commons Jelly'
  1. Commons Jelly
  2. JELLY-207

http:get causes a null pointer exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • taglib.http
    • None
    • define:taglib

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fcorneli Frank Cornelis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: