tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51582] NPE in SlowQueryReport
Date Fri, 02 Dec 2011 01:04:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51582

--- Comment #7 from Filip Hanik <fhanik@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


Mime
View raw message