CDV ❯ subclass (with added field) of THashSet causes AssertionError
-
Bug
-
Status: Open
-
2 Major
-
Resolution:
-
DSO:L1
-
-
interfaces
-
Reporter: teck
-
April 17, 2007
-
0
-
Watchers: 0
-
December 16, 2011
-
Description
Try to share an instance of a class like this (found in a customer application)
class TimList extends gnu.trove.THashSet { int field = 12; }
you’ll be rewarded this AssertionError, and the DSO client will panic and exit
ava.lang.AssertionError: gnu.trove.TObjectHash._hashingStrategy does not exist in map returned from __tc_getallfields. Class is gnu.trove.TObjectHash. field Values = {com.tctest.GenericListTestApp$TimList.field=12, com.tctest.GenericListTestApp$TimList.__delegate_tc_gnu_trove_THashSet=gnu.trove.THashSet@0}
at com.tc.object.applicator.PhysicalApplicator.dehydrate(PhysicalApplicator.java:130)
at com.tc.object.TCClassImpl.dehydrate(TCClassImpl.java:167)
at com.tc.object.TCObjectImpl.dehydrate(TCObjectImpl.java:257)
at com.tc.object.change.TCChangeBufferImpl.writeTo(TCChangeBufferImpl.java:89)
at com.tc.object.tx.TransactionBatchWriter.addTransaction(TransactionBatchWriter.java:136)
Comments
Fiona OShea 2007-04-23
Tim Eck 2007-04-23
No ma’am, this ain’t been fixed
Saravanan Subbiah 2007-04-27
This is probably similar to what Juris saw with LinkedHashMap.
Has this already been resolved?