Hy

I'm in the process of evaluating OJB as a replacement for Toplink 
*grrr*.
Running the test suite gives me an error in RITest.testDelete.
Is this something to worry about or a problem with my setup?

...
junit-no-compile-no-prepare:
     [junit] Running org.apache.ojb.broker.AllTests
     [junit] [BOOT] INFO: OJB.properties: 
file:/home/omnek/ojb/src/jakarta-ojb-0.9.5/target/test/ojb/OJB.properties
     [junit] Tests run: 115, Failures: 0, Errors: 0, Time elapsed: 
11.389 sec
     [junit] Running org.apache.ojb.odmg.AllTests
     [junit] [BOOT] INFO: OJB.properties: 
file:/home/omnek/ojb/src/jakarta-ojb-0.9.5/target/test/ojb/OJB.properties
     [junit] Tests run: 122, Failures: 0, Errors: 1, Time elapsed: 
15.154 sec
     [junit] TEST org.apache.ojb.odmg.AllTests FAILED
     [junit] Running org.apache.ojb.soda.AllTests
     [junit] [BOOT] INFO: OJB.properties: 
file:/home/omnek/ojb/src/jakarta-ojb-0.9.5/target/test/ojb/OJB.properties
     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 6.186 
sec
...

...
Testcase: testDelete took 0.219 sec
        Caused an ERROR
null
java.lang.NullPointerException
        at 
org.apache.ojb.odmg.TransactionImpl.getBroker(TransactionImpl.java:942)
        at 
org.apache.ojb.odmg.TransactionImpl.begin(TransactionImpl.java:535)
        at org.apache.ojb.odmg.RITest.testDelete(RITest.java:176)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
...

Attached is the complete tests-odmg.txt.

Thanks for help
Dominic

Attachment: tests-odmg.txt.bz2
Description: application/bzip

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to