IndexOutOfBoundsException

View: New views
3 Messages — Rating Filter:   Alert me  

IndexOutOfBoundsException

by Victor Pinto-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
  I got this error while trying to parse a xml. Seems like a internal
error. Does someone had same problem?

---- Debugging information ----
message             : Index: 29, Size: 29
cause-exception     : java.lang.IndexOutOfBoundsException
cause-message       : Index: 29, Size: 29
class               :
br.com.banestes.kda.businessobject.client.ftp.ADDADocADDA101
required-type       :
br.com.banestes.kda.businessobject.client.ftp.Grupo_ADDA101_DetTit_Retorno
path                :
/ADDADOC/SISARQ/ADDA101RET/Repet_ADDA101RET_TitRecusado/Grupo_ADDA101RET_TitRecusado/Grupo_ADDA101RET_DetTit
-----
Cause:

Caused by: java.lang.IndexOutOfBoundsException: Index: 29, Size: 29
        at java.util.ArrayList.RangeCheck(ArrayList.java:546)
        at java.util.ArrayList.get(ArrayList.java:321)
        at com.thoughtworks.xstream.io.xml.DomReader.getChild(DomReader.java:93)
        at com.thoughtworks.xstream.io.xml.AbstractDocumentReader.moveDown(AbstractDocumentReader.java:69)
        at com.thoughtworks.xstream.io.ReaderWrapper.moveDown(ReaderWrapper.java:36)
        at com.thoughtworks.xstream.io.path.PathTrackingReader.moveDown(PathTrackingReader.java:37)
--
Victor Pinto A. de Oliveira

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: IndexOutOfBoundsException

by Jörg Schaible-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Victor,

Victor Pinto wrote at Freitag, 25. September 2009 00:17:

> Hi,
>   I got this error while trying to parse a xml. Seems like a internal
> error. Does someone had same problem?

No. I simply suspect that you've written some custom converters and
somewhere you do not have matching moveDown()/moveUp() calls. Look at the
code that processes the elements of the list that is filled below.

> ---- Debugging information ----
> message             : Index: 29, Size: 29
> cause-exception     : java.lang.IndexOutOfBoundsException
> cause-message       : Index: 29, Size: 29
> class               :
> br.com.banestes.kda.businessobject.client.ftp.ADDADocADDA101
> required-type       :
> br.com.banestes.kda.businessobject.client.ftp.Grupo_ADDA101_DetTit_Retorno
> path                :
> /ADDADOC/SISARQ/ADDA101RET/Repet_ADDA101RET_TitRecusado/Grupo_ADDA101RET_TitRecusado/Grupo_ADDA101RET_DetTit
> -----
> Cause:
>
> Caused by: java.lang.IndexOutOfBoundsException: Index: 29, Size: 29
> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> at java.util.ArrayList.get(ArrayList.java:321)
> at com.thoughtworks.xstream.io.xml.DomReader.getChild(DomReader.java:93)
> at
>
com.thoughtworks.xstream.io.xml.AbstractDocumentReader.moveDown(AbstractDocumentReader.java:69)
> at
> com.thoughtworks.xstream.io.ReaderWrapper.moveDown(ReaderWrapper.java:36)
> at
>
com.thoughtworks.xstream.io.path.PathTrackingReader.moveDown(PathTrackingReader.java:37)


Cheers,
Jörg


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Re: IndexOutOfBoundsException

by Victor Pinto-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You are right.
Tks

2009/9/25, Jörg Schaible <joerg.schaible@...>:

> Hi Victor,
>
> Victor Pinto wrote at Freitag, 25. September 2009 00:17:
>
>> Hi,
>>   I got this error while trying to parse a xml. Seems like a internal
>> error. Does someone had same problem?
>
> No. I simply suspect that you've written some custom converters and
> somewhere you do not have matching moveDown()/moveUp() calls. Look at the
> code that processes the elements of the list that is filled below.
>
>> ---- Debugging information ----
>> message             : Index: 29, Size: 29
>> cause-exception     : java.lang.IndexOutOfBoundsException
>> cause-message       : Index: 29, Size: 29
>> class               :
>> br.com.banestes.kda.businessobject.client.ftp.ADDADocADDA101
>> required-type       :
>> br.com.banestes.kda.businessobject.client.ftp.Grupo_ADDA101_DetTit_Retorno
>> path                :
>> /ADDADOC/SISARQ/ADDA101RET/Repet_ADDA101RET_TitRecusado/Grupo_ADDA101RET_TitRecusado/Grupo_ADDA101RET_DetTit
>> -----
>> Cause:
>>
>> Caused by: java.lang.IndexOutOfBoundsException: Index: 29, Size: 29
>> at java.util.ArrayList.RangeCheck(ArrayList.java:546)
>> at java.util.ArrayList.get(ArrayList.java:321)
>> at com.thoughtworks.xstream.io.xml.DomReader.getChild(DomReader.java:93)
>> at
>>
> com.thoughtworks.xstream.io.xml.AbstractDocumentReader.moveDown(AbstractDocumentReader.java:69)
>> at
>> com.thoughtworks.xstream.io.ReaderWrapper.moveDown(ReaderWrapper.java:36)
>> at
>>
> com.thoughtworks.xstream.io.path.PathTrackingReader.moveDown(PathTrackingReader.java:37)
>
>
> Cheers,
> Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>


--
Victor Pinto A. de Oliveira

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email