occasional "java.lang.ArrayIndexOutOfBoundsException" without effect
John Worley <[email protected]>
| Newsgroups | gmane.comp.embedded.carlsbad-cubes |
|---|---|
| Message-ID | <[email protected]> |
Hi, I found this message you posted back on May 8, 2003 on an annoying (but non-fatal) error message. It looks like you were using a JEditorPane class. I have run in to a similar error while programmatically parsing through a JEditorPane that I loaded with RTF text. I get the error occasionally when I call the modelToView method of the JEditorPane. It only happens when I am running my application on a fast PC (like a Pentium 4, 3 GHz box). When I run on my development PC (a 2.4 GHz P4) I don't get the error. As a test I put a 500 msec delay right before I call the modelToView method and the problem goes away. It seems to be a timing issue. I don't really like putting in a delay and was wondering if you ever solved your problem? John Worley