https://bz.apache.org/bugzilla/show_bug.cgi?id=69601
Bug ID: 69601
Summary: JDBC Pool "not a proxy instance"
Product: Tomcat 10
Version: 10.1.16
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Util
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ------
I am running a spring application within a tomcat 10.1.16 server.
The Application tries to persist data and throwns an error saying 'not a proxy
instance'
Here is the stacktrace:
Caused by: java.lang.IllegalArgumentException: not a proxy instance
at
java.base/java.lang.reflect.Proxy.getInvocationHandler(Proxy.java:1136) ~[?:?]
at
org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:97)
~[tomcat10-jdbc-10.1.16.jar:?]
at jdk.proxy2/jdk.proxy2.$Proxy270.equals(Unknown Source) ~[?:?]
at java.base/java.util.HashMap.putVal(HashMap.java:633) ~[?:?]
at java.base/java.util.HashMap.putIfAbsent(HashMap.java:1144) ~[?:?]
at
org.hibernate.resource.jdbc.internal.ResourceRegistryStandardImpl.register(ResourceRegistryStandardImpl.java:84)
~[hibernate-core-6.6.9.Final.jar:6.6.9.Final]
at
org.hibernate.engine.jdbc.internal.MutationStatementPreparerImpl$StatementPreparationTemplate.postProcess(MutationStatementPreparerImpl.java:124)
~[hibernate-core-6.6.9.Fina
l.jar:6.6.9.Final]
at
org.hibernate.engine.jdbc.internal.MutationStatementPreparerImpl$StatementPreparationTemplate.prepareStatement(MutationStatementPreparerImpl.java:113)
~[hibernate-core-6.6.9
.Final.jar:6.6.9.Final]
Not sure what causes this error.
I upgraded hibernate to the latest version, but even with that the error stays.
Any idea?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]