https://issues.apache.org/bugzilla/show_bug.cgi?id=51658
Bug #: 51658
Summary: Potential NPE in CoyoteAdapter.log
Product: Tomcat 7
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 27384
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27384
logAccess on host instead of context
In CoyoteAdapter.log:501 request.mapping.context is known to be null and
request.mapping.host is checked to be not null, but inside that if branch in
line 503 request.mapping.context will be used.
I think it should be "((Host) request.mappingData.host).logAccess(..." instead.
--
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]