silentsugar / abc4j

Automatically exported from code.google.com/p/abc4j
1 stars 0 forks source link

Cb key makes an array out of bounds exception #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
X:1
T:abc notes
M:4/4
K:Cb
C,

java.lang.ArrayIndexOutOfBoundsException: -1
    at abc.notation.KeySignature.<init>(KeySignature.java:122)
    at abc.parser.AbcParserAbstract.parseKeySpec(AbcParserAbstract.java:747)
    at abc.parser.AbcParserAbstract.parseKey(AbcParserAbstract.java:729)
    at abc.parser.AbcParserAbstract.parseFieldKey(AbcParserAbstract.java:711)
    at abc.parser.AbcParserAbstract.parseAbcHeader(AbcParserAbstract.java:863)
    at abc.parser.AbcParserAbstract.parseAbcTune(AbcParserAbstract.java:252)
    at abc.parser.AbcParserAbstract.parseAbcFile(AbcParserAbstract.java:222)
    at abc.parser.AbcFileParser.parseFile(AbcFileParser.java:96)
    at abc.parser.TuneBook.buildTunesTreeMap(TuneBook.java:344)
    at abc.parser.TuneBook.<init>(TuneBook.java:46)
    at Main.main(Main.java:113)

Original issue reported on code.google.com by lionel.g...@gmail.com on 25 May 2007 at 9:34

GoogleCodeExporter commented 9 years ago
Fixed in v0.3
Key signatures such as Gb, F#, Cb and C# are now supported.

Original comment by lionel.g...@gmail.com on 6 Sep 2007 at 3:07