kodo.util.FatalUserException

Attempt to set column "BASECLASSPC.REFERENCEDCLASS_JDOID" to two different values: (null)"null", (class java.lang.Long)"251" 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.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via Unknown by 3004,
  • via Unknown by 3004,
  • via Unknown by 3004,
  • Stack trace

    • kodo.util.FatalUserException: Attempt to set column "BASECLASSPC.REFERENCEDCLASS_JDOID" to two different values: (null)"null", (class java.lang.Long)"251" 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.setForeignKey(PrimaryRow.java:128)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.