https://issues.apache.org/bugzilla/show_bug.cgi?id=50131
Summary: PersistentValve.invoke - possible NPE at line 186
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=26194)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=26194)
Don't dereference null when generating the log message
PersistentValve.invoke() has the code:
if (session != null && ...){
} else {
session.isValid() // line 186
It's quite possible that session is null in the log message.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]