• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Application loading with intermittent JEditorPane error

Rachel Swailes
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

In my application I have a tabbed pane that makes up the main portion of the GUI. And all was going well until I started work on the third tab.

This tab has two JEditorPanes that are set up to handle hyperlink events.

But the problem I'm getting is that intermittendly I am now getting an error when I start my program up. It didn't happen before the third tab got done and it doesn't occur all the time. I can't figure out a pattern for the error either.

This is the error I get...

SatStarFrame SatStarFrame() java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at javax.swing.text.BoxView.updateLayoutArray(BoxView.java:196)
at javax.swing.text.BoxView.replace(BoxView.java:168)
at javax.swing.text.View.updateChildren(View.java:1117)
at javax.swing.text.View.changedUpdate(View.java:783)
at javax.swing.text.html.BlockView.changedUpdate(BlockView.java:323)
at javax.swing.plaf.basic.BasicTextUI$RootView.changedUpdate(BasicTextUI
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.changedUpdate(BasicT
at javax.swing.text.AbstractDocument.fireChangedUpdate(AbstractDocument.
at javax.swing.text.html.HTMLDocument.fireChangedUpdate(HTMLDocument.jav
at javax.swing.text.html.HTMLDocument$HTMLReader.adjustEndElement(HTMLDo
at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java
at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:230)
at javax.swing.JEditorPane.read(JEditorPane.java:504)
at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:551)

I've looked on the net for similar problems but with no success. Does anyone have any suggestions?

Many kind regards,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic