Umm... yet another reason to add regression tests to the nightly builds
script.
I am getting the same error. Unfortunately no idea what is causing it
off the top of my head.
Andrus
On Sunday, March 23, 2003, at 10:43 AM, Holger Hoffstätte wrote:
>
> 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$ObjEntityComparato
> r.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(ContextC
> ommit.java:510)
> [java] at
> org.objectstyle.cayenne.access.ContextCommit.commit(ContextCommit.java:
> 139)
> [java] at
> org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.ja
> va: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 - 14:10:37 EST