You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Jakob Braeuchi <jb...@gmx.ch> on 2003/07/02 21:06:38 UTC

p6spy StringIndexOutOfBoundsException

hi all,

since we switched p6spy.jar i get StringIndexOutOfBoundsException in 
some testcases.

jakob


Re: p6spy StringIndexOutOfBoundsException

Posted by Armin Waibel <ar...@code-au-lait.de>.
ok, I do rollback to previous version.

Armin
----- Original Message -----
From: "Jakob Braeuchi" <jb...@gmx.ch>
To: "OJB Users List" <oj...@db.apache.org>
Sent: Wednesday, July 02, 2003 9:46 PM
Subject: Re: p6spy StringIndexOutOfBoundsException


> hi armin,
>
> imo this would be the best, otherwise we'll have to deal with p6spy
> errors as well.
>
> jakob
>
> Armin Waibel wrote:
>
> >Hi Jakob,
> >
> >should we rollback to pervious version?
> >
> >regards,
> >Armin
> >
> >----- Original Message -----
> >From: "Jakob Braeuchi" <jb...@gmx.ch>
> >To: "OJB Users List" <oj...@db.apache.org>
> >Sent: Wednesday, July 02, 2003 9:37 PM
> >Subject: Re: p6spy StringIndexOutOfBoundsException
> >
> >
> >
> >
> >>hi all,
> >>
> >>fyi this is a known problem of p6spy version 1.2
> >>
> >>jakob
> >>
> >>Jakob Braeuchi wrote:
> >>
> >>
> >>
> >>>this is the stacktrace :
> >>>
> >>>Caused by: java.lang.StringIndexOutOfBoundsException: String index
> >>>
> >>>
> >out
> >
> >
> >>>of range: -2
> >>>   at java.lang.StringBuffer.substring(StringBuffer.java:801)
> >>>   at com.p6spy.engine.spy.P6ResultSet.next(P6ResultSet.java:147)
> >>>   at
> >>>
> >>>
> >>>
> >com.p6spy.engine.logging.P6LogResultSet.next(P6LogResultSet.java:124)
> >
> >
> >>>   at
> >>>
> >>>
> >>>
>
>org.apache.ojb.broker.core.PersistenceBrokerImpl.getMtoNImplementor(Per
s
> >istenceBrokerImpl.java:899)
> >
> >
> >>>jakob
> >>>
> >>>Jakob Braeuchi wrote:
> >>>
> >>>
> >>>
> >>>>hi all,
> >>>>
> >>>>since we switched p6spy.jar i get StringIndexOutOfBoundsException
> >>>>
> >>>>
> >in
> >
> >
> >>>>some testcases.
> >>>>
> >>>>jakob
> >>>>
> >>>>
> >>>>
> >>>>
>
>>>---------------------------------------------------------------------
> >>>
> >>>
> >>>>To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> >>>>For additional commands, e-mail: ojb-user-help@db.apache.org
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
>
>>---------------------------------------------------------------------
> >>
> >>
> >>>To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> >>>For additional commands, e-mail: ojb-user-help@db.apache.org
> >>>
> >>>
> >>>
> >>>
>
>>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> >>For additional commands, e-mail: ojb-user-help@db.apache.org
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> >For additional commands, e-mail: ojb-user-help@db.apache.org
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>



Re: p6spy StringIndexOutOfBoundsException

Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi armin,

imo this would be the best, otherwise we'll have to deal with p6spy 
errors as well.

jakob

Armin Waibel wrote:

