#1614 CtagsInterface: AIOOBE on startup, getToolTipText

closed-fixed
None
5
2012-06-03
2012-06-03
No

Sometimes (can't reproduce repeatedly) at jEdit startup I get the following ArrayIndexOutOfBoundsException:

18:42:26 [AWT-EventQueue-0] [error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
18:42:26 [AWT-EventQueue-0] [error] AWT-EventQueue-0: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
18:42:26 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at org.gjt.sp.jedit.buffer.JEditBuffer.getLineOfOffset(JEditBuffer.java:353)
18:42:26 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at ctagsinterface.jedit.TagTooltip.getToolTipText(TagTooltip.java:98)
18:42:26 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at org.gjt.sp.jedit.textarea.ExtensionManager.getToolTipText(ExtensionManager.java:135)
18:42:26 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at org.gjt.sp.jedit.textarea.TextAreaPainter.getToolTipText(TextAreaPainter.java:748)
18:42:26 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.ToolTipManager$insideTimerAction.actionPerformed(Unknown Source)
18:42:26 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.Timer.fireActionPerformed(Unknown Source)
18:42:26 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at javax.swing.Timer$DoPostEvent.run(Unknown Source)
18:42:26 [AWT-EventQueue-0] [error] AWT-EventQueue-0: at java.awt.event.InvocationEvent.dispatch(Unknown Source)

Discussion

  • Tom Power

    Tom Power - 2012-06-03

    I can't replicate but put a condition before the call causes the exception, want to reopen if it happens again?

     
  • Tom Power

    Tom Power - 2012-06-03
    • assigned_to: nobody --> tp21
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks