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 2017/07/17 10:52:30 UTC
[Bug 61312] New: NullPointerException in StatementCache.isCached
https://bz.apache.org/bugzilla/show_bug.cgi?id=61312
Bug ID: 61312
Summary: NullPointerException in StatementCache.isCached
Product: Tomcat Modules
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: jdbc-pool
Assignee: dev@tomcat.apache.org
Reporter: holger.sunke@bodo-peters.de
Target Milestone: ---
Hallo,
I somehow got a NPE in StatementCache.isCached method with Apache Tomcat
8.5.14:
The private PooledConnection pcon is null in this situation:
Caused by: java.lang.NullPointerException: null
at
org.apache.tomcat.jdbc.pool.interceptor.StatementCache.isCached(StatementCache.java:202)
~[tomcat-jdbc.jar:na]
at
org.apache.tomcat.jdbc.pool.interceptor.StatementCache.invoke(StatementCache.java:175)
~[tomcat-jdbc.jar:na]
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108)
~[tomcat-jdbc.jar:na]
at
org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor.invoke(AbstractCreateStatementInterceptor.java:75)
~[tomcat-jdbc.jar:na]
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108)
~[tomcat-jdbc.jar:na]
at
org.apache.tomcat.jdbc.pool.interceptor.ConnectionState.invoke(ConnectionState.java:152)
~[tomcat-jdbc.jar:na]
at
org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:108)
~[tomcat-jdbc.jar:na]
at
org.apache.tomcat.jdbc.pool.TrapException.invoke(TrapException.java:40)
~[tomcat-jdbc.jar:na]
... 136 common frames omitted
--
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
[Bug 61312] NullPointerException in StatementCache.isCached
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61312
Keiichi Fujino <kf...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Keiichi Fujino <kf...@apache.org> ---
Done.
see r1820816
This fix will be in :
- 9.0.x for 9.0.3 onwards
- 8.5.x for 8.5.25 onwards
- 8.0.x for 8.0.49 onwards
- 7.0.x for 7.0.84 onwards
--
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
[Bug 61312] NullPointerException in StatementCache.isCached
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61312
changjun <ho...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from changjun <ho...@gmail.com> ---
hi everyone,
is there any update of this bug? any workaround of this bug? thanks.
--
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