CDV ❯ Subclass of literal types causes client exit
-
Bug
-
Status: Open
-
2 Major
-
Resolution:
-
-
-
interfaces
-
Reporter: teck
-
June 01, 2010
-
0
-
Watchers: 0
-
December 16, 2011
-
Attachments
Description
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)