DO NOT REPLY [Bug 51658] New: Potential NPE in CoyoteAdapter.log

2011-08-13 Thread bugzilla
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: dev@tomcat.apache.org
ReportedBy: felix.schumac...@internetallee.de
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 51580] Severe error deploying WAR application (ExpandWar error)

2011-08-13 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51580

--- Comment #8 from Cleon  2011-08-13 20:17:31 UTC ---
Created attachment 27385
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27385
Minimal war to reproduce the problem

Here's the file. There's no special env settings, just import the file.

Regards,
   Cléon

-- 
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org