Re: [Objectbridge-developers] junit failure.
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2001-10-03 18:06:22
|
Hi David, Thanks for your careful observance. This is quite a strange bug: I can't reproduce it under WinNT but only sporadically under Linux. I tried to debug into this error, but during debugging it never happened. I decided to ignore it until I have a clearer understanding of what's going wrong... Thanks, Thomas David Forslund wrote: > > With the build.xml file (now on sourceforge) and using version 5.180, I get > the following: > .... > [junit] sequence of items in list: > [junit] 88889, 88890, 88891, 88892, 88893, > [junit] java.lang.IllegalArgumentException: argument type mismatch > [junit] [junit] class: ojb.odmg.NamedRootsEntry > [junit] args: > at java.lang.reflect.Constructor.newInstance(Native Method) > junit] the_dlist_3, > [junit] at > ojb.broker.accesslayer.JdbcAccess.readObjectFromResultSet(Jdb > Access.java:305) > [junit] at > ojb.broker.accesslayer.JdbcAccess.materializeObject(JdbcAcces > .java:249) > [junit] [B@4ec44, > [junit] argument type mismatch > [junit] at > ojb.broker.PersistenceBrokerImpl.getDBObject(PersistenceBroke > Impl.java:798) > [junit] at > ojb.broker.PersistenceBrokerImpl.getObjectByIdentity(Persiste > ceBrokerImpl.java:927) > [junit] at > ojb.broker.PersistenceBrokerImpl.getObjectByExample(Persisten > eBrokerImpl.java:901) > [junit] at > ojb.broker.PersistenceBrokerImpl.getObjectByQuery(Persistence > rokerImpl.java:947) > [junit] at ojb.odmg.NamedRootsMap.get(NamedRootsMap.java:72) > [junit] at ojb.odmg.DatabaseImpl.lookup(DatabaseImpl.java:122) > [junit] at test.ojb.odmg.DListTest.testAdding(DListTest.java:166) > [junit] at java.lang.reflect.Method.invoke(Native Method) > [junit] at junit.framework.TestCase.runTest(TestCase.java:155) > [junit] at junit.framework.TestCase.runBare(TestCase.java:129) > [junit] at junit.framework.TestResult$1.protect(TestResult.java:100) > [junit] at junit.framework.TestResult.runProtected(TestResult.java:117) > [junit] at junit.framework.TestResult.run(TestResult.java:103) > [junit] at junit.framework.TestCase.run(TestCase.java:120) > [junit] Name not found: the_dlist_3 > [junit] at junit.framework.TestSuite.run(TestSuite.java:144) > [junit] at junit.framework.TestSuite.run(TestSuite.java:144) > [junit] at junit.textui.TestRunner.doRun(TestRunner.java:61) > [junit] at junit.textui.TestRunner.start(TestRunner.java:242) > [junit] at junit.textui.TestRunner.main(TestRunner.java:94) > [junit] org.odmg.ObjectNameNotFoundException: Name not found: the_dlist_3 > [junit] at ojb.odmg.DatabaseImpl.lookup(DatabaseImpl.java:136) > [junit] at test.ojb.odmg.DListTest.testAdding(DListTest.java:166) > [junit] at java.lang.reflect.Method.invoke(Native Method) > [junit] at junit.framework.TestCase.runTest(TestCase.java:155) > [junit] at junit.framework.TestCase.runBare(TestCase.java:129) > [junit] at junit.framework.TestResult$1.protect(TestResult.java:100) > [junit] at junit.framework.TestResult.runProtected(TestResult.java:117) > [junit] at junit.framework.TestResult.run(TestResult.java:103) > [junit] at junit.framework.TestCase.run(TestCase.java:120) > [junit] at junit.framework.TestSuite.run(TestSuite.java:144) > [junit] at junit.framework.TestSuite.run(TestSuite.java:144) > [junit] at junit.textui.TestRunner.doRun(TestRunner.java:61) > [junit] at junit.textui.TestRunner.start(TestRunner.java:242) > [junit] at junit.textui.TestRunner.main(TestRunner.java:94) > [junit] F.88894, 88895, 88896, 88897, 88898, > [junit] 88894, 88895, 88899, 88896, 88897, 88898, > [junit] 88900, 88894, 88895, 88899, 88896, 88897, 88898, > [junit] 88900, 88894, 88895, 88899, 88896, 88897, 88898, 88901, > [junit] beforeCommit: test.ojb.odmg.Article{88896} > [junit] beforeCommit: test.ojb.odmg.Article{88900} > [junit] beforeCommit: test.ojb.odmg.Article{88898} > [junit] beforeCommit: test.ojb.odmg.Article{88901} > [junit] beforeCommit: test.ojb.odmg.Article{88894} > [junit] beforeCommit: test.ojb.odmg.Article{88897} > [junit] beforeCommit: test.ojb.odmg.Article{88895} > [junit] beforeCommit: test.ojb.odmg.Article{88899} > [junit] afterCommit: test.ojb.odmg.Article{88896} > [junit] afterCommit: test.ojb.odmg.Article{88900} > [junit] afterCommit: test.ojb.odmg.Article{88898} > [junit] afterCommit: test.ojb.odmg.Article{88901} > [junit] afterCommit: test.ojb.odmg.Article{88894} > [junit] afterCommit: test.ojb.odmg.Article{88897} > [junit] afterCommit: test.ojb.odmg.Article{88895} > [junit] afterCommit: test.ojb.odmg.Article{88899} > [junit] sequence of items in list: > [junit] 88900, 88894, 88895, 88899, 88896, 88897, 88898, 88901, > [junit] sequence of items in lookedup list: > [junit] 88900, 88894, 88895, 88899, 88896, 88897, 88898, 88901, > [junit] .beforeCommit: test.ojb.odmg.Article{88902} > [junit] beforeCommit: test.ojb.odmg.Article{88903} > [junit] beforeCommit: test.ojb.odmg.Article{88904} > [junit] beforeCommit: test.ojb.odmg.Article{88905} > [junit] beforeCommit: test.ojb.odmg.Article{88906} > [junit] afterCommit: test.ojb.odmg.Article{88902} > [junit] afterCommit: test.ojb.odmg.Article{88903} > [junit] afterCommit: test.ojb.odmg.Article{88904} > [junit] afterCommit: test.ojb.odmg.Article{88905} > [junit] afterCommit: test.ojb.odmg.Article{88906} > [junit] .. > [junit] Time: 11.937 > [junit] > [junit] junit.framework.AssertionFailedError > [junit] at junit.framework.Assert.fail(Assert.java:143) > [junit] FAILURES!!! > [junit] Test Results: > [junit] at junit.framework.Assert.fail(Assert.java:137) > [junit] Run: 12 Failures: 1 Errors: 0 > [junit] There was 1 failure: > [junit] 1) testAdding(test.ojb.odmg.DListTest) > [junit] at test.ojb.odmg.DListTest.testAdding(DListTest.java:180) > [junit] at java.lang.reflect.Method.invoke(Native Method) > [junit] at junit.framework.TestCase.runTest(TestCase.java:155) > [junit] at junit.framework.TestCase.runBare(TestCase.java:129) > [junit] at junit.framework.TestResult$1.protect(TestResult.java:100) > [junit] at junit.framework.TestResult.runProtected(TestResult.java:117) > [junit] at junit.framework.TestResult.run(TestResult.java:103) > [junit] at junit.framework.TestCase.run(TestCase.java:120) > [junit] at junit.framework.TestSuite.run(TestSuite.java:144) > [junit] at junit.framework.TestSuite.run(TestSuite.java:144) > [junit] at junit.textui.TestRunner.doRun(TestRunner.java:61) > [junit] at junit.textui.TestRunner.start(TestRunner.java:242) > [junit] > [junit] at junit.textui.TestRunner.main(TestRunner.java:94) > > BUILD FAILED > >:\Java\ojb-0.5.180\build.xml:205: Java returned: -1 > > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers |