You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Alexander Klimetschek (JIRA)" <ji...@apache.org> on 2006/10/24 20:22:16 UTC
[jira] Created: (COCOON-1940) [Patch] NPE in
BlockCallHttpServletRequest.getSession()
[Patch] NPE in BlockCallHttpServletRequest.getSession()
-------------------------------------------------------
Key: COCOON-1940
URL: http://issues.apache.org/jira/browse/COCOON-1940
Project: Cocoon
Issue Type: Bug
Components: - Blocks Framework
Affects Versions: 2.2-dev (Current SVN)
Reporter: Alexander Klimetschek
Attachments: cocoon-blocks-fw-create-HttpSession.patch
The BlockCallHttpServletRequest returns a null HttpSession in getSession(). This leads to an NPE in code accessing the request's session.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (COCOON-1940) [Patch] NPE in
BlockCallHttpServletRequest.getSession()
Posted by "Daniel Fagerstrom (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/COCOON-1940?page=all ]
Daniel Fagerstrom closed COCOON-1940.
-------------------------------------
Resolution: Fixed
Applied, thanks for the patch.
The implementation of the servlet APIs within the blocks fw are rather uncomplete as, so there are still plenty of methods that needs top be fixed to do anything meanifull.
> [Patch] NPE in BlockCallHttpServletRequest.getSession()
> -------------------------------------------------------
>
> Key: COCOON-1940
> URL: http://issues.apache.org/jira/browse/COCOON-1940
> Project: Cocoon
> Issue Type: Bug
> Components: - Blocks Framework
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Alexander Klimetschek
> Attachments: cocoon-blocks-fw-create-HttpSession.patch
>
>
> The BlockCallHttpServletRequest returns a null HttpSession in getSession(). This leads to an NPE in code accessing the request's session.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (COCOON-1940) [Patch] NPE in
BlockCallHttpServletRequest.getSession()
Posted by "Alexander Klimetschek (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/COCOON-1940?page=all ]
Alexander Klimetschek updated COCOON-1940:
------------------------------------------
Attachment: cocoon-blocks-fw-create-HttpSession.patch
This patch returns a simple "empty" HttpSession.
To be applied in cocoon trunk. Affects only the cocoon-blocks-fw-impl module.
> [Patch] NPE in BlockCallHttpServletRequest.getSession()
> -------------------------------------------------------
>
> Key: COCOON-1940
> URL: http://issues.apache.org/jira/browse/COCOON-1940
> Project: Cocoon
> Issue Type: Bug
> Components: - Blocks Framework
> Affects Versions: 2.2-dev (Current SVN)
> Reporter: Alexander Klimetschek
> Attachments: cocoon-blocks-fw-create-HttpSession.patch
>
>
> The BlockCallHttpServletRequest returns a null HttpSession in getSession(). This leads to an NPE in code accessing the request's session.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira