Hi,
There is a specific GP5 file (attached) that causes Tuxguitar 1.2 to crash when opening it. This is the error message I get:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:338)
at java.util.ArrayList.get(ArrayList.java:351)
at org.herac.tuxguitar.song.models.TGTrack.getString(Unknown Source)
at org.herac.tuxguitar.gui.editors.tab.edit.MouseKit.mouseMove(Unknown Source)
at org.herac.tuxguitar.gui.editors.tab.edit.EditorKit.mouseMove(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
Regards,
Florent
I can open attached file with development versión of tuxguitar, so the bug seems to be fixed.
That sounds great!
Hopefullly, you can make a release soon? I believe there is initial support for GPX (GP6) files as well.
Cheers,
Florent
Trying again with TuxGuitar 1.4 and it seems to work fine. Cheers and feel free to close this issue.
Last edit: floflooo 2018-05-01