db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: OJB 1.0.2 ?
Date Tue, 25 Jan 2005 14:10:05 GMT
Jakob Braeuchi wrote:
> hi vadim,
> 
> there are two testcases that look a little strange:
> 
> Testcase: testReportPathExpressionForExtents1 took 0.411 sec
>    Caused an ERROR
> null
> java.lang.ClassCastException
>    at 
> org.apache.ojb.broker.QueryTest.testReportPathExpressionForExtents1(Unknown 
> Source)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
> 
>    at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

> 
> 
> i assume that the exception occurs on the following line
> int i = ((Integer) ((Object[]) obj)[2]).intValue();
> 
> do you know the type of the returned objects ?

I've no idea, I just ran the tests.

Vadim


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message