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 Thu, 26 Jan 2012 18:04:42 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51582

--- Comment #8 from Patric Rufflar <patric@rufflar.com> 2012-01-26 18:04:42 UTC ---
Hi Filip,

I was able to debug the NPE situation (during a load test):
sql is suprisingly _not_ null, but SlowQueryReport.this.queries is:

    protected QueryStats getQueryStats(String sql) {
        ConcurrentHashMap<String,QueryStats> queries =
SlowQueryReport.this.queries;
        if (queries==null) return null;    <-- null is returned here
...

-- 
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