junit.framework.AssertionFailedError: Exception caught: Exception [EclipseLink-6044] (Eclipse Persistence Services - 2.4.0.v20110809-r9851): org.eclipse.persistence.exceptions.QueryException Exception Description: The primary key read from the row [ArrayRecord( => 801 => Gonzo => 707)] during the execution of the query was detected to be null. Primary keys must not contain null. Query: ReadAllQuery(referenceClass=MafiaFamily sql="select * from JPA_MAFIA_FAMILY")

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.

  • junit.framework.AssertionFailedError: Exception caught: Exception [EclipseLink-6044] (Eclipse Persistence Services - 2.4.0.v20110809-r9851): org.eclipse.persistence.exceptions.QueryException Exception Description: The primary key read from the row [ArrayRecord( => 801 => Gonzo => 707)] during the execution of the query was detected to be null. Primary keys must not contain null. Query: ReadAllQuery(referenceClass=MafiaFamily sql="select * from JPA_MAFIA_FAMILY") at org.eclipse.persistence.testing.tests.jpa.advanced.multitenant.AdvancedMultiTenantJunitTest.testComplexMultitenantQueries(AdvancedMultiTenantJunitTest.java:861) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:551) at org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:248) at org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:211) at org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:313)
No Bugmate found.