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")

Eclipse Bugzilla | prabaharan.vijayaratnam | 6 years ago
  1. 0

    Bug 321649 – on PostgreSQL, 5 JPA tests from jpa.xml & jpa.advanced.multitenant packages failed due to Null Primary keys

    eclipse.org | 6 months ago
    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")
  2. 0

    on PostgreSQL, 5 JPA tests from jpa.xml & jpa.advanced.multitenant packages failed due to Null Primary keys

    Eclipse Bugzilla | 6 years ago | prabaharan.vijayaratnam
    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")
  3. 0

    Unit Test Results.

    eclipse.org | 1 year ago
    junit.framework.AssertionFailedError: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug 240061 – JBoss: 4 tests within fieldaccess.advanced failed on JBoss4.2.2.GA

    eclipse.org | 7 months ago
    junit.framework.AssertionFailedError: The correct exception was not thrown while traversing an uninstantiated lazy relationship on a serialized object: null
  6. 0

    testMappingToDatabase not detecting views

    unitils | 8 years ago | eqbridges1966
    junit.framework.AssertionFailedError: Found mismatches between Java objects and database tables. Applying following DDL statements to the database should resolve the problem: create table rover.category\_attributes (location\_id int8 not null, name varchar(255), type varchar(255), value varchar(255), required bool, primary key (location\_id));

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.eclipse.persistence
      TestCollection.run
      1. org.eclipse.persistence.testing.tests.jpa.advanced.multitenant.AdvancedMultiTenantJunitTest.testComplexMultitenantQueries(AdvancedMultiTenantJunitTest.java:861)
      2. org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:551)
      3. org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:248)
      4. org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:211)
      5. org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:313)
      5 frames