crash when joinning figures (ArrayIndexOutOfBoundsException)

Bug #289881 reported by arno_b on 2008-10-27
2
Affects Status Importance Assigned to Milestone
LaTeXDraw
High
arno_b

Bug Description

java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
   at java.util.Vector.elementAt(Vector.java:427)
   at latexDraw.figures.Draw.getLineStyle(Draw.java:1251)
   at latexDraw.ui.LaTeXDrawFrame.updateFrameFields(LaTeXDrawFrame.java:1747)
   at latexDraw.ui.LaTeXDrawFrame.setSelection(LaTeXDrawFrame.java:1259)
   at latexDraw.ui.LaTeXDrawFrame.actionPerformed(LaTeXDrawFrame.java:2519)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
   at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
   at java.awt.Component.processMouseEvent(Component.java:6134)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
   at java.awt.Component.processEvent(Component.java:5899)
   at java.awt.Container.processEvent(Container.java:2023)
   at java.awt.Component.dispatchEventImpl(Component.java:4501)
   at java.awt.Container.dispatchEventImpl(Container.java:2081)
   at java.awt.Component.dispatchEvent(Component.java:4331)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
   at java.awt.Container.dispatchEventImpl(Container.java:2067)
   at java.awt.Window.dispatchEventImpl(Window.java:2458)
   at java.awt.Component.dispatchEvent(Component.java:4331)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

When joinning several figures (the 'action en cours' box), I had this crash.

arno_b (arno.b) wrote :
Changed in latexdraw:
importance: Undecided → High
milestone: none → 2.0.1
status: New → Confirmed
assignee: nobody → arno-blouin
arno_b (arno.b) wrote :

using latexdraw 2.0.0

arno_b (arno.b) wrote :

to have the crash: select 'action', then 'en cours', then their box, then join them.

arno_b (arno.b) wrote :
Changed in latexdraw:
status: Confirmed → Fix Committed
arno_b (arno.b) on 2008-10-31
Changed in latexdraw:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments