You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/12/02 02:04:49 UTC

DO NOT REPLY [Bug 51582] NPE in SlowQueryReport

https://issues.apache.org/bugzilla/show_bug.cgi?id=51582

--- Comment #7 from Filip Hanik <fh...@apache.org> 2011-12-02 01:04:49 UTC ---
(In reply to comment #6)

> 
> BTW: What about the NPE in comment #1? It's unlikely that this exception
> related to a null sql query.

hi Patric, I think it is very likely, the statement is

            QueryStats qs = this.getQueryStats(sql);
            qs.failure(delta, now);  <-- NPE here

if SQL is null, the qs variable is also null

Filip

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