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

--- Comment #6 from Patric Rufflar <pat...@rufflar.com> 2011-10-27 20:14:28 UTC 
---
Hi Filip,

here is an extended stacktrace of comment #0, however I truncated the lower
stack trace elements.

> (In reply to comment #0)

Note: As the name implies, CStatement.cancel() calls cancel() on the
jdbc-pool's Proxy of the jdbc Statement.


java.lang.NullPointerException
        at
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
        at
org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.getQueryStats(SlowQueryReport.jav
a:156)
        at
org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.reportFailedQuery(SlowQueryReport
.java:85)
        at
org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx.reportFailedQuery(SlowQueryRep
ortJmx.java:147)
        at
org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport$StatementProxy.invoke(Abstrac
tQueryReport.java:236)
        at $Proxy96.cancel(Unknown Source)
        at my.product.jdbc.CStatement.cancel(CStatement.java:97)



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

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

Reply via email to