Hi,

This is a known error with the 0.9.5 release. It's nothing to worry about.
It just tells you that OJB is not yet bugfree...
AFAIK this problems is already fixed in CVS !

cheers,
Thomas

> -----Urspr�ngliche Nachricht-----
> Von: Dominic Stoll [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 29. August 2002 12:50
> An: [EMAIL PROTECTED]
> Betreff: RITest.testDelete NullPointerException
> 
> 
> 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

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

Reply via email to