kodo.util.FatalUserException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • field representing a FK
    via by 3004,
    • kodo.util.FatalUserException: Attempt to set column "CHILD.parentId" to two different values: (class java.lang.Integer)"0", (class java.lang.Integer)"2,503" This can occur when you fail to set both sides of a two-sided relation between objects, or when you map different fields to the same column, but you do not keep the values of these fields in synch. at kodo.jdbc.sql.PrimaryRow.setObject(PrimaryRow.java:215) at kodo.jdbc.sql.RowImpl.flushJoinValues(RowImpl.java:267) at kodo.jdbc.sql.RowImpl.flushForeignKey(RowImpl.java:189) at kodo.jdbc.sql.RowImpl.setForeignKey(RowImpl.java:158) at kodo.jdbc.sql.PrimaryRow.generateSQL(PrimaryRow.java:238) at kodo.jdbc.sql.RowImpl.getSQL(RowImpl.java:681) at kodo.jdbc.runtime.UpdateManagerImpl$SQLComparator.compare(UpdateManagerImpl.java:773) at java.util.Arrays.mergeSort(Arrays.java:1278) at java.util.Arrays.sort(Arrays.java:1219) at java.util.Collections.sort(Collections.java:155) at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:437) at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:192) at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:95) at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:609) at kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:153) at kodo.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:507) at kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:153) at kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:1159) at kodo.runtime.PersistenceManagerImpl.flushSafe(PersistenceManagerImpl.java:1042) at kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:812)
    No Bugmate found.