Opened 8 years ago

Closed 7 years ago

Last modified 5 years ago

#48 closed defect (fixed)

BackgroundParser crashes sometimes when closing tabs

Reported by: stefan Owned by:
Priority: normal Milestone: 0.2
Component: general Version:
Keywords: Cc: joerg@…
Blocked By: Blocking:
Parent Tickets:

Description

At the start I had 3 files open that I closed directly after the start. This ended in the following exception:

Exception in thread "BackgroundParser" java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
	at java.util.Vector.elementAt(Vector.java:427)
	at javax.swing.JTabbedPane.getComponentAt(JTabbedPane.java:1201)
	at jlatexeditor.JLatexEditorJFrame.getEditor(JLatexEditorJFrame.java:558)
	at jlatexeditor.JLatexEditorJFrame.getActiveEditor(JLatexEditorJFrame.java:562)
	at jlatexeditor.JLatexEditorJFrame.getMainEditor(JLatexEditorJFrame.java:566)
	at jlatexeditor.codehelper.BackgroundParser.run(BackgroundParser.java:68)

Subtickets

Change History (2)

comment:1 Changed 8 years ago by stefan

  • Cc joerg@… added

comment:2 Changed 7 years ago by stefan

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.