Re: ArrayIndexOutOfBoundsException

2006-06-24 Thread Jay Sissom
izing access to the underlying collections. > However that may or may not be possible. I'm not really too familiar > with the codebase ;) > > Thanks, > Eric > >> -Original Message- >> From: Jay Sissom [mailto:[EMAIL PROTECTED] >> Sent: Th

Re: ArrayIndexOutOfBoundsException

2006-06-23 Thread Armin Waibel
riginal Message- From: Jay Sissom [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 11:38 AM To: OJB Users List Subject: Re: ArrayIndexOutOfBoundsException Unfortunately, I don't have a simple, repeatable test case right now. This happens on a long running process and is related to th

RE: ArrayIndexOutOfBoundsException

2006-06-22 Thread Westfall, Eric Curtis
ginal Message- > From: Jay Sissom [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 22, 2006 11:38 AM > To: OJB Users List > Subject: Re: ArrayIndexOutOfBoundsException > > Unfortunately, I don't have a simple, repeatable test case right now. > This happens on a long r

Re: ArrayIndexOutOfBoundsException

2006-06-22 Thread Jay Sissom
zer] ERROR > org.apache.ojb.broker.accesslayer.ReportQueryRsIterator :: Error when > try to remove RsIterator resource listener > java.lang.ArrayIndexOutOfBoundsException: 107 >at > org.apache.ojb.broker.core.PersistenceBrokerAbstractImpl.removeListener(Unknown > This seems

Re: ArrayIndexOutOfBoundsException

2006-06-22 Thread Armin Waibel
source listener java.lang.ArrayIndexOutOfBoundsException: 107 at org.apache.ojb.broker.core.PersistenceBrokerAbstractImpl.removeListener(Unknown This seems to indicate a concurrency problem. The ArrayIndexOutOfBoundsException could only happen when at the same time different threads remove listener objects. I th

ArrayIndexOutOfBoundsException

2006-06-21 Thread Jay Sissom
Hello, I am using OJB 1.0.4 and Spring 1.2.8. A spring interceptor is handling transactions for me. All my OJB code is written using the Spring PersistenceBrokerDaoSupport class. I have a long running process that does quite a bit of data manipulation. It is a single threaded app that starts u

Re: ArrayIndexOutOfBoundsException in PersistenceBrokerAbstractImpl

2006-02-10 Thread Armin Waibel
Hi Phil, DiCorpo, Phillip wrote: I'm using ODMG and OJB 1.0.4. Any reason why I would be seeing the following exception? Looking at the code I could only see this possibly happening if more than one thread is accessing the array of temporateStateListeners. Thanks in advance for the help, I

ArrayIndexOutOfBoundsException in PersistenceBrokerAbstractImpl

2006-02-09 Thread DiCorpo, Phillip
I'm using ODMG and OJB 1.0.4. Any reason why I would be seeing the following exception? Looking at the code I could only see this possibly happening if more than one thread is accessing the array of temporateStateListeners. Thanks in advance for the help, --Phil 2006-02-09 03:14:48 StandardCo

RE: ArrayIndexOutOfBoundsException at 1:N relationship

2006-02-01 Thread Manukyan, Sergey
: ArrayIndexOutOfBoundsException at 1:N relationship Hi, I have a problem with a java.lang.ArrayIndexOutOfBoundsException: 1 I have the following: class A { Integer pkA }; class B { Integer pkA // is PK Integer pkB // is PK too Integer otherField; }; B has 2 primary key fields and A only one. So the first field

ArrayIndexOutOfBoundsException at 1:N relationship

2006-02-01 Thread gbeutler
his produces the ArrayIndexOutOfBoundsException. Can the problem be that B has no own pk field so that B.pkA is part of the primary key of the table B and part of a reference descriptor (and part of the collection descriptor of A) ? best regards, Gu

Re: ArrayIndexOutOfBoundsException at 1:N relationship

2006-02-01 Thread Guido Beutler
query A and get all A where B.otherField=SomeValue. This produces the ArrayIndexOutOfBoundsException. Can the problem be that B has no own pk field so that B.pkA is part of the primary key of the table B and part of a reference descriptor (and part of the collection descriptor of A) ? best re

Help for ArrayIndexOutOfBoundsException

2005-10-06 Thread Zhong Li
I got java.lang.ArrayIndexOutOfBoundsException randomly. Here is stacktrace java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.apache.ojb.broker.core.PersistenceBrokerAbstractImpl.addListener( PersistenceBrokerAbstractImpl.java:112) at org.apache.ojb.broke

Re: ArrayIndexOutOfBoundsException Exception

2005-09-14 Thread Armin Waibel
À : OJB Users List Objet : RE: ArrayIndexOutOfBoundsException Exception Hi Samuel, Had similar problem and the answer was that I was trying to map more columns in indirection table then existed in a class I was referring to, like f.e. I had : Class1(PK1) Class2(PK2,PK3) and IndirectionTable1(PK1,PK2,P

RE: ArrayIndexOutOfBoundsException Exception

2005-09-14 Thread Manukyan, Sergey
ginal Message- From: Gru Samuel [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 10:17 AM To: 'OJB Users List' Subject: RE: ArrayIndexOutOfBoundsException Exception Thanks a lot, i think you give me the way to find the mistake. And i found a pb in a descriptor. I ha

RE: ArrayIndexOutOfBoundsException Exception

2005-09-14 Thread Gru Samuel
ergey [mailto:[EMAIL PROTECTED] Envoyé : mercredi 14 septembre 2005 14:26 À : OJB Users List Objet : RE: ArrayIndexOutOfBoundsException Exception Hi Samuel, Had similar problem and the answer was that I was trying to map more columns in indirection table then existed in a class I was referring to,

Re: ArrayIndexOutOfBoundsException Exception

2005-09-14 Thread Armin Waibel
already send my pb. ;-) Please help me. Thanks Samuel -Message d'origine- De : Gru Samuel [mailto:[EMAIL PROTECTED] Envoyé : vendredi 26 août 2005 10:45 À : Liste Ojb (E-mail) Objet : ArrayIndexOutOfBoundsException Exception Hi, We want to use the ojb 1.0.3 (actually, we have the

RE: ArrayIndexOutOfBoundsException Exception

2005-09-14 Thread Manukyan, Sergey
IndirectionTable1)({PK1},{PK1,PK2,PK3}) - WRONG! - resulting in ArrayIndexOutOfBoundsException. As there are just two keys in Class2 not three!!! Class1.Relation1(using IndirectionTable1)({PK1},{PK2,PK3}) - CORRECT! Hope it helps, -Sergey -Original Message- From: Gru Samuel [mailto

RE: ArrayIndexOutOfBoundsException Exception

2005-09-14 Thread Gru Samuel
Hi, Last month, i had no aswer, so i already send my pb. ;-) Please help me. Thanks Samuel -Message d'origine- De : Gru Samuel [mailto:[EMAIL PROTECTED] Envoyé : vendredi 26 août 2005 10:45 À : Liste Ojb (E-mail) Objet : ArrayIndexOutOfBoundsException Exception Hi, We want t

ArrayIndexOutOfBoundsException Exception

2005-08-26 Thread Gru Samuel
Hi, We want to use the ojb 1.0.3 (actually, we have the 1.0.rc5 version) When i use this version, i have an ArrayIndexOutOfBoundsException exception. my descriptors are

Re: ArrayIndexOutOfBoundsException - OJB 1.0

2004-07-05 Thread Martin Marinschek
I got rid of the factory and the extended class, and the stuff works now. Thanks for your help, -Martin Martin Marinschek wrote: Armin Waibel wrote: Martin Marinschek wrote: I am not using anonymous keys at all, afaik every object in my system has its id and exposes it also in the source-code. ok

Re: ArrayIndexOutOfBoundsException - OJB 1.0

2004-07-05 Thread Martin Marinschek
Armin Waibel wrote: Martin Marinschek wrote: I am not using anonymous keys at all, afaik every object in my system has its id and exposes it also in the source-code. ok, similar to my local test Here is my class-descriptor for the class being serialized and loaded back; I realized that I am usin

Re: ArrayIndexOutOfBoundsException - OJB 1.0

2004-07-05 Thread Armin Waibel
Martin Marinschek wrote: I am not using anonymous keys at all, afaik every object in my system has its id and exposes it also in the source-code. ok, similar to my local test Here is my class-descriptor for the class being serialized and loaded back; I realized that I am using the factory-proper

Re: ArrayIndexOutOfBoundsException - OJB 1.0

2004-07-05 Thread Martin Marinschek
I am not using anonymous keys at all, afaik every object in my system has its id and exposes it also in the source-code. Here is my class-descriptor for the class being serialized and loaded back; I realized that I am using the factory-properties to create a customized class ('CustomizedOfferLi

Re: ArrayIndexOutOfBoundsException - OJB 1.0

2004-07-05 Thread Armin Waibel
'ArrayIndexOutOfBoundsException' when using the collection-proxy-feature. If I debug the situation, I find out that shortly before I call the 'ListProxyDefaultImpl.get(0)' method, the list claims that it has 2 entries, but it nevertheless throws the above mentioned exception... The

Re: ArrayIndexOutOfBoundsException - OJB 1.0

2004-07-05 Thread Martin Marinschek
, more clearly stated), I get an 'ArrayIndexOutOfBoundsException' when using the collection-proxy-feature. If I debug the situation, I find out that shortly before I call the 'ListProxyDefaultImpl.get(0)' method, the list claims that it has 2 entries, but it nevertheless throws

ArrayIndexOutOfBoundsException - OJB 1.0

2004-07-02 Thread Martin Marinschek
Using OJB (release 1.0) in a web application (JSF, more clearly stated), I get an 'ArrayIndexOutOfBoundsException' when using the collection-proxy-feature. If I debug the situation, I find out that shortly before I call the 'ListProxyDefaultImpl.get(0)' method, the list

ArrayIndexOutOfBoundsException - Hard to determine what is wrong

2003-07-25 Thread Wayne Kidd
When I use the same code on a much restricted set of objects, the error does not occur. The proxy situation is that all Class descriptors have no proxy. The Collections have proxy="true" and the references have proxy="false" auto-retrieve on "true" for all relations. There are no declared I