You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Catalino Pineda Jr. (JIRA)" <de...@geronimo.apache.org> on 2005/04/05 14:20:16 UTC
[jira] Created: (GERONIMO-625) empty parameter in web.inf causes NPE in JettyModuleBuilder
empty <session-config> parameter in web.inf causes NPE in JettyModuleBuilder
-----------------------------------------------------------------------------
Key: GERONIMO-625
URL: http://issues.apache.org/jira/browse/GERONIMO-625
Project: Geronimo
Type: Bug
Components: deployment
Versions: 1.0-M3
Environment: Windows XP sp1a, Intel x86, Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
Reporter: Catalino Pineda Jr.
Attachments: JettyModuleBuilder.patch
When an empty <session-config></session-config> parameter is included in web deployment descriptor, JettyModuleBuilder throws an NPE at line
441:
webModuleData.setAttribute("sessionTimeoutSeconds", webApp.getSessionConfigArray().length == 1 ? new Integer(webApp.getSessionConfigArray(0).getSessionTimeout().getBigIntegerValue().intValue() * 60) : defaultSessionTimeoutSeconds);
It seems that an empty webApp.getSessionConfigArray() has length 1 but webApp.getSessionConfigArray(0) would return a null object.
--
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
[jira] Closed: (GERONIMO-625) empty parameter in web.inf causes NPE in JettyModuleBuilder
Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-625?page=history ]
David Jencks closed GERONIMO-625:
---------------------------------
Resolution: Fixed
Fix Version: 1.0-M4
Applied, somewhat modified. Thanks!
> empty <session-config> parameter in web.inf causes NPE in JettyModuleBuilder
> -----------------------------------------------------------------------------
>
> Key: GERONIMO-625
> URL: http://issues.apache.org/jira/browse/GERONIMO-625
> Project: Geronimo
> Type: Bug
> Components: deployment
> Versions: 1.0-M3
> Environment: Windows XP sp1a, Intel x86, Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
> Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
> Reporter: Catalino Pineda Jr.
> Assignee: David Jencks
> Fix For: 1.0-M4
> Attachments: JettyModuleBuilder.patch
>
> When an empty <session-config></session-config> parameter is included in web deployment descriptor, JettyModuleBuilder throws an NPE at line
> 441:
> webModuleData.setAttribute("sessionTimeoutSeconds", webApp.getSessionConfigArray().length == 1 ? new Integer(webApp.getSessionConfigArray(0).getSessionTimeout().getBigIntegerValue().intValue() * 60) : defaultSessionTimeoutSeconds);
> It seems that an empty webApp.getSessionConfigArray() has length 1 but webApp.getSessionConfigArray(0) would return a null object.
--
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
[jira] Assigned: (GERONIMO-625) empty parameter in web.inf causes NPE in JettyModuleBuilder
Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-625?page=history ]
David Jencks reassigned GERONIMO-625:
-------------------------------------
Assign To: David Jencks
> empty <session-config> parameter in web.inf causes NPE in JettyModuleBuilder
> -----------------------------------------------------------------------------
>
> Key: GERONIMO-625
> URL: http://issues.apache.org/jira/browse/GERONIMO-625
> Project: Geronimo
> Type: Bug
> Components: deployment
> Versions: 1.0-M3
> Environment: Windows XP sp1a, Intel x86, Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
> Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
> Reporter: Catalino Pineda Jr.
> Assignee: David Jencks
> Attachments: JettyModuleBuilder.patch
>
> When an empty <session-config></session-config> parameter is included in web deployment descriptor, JettyModuleBuilder throws an NPE at line
> 441:
> webModuleData.setAttribute("sessionTimeoutSeconds", webApp.getSessionConfigArray().length == 1 ? new Integer(webApp.getSessionConfigArray(0).getSessionTimeout().getBigIntegerValue().intValue() * 60) : defaultSessionTimeoutSeconds);
> It seems that an empty webApp.getSessionConfigArray() has length 1 but webApp.getSessionConfigArray(0) would return a null object.
--
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
[jira] Updated: (GERONIMO-625) empty parameter in web.inf causes NPE in JettyModuleBuilder
Posted by "Catalino Pineda Jr. (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-625?page=history ]
Catalino Pineda Jr. updated GERONIMO-625:
-----------------------------------------
Attachment: JettyModuleBuilder.patch
> empty <session-config> parameter in web.inf causes NPE in JettyModuleBuilder
> -----------------------------------------------------------------------------
>
> Key: GERONIMO-625
> URL: http://issues.apache.org/jira/browse/GERONIMO-625
> Project: Geronimo
> Type: Bug
> Components: deployment
> Versions: 1.0-M3
> Environment: Windows XP sp1a, Intel x86, Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
> Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
> Reporter: Catalino Pineda Jr.
> Attachments: JettyModuleBuilder.patch
>
> When an empty <session-config></session-config> parameter is included in web deployment descriptor, JettyModuleBuilder throws an NPE at line
> 441:
> webModuleData.setAttribute("sessionTimeoutSeconds", webApp.getSessionConfigArray().length == 1 ? new Integer(webApp.getSessionConfigArray(0).getSessionTimeout().getBigIntegerValue().intValue() * 60) : defaultSessionTimeoutSeconds);
> It seems that an empty webApp.getSessionConfigArray() has length 1 but webApp.getSessionConfigArray(0) would return a null object.
--
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