Bug 1391834 - [GSS](6.4.z) NullPointerException in AccessLogValve$SessionIdElement.addElement
Summary: [GSS](6.4.z) NullPointerException in AccessLogValve$SessionIdElement.addElement
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web
Version: 6.4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.13
Assignee: jboss-set
QA Contact: Radim Hatlapatka
URL:
Whiteboard:
Depends On:
Blocks: 1304337 eap6413-payload
TreeView+ depends on / blocked
 
Reported: 2016-11-04 07:57 UTC by Osamu Nagano
Modified: 2019-12-16 07:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-03 16:42:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache Bugzilla 53993 0 None None None 2016-11-04 07:58:26 UTC
Red Hat Knowledge Base (Solution) 2749661 0 None None None 2016-11-04 08:01:41 UTC

Description Osamu Nagano 2016-11-04 07:57:40 UTC
Backport Tomcat bug, ID 53993, to JBossWeb and the next CP of EAP 6.4.

When access log is configured to output session ID (%S), NPE happens if the session is null.

~~~
20:53:16,053 ERROR [connector] JBWEB001018: An exception or error occurred in the container during the request processing: java.lang.NullPointerException
        at org.apache.catalina.valves.AccessLogValve$SessionIdElement.addElement(AccessLogValve.java:1170)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:573)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:490)
        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:420)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
        at java.lang.Thread.run(Thread.java:745)
~~~

Comment 4 Enrique Gonzalez Martinez 2016-11-17 11:00:31 UTC
This is already merged. correct status is MODIFIED.

https://source.jboss.org/changelog/JBossWeb?cs=2670

Comment 5 Michael Cada 2017-01-11 11:19:16 UTC
Verified with EAP 6.4.13.CP.CR1

Comment 6 Petr Penicka 2017-02-03 16:42:40 UTC
Released with EAP 6.4.13 on Feb 02 2017.


Note You need to log in before you can comment on or make changes to this bug.