java.lang.AssertionError: java.math.BigDecimal.scale does not exist in map returned from __tc_getallfields. Class is java.math.BigDecimal. field Values = {}

Terracotta Project Issue Tracker | Tim Eck | 7 years ago
  1. 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 = {}
  2. 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 = {}
  3. 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: 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}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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: 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}
  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

      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()
    2. com.tc.object
      ManagerUtil.monitorExit
      1. com.tc.object.applicator.PhysicalApplicator.dehydrate(PhysicalApplicator.java:115)
      2. com.tc.object.TCClassImpl.dehydrate(TCClassImpl.java:208)
      3. com.tc.object.TCObjectImpl.dehydrate(TCObjectImpl.java:100)
      4. com.tc.object.tx.TransactionBatchWriter$TransactionBufferImpl.writeChanges(TransactionBatchWriter.java:539)
      5. com.tc.object.tx.TransactionBatchWriter$TransactionBufferImpl.writeFirst(TransactionBatchWriter.java:556)
      6. com.tc.object.tx.TransactionBatchWriter$TransactionBufferImpl.write(TransactionBatchWriter.java:497)
      7. com.tc.object.tx.TransactionBatchWriter.addTransaction(TransactionBatchWriter.java:329)
      8. com.tc.object.tx.TransactionSequencer.addTransactionToBatch(TransactionSequencer.java:94)
      9. com.tc.object.tx.TransactionSequencer.addTxnInternal(TransactionSequencer.java:125)
      10. com.tc.object.tx.TransactionSequencer.addTransaction(TransactionSequencer.java:103)
      11. com.tc.object.tx.RemoteTransactionManagerImpl.commit(RemoteTransactionManagerImpl.java:301)
      12. com.tc.object.tx.ClientTransactionManagerImpl.commitInternal(ClientTransactionManagerImpl.java:309)
      13. com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:287)
      14. com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:236)
      15. com.tc.object.bytecode.ManagerImpl.unlock(ManagerImpl.java:801)
      16. com.tc.object.bytecode.ManagerUtil.monitorExit(ManagerUtil.java:570)
      16 frames
    3. Java RT
      ConcurrentHashMap.put
      1. java.util.concurrent.locks.ReentrantReadWriteLock$DsoLock.unlock(ReentrantReadWriteLock.java:74)
      2. java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java)
      3. java.util.concurrent.ConcurrentHashMap$Segment.unlock(ConcurrentHashMap.java)
      4. java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:434)
      5. java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
      5 frames
    4. foo
      Go.main
      1. foo.Go.main(Go.java:13)
      1 frame