Regression failures

From: Holger Hoffstätte (holge..izards.de)
Date: Sun Mar 23 2003 - 10:43:00 EST

  • Next message: Andrus Adamchik: "Re: Regression failures"

    I wanted to try the regression app and got it running via ant.
    Unfortunately some commits regularly fail (the same error over and over
    again, both against Oracle 8i and 9i):

    [java] Schema 2 generating.
    [java] schema recording in C:\TEMP\schema-1048432461030
    [java] Commit 1 starting.
    [java] free memory before gc, MB: 54
    [java] free memory after gc, MB: 58
    [java] Commit 1 failed.
    [java] java.lang.ClassCastException: There were nulls in the arguments for
    this method: compare(null, null)
    [java] at
    org.apache.commons.collections.comparators.ComparableComparator.compare(Unknown
    Source)
    [java] at
    org.objectstyle.cayenne.access.util.PrimaryKeyHelper$DbEntityComparator.compare(PrimaryKeyHelper.java:311)
    [java] at
    org.objectstyle.cayenne.access.util.PrimaryKeyHelper$ObjEntityComparator.compare(PrimaryKeyHelper.java:322)
    [java] at java.util.Arrays.mergeSort(Arrays.java:1237)
    [java] at java.util.Arrays.mergeSort(Arrays.java:1244)
    [java] at java.util.Arrays.mergeSort(Arrays.java:1244)
    [java] at java.util.Arrays.sort(Arrays.java:1185)
    [java] at java.util.Collections.sort(Collections.java:151)
    [java] at
    org.objectstyle.cayenne.access.ContextCommit.createPrimaryKeys(ContextCommit.java:510)
    [java] at
    org.objectstyle.cayenne.access.ContextCommit.commit(ContextCommit.java:139)
    [java] at
    org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.java:708)
    [java] at
    org.objectstyle.cayenne.regression.Main.execute(Main.java:202)
    [java] at
    org.objectstyle.cayenne.regression.AntMain.main(AntMain.java:91)

    Looking at PrimarykeyHelper:311 I think indexedDbEntities might be out of
    sync, or something like that. Does anybody know what this is about?

    Holger



    This archive was generated by hypermail 2.0.0 : Sun Mar 23 2003 - 10:47:17 EST