org.apache.ibatis.exceptions.PersistenceException: Error querying database. Cause: java.lang.ClassCastException: java.util.ArrayList incompatible with [Ljava.lang.Object; The error may involve BookingGuidelineProviderScopeXRef.updateProviderScopeGroupXRefParameters The error occurred while setting parameters Cause: java.lang.ClassCastException: java.util.ArrayList incompatible with [Ljava.lang.Object; at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by beetri
, 1 year ago
Error querying database. Cause: java.lang.ClassCastException: java.util.ArrayList incompatible with [Ljava.lang.Object; The error may involve BookingGuidelineProviderScopeXRef.updateProviderScopeGroupXRefParameters The error occurred while setting
org.apache.ibatis.exceptions.PersistenceException: Error querying database. Cause: java.lang.ClassCastException: java.util.ArrayList incompatible with [Ljava.lang.Object; The error may involve BookingGuidelineProviderScopeXRef.updateProviderScopeGroupXRefParameters The error occurred while setting parameters Cause: java.lang.ClassCastException: java.util.ArrayList incompatible with [Ljava.lang.Object; at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:81)
at org.kp.cccs.sysadmin.booking.dao.BookingGuidelineProviderScopeGroupXRefBuilder.updateProviderScopeGroupXRef(BookingGuidelineProviderScopeGroupXRefBuilder.java:62)
at org.kp.cccs.sysadmin.booking.junit.TestProviderScopeGroupBuilderXRef.testUpdateProviderScopeGroupXRef(TestProviderScopeGroupBuilderXRef.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.