net.sf.hibernate.cache.CacheException: org.jboss.util.Nested
sreepraveen_2000 Feb 3, 2005 4:24 PMhi all,
when i tried to use jobss treecache for my application i get this exception shown below. where the mapping file has the form *.hbn.xml
<joined-subclass name="a.Honda" table="HONDA">
</joined-subclass>
i posted this question in hibernate.org , but i looked through their code and the exception is thrown from the jbosscache code. i jknow where exaclty in the jbosscode its throwing exception. its in the Interceptor.invoke method ., there is not enoug documentation there to check it.
i want to cache the class "Honda" and its collections, when i put in the 'joined-subclass' it throws a parser exception. i thought might be the reason we should not user 'cache' tag in 'joined-subclass' tag. then i placed the in the super class. the exception is shown below.
Thanks in advance. Hope i will get some help.
- Could not synchronize database state with session
StackTrace:
net.sf.hibernate.cache.CacheException: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at net.sf.hibernate.cache.TreeCache.remove(TreeCache.java:44)
at net.sf.hibernate.cache.TransactionalCache.evict(TransactionalCache.java:74)
at net.sf.hibernate.impl.ScheduledCollectionAction.evict(ScheduledCollectionAction.java:76)
at net.sf.hibernate.impl.ScheduledCollectionRecreate.execute(ScheduledCollectionRecreate.java:24)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2435)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2396)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261)
at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)
at 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:421)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3248)
at org.jboss.cache.TreeCache.remove(TreeCache.java:1771)
at net.sf.hibernate.cache.TreeCache.remove(TreeCache.java:41)
... 25 more
Caused by: java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;
at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:14)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:43)
at org.jboss.cache.interceptors.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3245)
... 27 more
[02-03-05 09:17:23](S)<62>[TelemetryDeviceHibernateService]{14} Exception thrown while getting telemetry device by UUID
StackTrace:
net.sf.hibernate.cache.CacheException: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at net.sf.hibernate.cache.TreeCache.get(TreeCache.java:26)
at net.sf.hibernate.cache.TransactionalCache.get(TransactionalCache.java:29)
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2123)
at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:2001)
at net.sf.hibernate.impl.SessionImpl.get(SessionImpl.java:1937)
Caused by: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3248)
at org.jboss.cache.TreeCache.get(TreeCache.java:1599)
at org.jboss.cache.TreeCache.get(TreeCache.java:1572)
at net.sf.hibernate.cache.TreeCache.get(TreeCache.java:23)
... 15 more
Caused by: java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;
at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:14)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:43)
at org.jboss.cache.interceptors.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3245)
... 18 more
net.sf.hibernate.cache.CacheException: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at net.sf.hibernate.cache.TreeCache.get(TreeCache.java:26)
at net.sf.hibernate.cache.TransactionalCache.get(TransactionalCache.java:29)
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2123)
at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:2001)
at net.sf.hibernate.impl.SessionImpl.get(SessionImpl.java:1937)
at Caused by: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3248)
at org.jboss.cache.TreeCache.get(TreeCache.java:1599)
at org.jboss.cache.TreeCache.get(TreeCache.java:1572)
at net.sf.hibernate.cache.TreeCache.get(TreeCache.java:23)
... 15 more
Caused by: java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;
at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:14)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:43)
at org.jboss.cache.interceptors.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3245)
... 18 more
StackTrace:
net.sf.hibernate.cache.CacheException: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at net.sf.hibernate.cache.TreeCache.get(TreeCache.java:26)
at net.sf.hibernate.cache.TransactionalCache.get(TransactionalCache.java:29)
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2123)
at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:2001)
at net.sf.hibernate.impl.SessionImpl.get(SessionImpl.java:1937)
at Caused by: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3248)
at org.jboss.cache.TreeCache.get(TreeCache.java:1599)
at org.jboss.cache.TreeCache.get(TreeCache.java:1572)
at net.sf.hibernate.cache.TreeCache.get(TreeCache.java:23)
... 15 more
Caused by: java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;
at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:14)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:43)
at org.jboss.cache.interceptors.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3245)
... 18 more
net.sf.hibernate.cache.CacheException: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at net.sf.hibernate.cache.TreeCache.get(TreeCache.java:26)
at net.sf.hibernate.cache.TransactionalCache.get(TransactionalCache.java:29)
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2123)
at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:2001)
at net.sf.hibernate.impl.SessionImpl.get(SessionImpl.java:1937)
at Caused by: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3248)
at org.jboss.cache.TreeCache.get(TreeCache.java:1599)
at org.jboss.cache.TreeCache.get(TreeCache.java:1572)
at net.sf.hibernate.cache.TreeCache.get(TreeCache.java:23)
... 15 more
Caused by: java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;
at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:14)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:43)
at org.jboss.cache.interceptors.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3245)
... 18 more
net.sf.hibernate.cache.CacheException: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at net.sf.hibernate.cache.TreeCache.remove(TreeCache.java:44)
at net.sf.hibernate.cache.TransactionalCache.evict(TransactionalCache.java:74)
at net.sf.hibernate.impl.ScheduledCollectionAction.evict(ScheduledCollectionAction.java:76)
at net.sf.hibernate.impl.ScheduledCollectionRecreate.execute(ScheduledCollectionRecreate.java:24)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2435)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2396)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261)
at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)
at 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:421)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.jboss.util.NestedRuntimeException: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;; - nested throwable: (java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3248)
at org.jboss.cache.TreeCache.remove(TreeCache.java:1771)
at net.sf.hibernate.cache.TreeCache.remove(TreeCache.java:41)
... 25 more
Caused by: java.lang.NoSuchMethodError: org.jgroups.blocks.MethodCall.invoke(Ljava/lang/Object;)Ljava/lang/Object;
at org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:14)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:43)
at org.jboss.cache.interceptors.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3245)
... 27 more