--
You received this message because you are subscribed to a topic in the Google Groups "MapDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapdb/3iyJabiisIs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapdb+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
sorry for delay.
There are two cases. It is trying to assign wrong field type.
Caused by: java.lang.IllegalArgumentException: Can not set java.lang.Long field <PACKAGE_NAME>.ContactGroup.parentId to java.lang.String
Caused by: java.lang.IllegalArgumentException: Can not set boolean field <PACKAGE_NAME>.Event.audio to java.lang.Long
Is there chance the class structure has changed somehow? Also mapdb tries to use get/set methods, some changes in those could cause problem.
I can thing of two mistakes in mapdb:
1) class catalog got corrupted. This could be tested by fetching the same data type (Event and ContactGroup) from different key. If that fails, class catalog is corrupted. It could be restored with some work
2) some data corruption (only this record fails). It could be workarounded sort of by removing those two fields for now (ContactGroup.parentId and Event.audio).
I could provide patched MapDB version to restore remaining data in HashMap (iterator skips failed items).
Jan
--
You received this message because you are subscribed to the Google Groups "MapDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapdb+un...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "MapDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapdb/3iyJabiisIs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapdb+un...@googlegroups.com.