You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Valeri Gavrilovets <va...@mail.ru> on 2004/11/12 12:01:51 UTC
Re[2]: [betwixt] ClassCastException -> IndexOutOfBoundException
Hi Robert,
it does not help. i get nearly the same exception
nearly means that with whole grarh i get
SAXParseException: Error at (13, 13: Index: 3, Size: 3
that points on the end of Request element tag,
and only with Order bean
SAXParseException: Error at (14, 9: Index: 3, Size: 3
that points on the end of Order element tag
please help me, it is so frustrating
-----Original Message-----
From: robert burrell donkin <ro...@blueyonder.co.uk>
To: "Jakarta Commons Users List" <co...@jakarta.apache.org>
Date: Thu, 11 Nov 2004 22:23:33 +0000
Subject: Re: [betwixt] ClassCastException -> IndexOutOfBoundException
>
> On 11 Nov 2004, at 20:26, Valeri Gavrilovets wrote:
>
> > The last post was tested with 0.6.
> > With 0.6.1 (20041110) it does not look better.
>
> oh but it does :)
>
> now try registering just the main bean (order) rather than the whole
> graph. (in other words, request, price and response.)
>
> - robert
>
> > 11.11.2004 21:19:09 (TibcoSimulator): ERROR:
> > <TibcoSimulator><processMessage> SAXParseException: Error
> > at (13, 13: Index: 3, Size: 3
> > 11.11.2004 21:19:09 (TibcoSimulator): ERROR:
> > <TibcoSimulator><processMessage> java.lang.IndexOutOfBoundsException:
> > Ind
> > ex: 3, Size: 3
> > at
> > org.apache.commons.digester.Digester.createSAXException(Digester.java:
> > 2540)
> > at
> > org.apache.commons.digester.Digester.createSAXException(Digester.java:
> > 2566)
> > at
> > org.apache.commons.digester.Digester.endElement(Digester.java:1061)
> > at
> > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> > at
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Un
> > known Source)
> > at
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi
> > spatcher.dispatch(Unknown Source)
> > at
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
> > own Source)
> > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> > Source)
> > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> > Source)
> > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> > Source)
> > at
> > org.apache.commons.digester.Digester.parse(Digester.java:1586)
> > at
> > com.dart.simulator.tibco.TibcoBeanReader.parse(TibcoBeanReader.java:
> > 107)
> >
> > :-<
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
http://Mail.Ru - неограниченные возможности:
неограниченный объем почтового ящика
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: Re[2]: [betwixt] ClassCastException -> IndexOutOfBoundException
Posted by "Md. Rezaul Hoque" <ja...@gmail.com>.
i think in your classpath there is another commons-digester.jar which
is older version. Please remove older commons-digester.jar from your
classpath and use latest commons-digester.jar. I think it will work.
Babu
On Mon, 15 Nov 2004 23:14:47 +0000, robert burrell donkin
<ro...@blueyonder.co.uk> wrote:
> On 12 Nov 2004, at 11:01, Valeri Gavrilovets wrote:
>
> > Hi Robert,
> >
> > it does not help. i get nearly the same exception
> > nearly means that with whole grarh i get
> > SAXParseException: Error at (13, 13: Index: 3, Size: 3
> > that points on the end of Request element tag,
> > and only with Order bean
> > SAXParseException: Error at (14, 9: Index: 3, Size: 3
> > that points on the end of Order element tag
>
> the exception will always be the same: some kind of SAXException
> wrapping the cause.
>
> > please help me, it is so frustrating
>
> i'm a little frustrated too: i had something very similar to your code
> working on my machine before the weekend. i'm very, very confused about
> why it's failing in the way that it is. the index out of bounds is
> happening in digester but the location is very, very strange.
> digester's stable and well tested. you're not running multiple threads,
> are you?
>
> what i really need to help you further is a proper unit test that
> demonstrates the failure in a controlled environment that i can
> replicate.
>
> - robert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: Re[2]: [betwixt] ClassCastException -> IndexOutOfBoundException
Posted by robert burrell donkin <ro...@blueyonder.co.uk>.
On 12 Nov 2004, at 11:01, Valeri Gavrilovets wrote:
> Hi Robert,
>
> it does not help. i get nearly the same exception
> nearly means that with whole grarh i get
> SAXParseException: Error at (13, 13: Index: 3, Size: 3
> that points on the end of Request element tag,
> and only with Order bean
> SAXParseException: Error at (14, 9: Index: 3, Size: 3
> that points on the end of Order element tag
the exception will always be the same: some kind of SAXException
wrapping the cause.
> please help me, it is so frustrating
i'm a little frustrated too: i had something very similar to your code
working on my machine before the weekend. i'm very, very confused about
why it's failing in the way that it is. the index out of bounds is
happening in digester but the location is very, very strange.
digester's stable and well tested. you're not running multiple threads,
are you?
what i really need to help you further is a proper unit test that
demonstrates the failure in a controlled environment that i can
replicate.
- robert
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org