>Hi Jakob,
>
>should we rollback to pervious version?
>
>regards,
>Armin
>
>----- Original Message -----
>From: "Jakob Braeuchi" <jb...@gmx.ch>
>To: "OJB Users List" <oj...@db.apache.org>
>Sent: Wednesday, July 02, 2003 9:37 PM
>Subject: Re: p6spy StringIndexOutOfBoundsException
>
>
>  
>
>>hi all,
>>
>>fyi this is a known problem of p6spy version 1.2
>>
>>jakob
>>
>>Jakob Braeuchi wrote:
>>
>>    
>>
>>>this is the stacktrace :
>>>
>>>Caused by: java.lang.StringIndexOutOfBoundsException: String index
>>>      
>>>
>out
>  
>
>>>of range: -2
>>>   at java.lang.StringBuffer.substring(StringBuffer.java:801)
>>>   at com.p6spy.engine.spy.P6ResultSet.next(P6ResultSet.java:147)
>>>   at
>>>
>>>      
>>>
>com.p6spy.engine.logging.P6LogResultSet.next(P6LogResultSet.java:124)
>  
>
>>>   at
>>>
>>>      
>>>
>org.apache.ojb.broker.core.PersistenceBrokerImpl.getMtoNImplementor(Pers
>istenceBrokerImpl.java:899)
>  
>
>>>jakob
>>>
>>>Jakob Braeuchi wrote:
>>>
>>>      
>>>
>>>>hi all,
>>>>
>>>>since we switched p6spy.jar i get StringIndexOutOfBoundsException
>>>>        
>>>>
>in
>  
>
>>>>some testcases.
>>>>
>>>>jakob
>>>>
>>>>
>>>>        
>>>>
>>>---------------------------------------------------------------------
>>>      
>>>
>>>>To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>>>>For additional commands, e-mail: ojb-user-help@db.apache.org
>>>>
>>>>
>>>>        
>>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>    
>>
>>>To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>>>For additional commands, e-mail: ojb-user-help@db.apache.org
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>>For additional commands, e-mail: ojb-user-help@db.apache.org
>>
>>
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>  
>


Re: p6spy StringIndexOutOfBoundsException

Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi Jakob,

should we rollback to pervious version?

regards,
Armin

----- Original Message -----
From: "Jakob Braeuchi" <jb...@gmx.ch>
To: "OJB Users List" <oj...@db.apache.org>
Sent: Wednesday, July 02, 2003 9:37 PM
Subject: Re: p6spy StringIndexOutOfBoundsException


> hi all,
>
> fyi this is a known problem of p6spy version 1.2
>
> jakob
>
> Jakob Braeuchi wrote:
>
> > this is the stacktrace :
> >
> > Caused by: java.lang.StringIndexOutOfBoundsException: String index
out
> > of range: -2
> >    at java.lang.StringBuffer.substring(StringBuffer.java:801)
> >    at com.p6spy.engine.spy.P6ResultSet.next(P6ResultSet.java:147)
> >    at
> >
com.p6spy.engine.logging.P6LogResultSet.next(P6LogResultSet.java:124)
> >    at
> >
org.apache.ojb.broker.core.PersistenceBrokerImpl.getMtoNImplementor(Pers
istenceBrokerImpl.java:899)
> >
> >
> > jakob
> >
> > Jakob Braeuchi wrote:
> >
> >> hi all,
> >>
> >> since we switched p6spy.jar i get StringIndexOutOfBoundsException
in
> >> some testcases.
> >>
> >> jakob
> >>
> >>
>
>> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> >> For additional commands, e-mail: ojb-user-help@db.apache.org
> >>
> >>
> >
> >
>
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> > For additional commands, e-mail: ojb-user-help@db.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>



Re: p6spy StringIndexOutOfBoundsException

Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi all,

fyi this is a known problem of p6spy version 1.2

jakob

Jakob Braeuchi wrote:

> this is the stacktrace :
>
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out 
> of range: -2
>    at java.lang.StringBuffer.substring(StringBuffer.java:801)
>    at com.p6spy.engine.spy.P6ResultSet.next(P6ResultSet.java:147)
>    at 
> com.p6spy.engine.logging.P6LogResultSet.next(P6LogResultSet.java:124)
>    at 
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getMtoNImplementor(PersistenceBrokerImpl.java:899) 
>
>
> jakob
>
> Jakob Braeuchi wrote:
>
>> hi all,
>>
>> since we switched p6spy.jar i get StringIndexOutOfBoundsException in 
>> some testcases.
>>
>> jakob
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-user-help@db.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>


Re: p6spy StringIndexOutOfBoundsException

Posted by Jakob Braeuchi <jb...@gmx.ch>.
this is the stacktrace :

Caused by: java.lang.StringIndexOutOfBoundsException: String index out 
of range: -2
    at java.lang.StringBuffer.substring(StringBuffer.java:801)
    at com.p6spy.engine.spy.P6ResultSet.next(P6ResultSet.java:147)
    at com.p6spy.engine.logging.P6LogResultSet.next(P6LogResultSet.java:124)
    at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getMtoNImplementor(PersistenceBrokerImpl.java:899)

jakob

Jakob Braeuchi wrote:

> hi all,
>
> since we switched p6spy.jar i get StringIndexOutOfBoundsException in 
> some testcases.
>
> jakob
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>