java.lang.AssertionError: Attempt to set sequence id more than once.

Terracotta Project Issue Tracker | Liyu Yi | 1 decade ago
  1. 0

    13:16:37,312 WARN RemoteInvocationTraceInterceptor:80 - Processing of HttpInvokerServiceExporter remote call resulted in fatal exception: com.tctest.spring.bean.IHibernateBean.shareObjWithLazyChild java.lang.AssertionError: com.tctest.spring.bean.domain.PersistentObj$$EnhancerByCGLIB$$9303dc72.CGLIB$CALLBACK_0 does not exist in map returned from __tc_getallfields. Class is com.tctest.spring.bean.domain.PersistentObj$$EnhancerByCGLIB$$9303dc72. field Values = {com.tctest.spring.bean.domain.PersistentObj.child=null, com.tctest.spring.bean.domain.PersistentObj.strFld=lazy, com.tctest.spring.bean.domain.PersistentObj.id=3} at com.tc.object.applicator.PhysicalApplicator.dehydrate(PhysicalApplicator.java:134) at com.tc.object.TCClassImpl.dehydrate(TCClassImpl.java:160) at com.tc.object.TCObjectImpl.dehydrate(TCObjectImpl.java:283) at com.tc.object.change.TCChangeBufferImpl.writeTo(TCChangeBufferImpl.java:93) at com.tc.object.tx.TransactionBatchWriter.addTransaction(TransactionBatchWriter.java:130) at com.tc.object.tx.RemoteTransactionManagerImpl.commit(RemoteTransactionManagerImpl.java:221) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:382) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:307) at com.tc.object.bytecode.ManagerImpl.monitorExit(ManagerImpl.java:501) at com.tc.object.bytecode.ManagerUtil.monitorExit(ManagerUtil.java:199) at com.tctest.spring.bean.HibernateBean.setSharedOne(HibernateBean.java) at com.tctest.spring.bean.HibernateBean.shareObjWithLazyChild(HibernateBean.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:203) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:162) at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209) at $Proxy1.shareObjWithLazyChild(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:181) at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:76) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:112) at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:117) at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:47) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:806) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:736) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360) at javax.servlet.http.HttpServlet.service(HttpServlet.java:768) at javax.servlet.http.HttpServlet.service(HttpServlet.java:861) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at com.tc.tomcat55.session.SessionValve55.invoke(SessionValve55.java:42) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Hibernate: insert into POBJ (STR_FLD, CHILD_ID, OBJ_ID) values (?, ?, null) Hibernate: call identity() java.lang.AssertionError: Attempt to set sequence id more than once. at com.tc.object.tx.AbstractClientTransaction.setSequenceID(AbstractClientTransaction.java:29) at com.tc.object.tx.RemoteTransactionManagerImpl.commit(RemoteTransactionManagerImpl.java:212) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:382) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:307) at com.tc.object.bytecode.ManagerImpl.monitorExit(ManagerImpl.java:501) at com.tc.object.bytecode.ManagerUtil.monitorExit(ManagerUtil.java:199) at com.tctest.spring.bean.HibernateBean.setSharedOne(HibernateBean.java) at com.tctest.spring.bean.HibernateBean.sharePersistentObj(HibernateBean.java:24) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:203) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:162) at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209) at $Proxy1.sharePersistentObj(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:181) at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:76) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:112) at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:117) at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:47) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:806) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:736) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360) at javax.servlet.http.HttpServlet.service(HttpServlet.java:768) at javax.servlet.http.HttpServlet.service(HttpServlet.java:861) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at com.tc.tomcat55.session.SessionValve55.invoke(SessionValve55.java:42) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)

    Terracotta Project Issue Tracker | 1 decade ago | Liyu Yi
    java.lang.AssertionError: Attempt to set sequence id more than once.
  2. 0

    13:16:37,312 WARN RemoteInvocationTraceInterceptor:80 - Processing of HttpInvokerServiceExporter remote call resulted in fatal exception: com.tctest.spring.bean.IHibernateBean.shareObjWithLazyChild java.lang.AssertionError: com.tctest.spring.bean.domain.PersistentObj$$EnhancerByCGLIB$$9303dc72.CGLIB$CALLBACK_0 does not exist in map returned from __tc_getallfields. Class is com.tctest.spring.bean.domain.PersistentObj$$EnhancerByCGLIB$$9303dc72. field Values = {com.tctest.spring.bean.domain.PersistentObj.child=null, com.tctest.spring.bean.domain.PersistentObj.strFld=lazy, com.tctest.spring.bean.domain.PersistentObj.id=3} at com.tc.object.applicator.PhysicalApplicator.dehydrate(PhysicalApplicator.java:134) at com.tc.object.TCClassImpl.dehydrate(TCClassImpl.java:160) at com.tc.object.TCObjectImpl.dehydrate(TCObjectImpl.java:283) at com.tc.object.change.TCChangeBufferImpl.writeTo(TCChangeBufferImpl.java:93) at com.tc.object.tx.TransactionBatchWriter.addTransaction(TransactionBatchWriter.java:130) at com.tc.object.tx.RemoteTransactionManagerImpl.commit(RemoteTransactionManagerImpl.java:221) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:382) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:307) at com.tc.object.bytecode.ManagerImpl.monitorExit(ManagerImpl.java:501) at com.tc.object.bytecode.ManagerUtil.monitorExit(ManagerUtil.java:199) at com.tctest.spring.bean.HibernateBean.setSharedOne(HibernateBean.java) at com.tctest.spring.bean.HibernateBean.shareObjWithLazyChild(HibernateBean.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:203) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:162) at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209) at $Proxy1.shareObjWithLazyChild(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:181) at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:76) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:112) at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:117) at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:47) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:806) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:736) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360) at javax.servlet.http.HttpServlet.service(HttpServlet.java:768) at javax.servlet.http.HttpServlet.service(HttpServlet.java:861) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at com.tc.tomcat55.session.SessionValve55.invoke(SessionValve55.java:42) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Hibernate: insert into POBJ (STR_FLD, CHILD_ID, OBJ_ID) values (?, ?, null) Hibernate: call identity() java.lang.AssertionError: Attempt to set sequence id more than once. at com.tc.object.tx.AbstractClientTransaction.setSequenceID(AbstractClientTransaction.java:29) at com.tc.object.tx.RemoteTransactionManagerImpl.commit(RemoteTransactionManagerImpl.java:212) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:382) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:307) at com.tc.object.bytecode.ManagerImpl.monitorExit(ManagerImpl.java:501) at com.tc.object.bytecode.ManagerUtil.monitorExit(ManagerUtil.java:199) at com.tctest.spring.bean.HibernateBean.setSharedOne(HibernateBean.java) at com.tctest.spring.bean.HibernateBean.sharePersistentObj(HibernateBean.java:24) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:203) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:162) at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209) at $Proxy1.sharePersistentObj(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:181) at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:76) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:112) at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:117) at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:47) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:806) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:736) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360) at javax.servlet.http.HttpServlet.service(HttpServlet.java:768) at javax.servlet.http.HttpServlet.service(HttpServlet.java:861) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at com.tc.tomcat55.session.SessionValve55.invoke(SessionValve55.java:42) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)

    Terracotta Project Issue Tracker | 1 decade ago | Liyu Yi
    java.lang.AssertionError: Attempt to set sequence id more than once.
  3. 0

    I've tested BigDecimal and BigInteger, but one should add tests for all non-final literal types (the set isn't very large) ********************************** ERROR *********************************** * Terracotta client shutting down due to error java.lang.AssertionError: * java.math.BigDecimal.scale does not exist in map returned from * __tc_getallfields. Class is java.math.BigDecimal. field Values = {} **************************************************************************** Exception in thread "main" java.lang.AssertionError: java.math.BigDecimal.scale does not exist in map returned from __tc_getallfields. Class is java.math.BigDecimal. field Values = {} at com.tc.object.applicator.PhysicalApplicator.dehydrate(PhysicalApplicator.java:115) at com.tc.object.TCClassImpl.dehydrate(TCClassImpl.java:208) at com.tc.object.TCObjectImpl.dehydrate(TCObjectImpl.java:100) at com.tc.object.tx.TransactionBatchWriter$TransactionBufferImpl.writeChanges(TransactionBatchWriter.java:539) at com.tc.object.tx.TransactionBatchWriter$TransactionBufferImpl.writeFirst(TransactionBatchWriter.java:556) at com.tc.object.tx.TransactionBatchWriter$TransactionBufferImpl.write(TransactionBatchWriter.java:497) at com.tc.object.tx.TransactionBatchWriter.addTransaction(TransactionBatchWriter.java:329) at com.tc.object.tx.TransactionSequencer.addTransactionToBatch(TransactionSequencer.java:94) at com.tc.object.tx.TransactionSequencer.addTxnInternal(TransactionSequencer.java:125) at com.tc.object.tx.TransactionSequencer.addTransaction(TransactionSequencer.java:103) at com.tc.object.tx.RemoteTransactionManagerImpl.commit(RemoteTransactionManagerImpl.java:301) at com.tc.object.tx.ClientTransactionManagerImpl.commitInternal(ClientTransactionManagerImpl.java:309) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:287) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:236) at com.tc.object.bytecode.ManagerImpl.unlock(ManagerImpl.java:801) at com.tc.object.bytecode.ManagerUtil.monitorExit(ManagerUtil.java:570) at java.util.concurrent.locks.ReentrantReadWriteLock$DsoLock.unlock(ReentrantReadWriteLock.java:74) at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java) at java.util.concurrent.ConcurrentHashMap$Segment.unlock(ConcurrentHashMap.java) at java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:434) at java.util.concurrent.ConcurrentHashMap.put(Unknown Source) at foo.Go.main(Go.java:13)

    Terracotta Project Issue Tracker | 7 years ago | Tim Eck
    java.lang.AssertionError: java.math.BigDecimal.scale does not exist in map returned from __tc_getallfields. Class is java.math.BigDecimal. field Values = {}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I've tested BigDecimal and BigInteger, but one should add tests for all non-final literal types (the set isn't very large) ********************************** ERROR *********************************** * Terracotta client shutting down due to error java.lang.AssertionError: * java.math.BigDecimal.scale does not exist in map returned from * __tc_getallfields. Class is java.math.BigDecimal. field Values = {} **************************************************************************** Exception in thread "main" java.lang.AssertionError: java.math.BigDecimal.scale does not exist in map returned from __tc_getallfields. Class is java.math.BigDecimal. field Values = {} at com.tc.object.applicator.PhysicalApplicator.dehydrate(PhysicalApplicator.java:115) at com.tc.object.TCClassImpl.dehydrate(TCClassImpl.java:208) at com.tc.object.TCObjectImpl.dehydrate(TCObjectImpl.java:100) at com.tc.object.tx.TransactionBatchWriter$TransactionBufferImpl.writeChanges(TransactionBatchWriter.java:539) at com.tc.object.tx.TransactionBatchWriter$TransactionBufferImpl.writeFirst(TransactionBatchWriter.java:556) at com.tc.object.tx.TransactionBatchWriter$TransactionBufferImpl.write(TransactionBatchWriter.java:497) at com.tc.object.tx.TransactionBatchWriter.addTransaction(TransactionBatchWriter.java:329) at com.tc.object.tx.TransactionSequencer.addTransactionToBatch(TransactionSequencer.java:94) at com.tc.object.tx.TransactionSequencer.addTxnInternal(TransactionSequencer.java:125) at com.tc.object.tx.TransactionSequencer.addTransaction(TransactionSequencer.java:103) at com.tc.object.tx.RemoteTransactionManagerImpl.commit(RemoteTransactionManagerImpl.java:301) at com.tc.object.tx.ClientTransactionManagerImpl.commitInternal(ClientTransactionManagerImpl.java:309) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:287) at com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:236) at com.tc.object.bytecode.ManagerImpl.unlock(ManagerImpl.java:801) at com.tc.object.bytecode.ManagerUtil.monitorExit(ManagerUtil.java:570) at java.util.concurrent.locks.ReentrantReadWriteLock$DsoLock.unlock(ReentrantReadWriteLock.java:74) at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java) at java.util.concurrent.ConcurrentHashMap$Segment.unlock(ConcurrentHashMap.java) at java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:434) at java.util.concurrent.ConcurrentHashMap.put(Unknown Source) at foo.Go.main(Go.java:13)

    Terracotta Project Issue Tracker | 7 years ago | Tim Eck
    java.lang.AssertionError: java.math.BigDecimal.scale does not exist in map returned from __tc_getallfields. Class is java.math.BigDecimal. field Values = {}
  6. 0

    Spring eclipselink Terracotta

    Terracotta | 7 years ago | Harish30
    java.lang.AssertionError: com.arisglobal.entities.Personnel._persistence_shouldRefreshFetchGroup does not exist in map returned from __tc_ge tallfields. Class is com.arisglobal.entities.Personnel. field Values = {com.arisglobal.entities.Personnel.recordId=2, com.arisglobal.entitie s.Personnel.lastName=Nigam, com.arisglobal.entities.Personnel.firstName=Vishal, com.arisglobal.entities.Personnel.personnelCode=EMP0002, com .arisglobal.entities.Personnel.middleName=Shah}

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      Attempt to set sequence id more than once.

      at com.tc.object.tx.AbstractClientTransaction.setSequenceID()
    2. com.tc.object
      ManagerUtil.monitorExit
      1. com.tc.object.tx.AbstractClientTransaction.setSequenceID(AbstractClientTransaction.java:29)
      2. com.tc.object.tx.RemoteTransactionManagerImpl.commit(RemoteTransactionManagerImpl.java:212)
      3. com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:382)
      4. com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:307)
      5. com.tc.object.bytecode.ManagerImpl.monitorExit(ManagerImpl.java:501)
      6. com.tc.object.bytecode.ManagerUtil.monitorExit(ManagerUtil.java:199)
      6 frames
    3. com.tctest.spring
      HibernateBean.sharePersistentObj
      1. com.tctest.spring.bean.HibernateBean.setSharedOne(HibernateBean.java)
      2. com.tctest.spring.bean.HibernateBean.sharePersistentObj(HibernateBean.java:24)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:203)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:162)
      3 frames
    6. Spring Context
      RemoteInvocationTraceInterceptor.invoke
      1. org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:70)
      1 frame
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209)
      2 frames
    8. Unknown
      $Proxy1.sharePersistentObj
      1. $Proxy1.sharePersistentObj(Unknown Source)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    10. Spring Context
      RemoteInvocationBasedExporter.invokeAndCreateResult
      1. org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:181)
      2. org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38)
      3. org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:76)
      4. org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:112)
      4 frames
    11. Spring
      HttpInvokerServiceExporter.handleRequest
      1. org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:117)
      1 frame
    12. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:47)
      2. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:806)
      3. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:736)
      4. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
      5. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
      5 frames
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:768)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
      2 frames
    14. Glassfish Core
      StandardEngineValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      7. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      8 frames
    15. com.tc.tomcat55
      SessionValve55.invoke
      1. com.tc.tomcat55.session.SessionValve55.invoke(SessionValve55.java:42)
      1 frame
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      1 frame
    17. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      4 frames
    18. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      1 frame
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame