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 Hibernate JIRA by Bob Robertson, 1 year ago
via Hibernate JIRA by Bob Robertson, 2 years ago
org.hibernate.AssertionFailure: cannot supply object to query loader	at org.hibernate.persister.entity.NamedQueryLoader.load(NamedQueryLoader.java:37)	at org.hibernate.persister.entity.BasicEntityPersister.load(BasicEntityPersister.java:2471)	at org.hibernate.event.def.DefaultRefreshEventListener.onRefresh(DefaultRefreshEventListener.java:104)	at org.hibernate.impl.SessionImpl.refresh(SessionImpl.java:679)	at com.VariableHibernateDao.loadLookup(VariableHibernateDao.java:247)	at com.SortedDataServiceImpl.fetchData(SortedDataServiceImpl.java:48)	at com.TestVariableHibernateProcsDao.testGetILookup(TestVariableHibernateProcsDao.java:84)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at junit.framework.TestCase.runTest(TestCase.java:154)	at junit.framework.TestCase.runBare(TestCase.java:127)	at junit.framework.TestResult$1.protect(TestResult.java:106)	at junit.framework.TestResult.runProtected(TestResult.java:124)	at junit.framework.TestResult.run(TestResult.java:109)	at junit.framework.TestCase.run(TestCase.java:118)	at junit.framework.TestSuite.runTest(TestSuite.java:208)	at junit.framework.TestSuite.run(TestSuite.java:203)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)