Invalid filetype for 'Import individuals in AVscore CSV format' throws ArrayIndexOutOfBoundsException

Bug #417684 reported by Ken McLean
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenScore
Fix Committed
Low
Craig Mahony

Bug Description

Invalid filetype for 'Import individuals in AVscore CSV format' throws ArrayIndexOutOfBoundsException

22:05:32.375:INFO :Storage:Update complete, yielding...
22:05:33.609:INFO :0 competitors imported.
java.lang.ArrayIndexOutOfBoundsException: 1
        at avscoreswt.core.CoreObjectParcel.importIndividualsFromCSV(CoreObjectParcel.java:615)
        at avscoreswt.gui.BaseFrame$23.run(BaseFrame.java:742)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at avscoreswt.gui.BaseFrame.run(BaseFrame.java:192)
        at avscoreswt.gui.BaseFrame.start(BaseFrame.java:1112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at avscoreswt.OpenScore.main(OpenScore.java:61)

Revision history for this message
Craig Mahony (cmahony) wrote :

Should be fixed now.

Changed in openscore:
status: New → Fix Committed
Revision history for this message
Ken McLean (kenmclean) wrote :

Fixed, except that the status bar is telling me it imported the number of lines in the csv file, when it quite obviously did not.

Revision history for this message
Craig Mahony (cmahony) wrote :

A further fix committed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.