Menu

#44 GUIStructure2Graph - Crashes on empty input filename

open
nobody
None
5
2010-03-24
2010-03-24
Patd31988
No

If the inputFile field in the GUIStructure2GraphConvert.properties file is left blank, running the tool results in an index out of bounds exception. The output follows:

Buildfile: C:\cs435\GUIStructure2GraphConvert.xml

run:
[java] java.lang.ArrayIndexOutOfBoundsException: 2
[java] at edu.umd.cs.guitar.graph.GUIStructure2GraphConverter.main(GUIStructure2GraphConv
Unknown ERROR
[java] erter.java:63)

BUILD SUCCESSFUL
Total time: 1 second

Bug found by: All members of GUIStructure2Graph Team

Discussion

  • Patd31988

    Patd31988 - 2010-03-24

    The same is true for a blank outputFile field

     
  • Patd31988

    Patd31988 - 2010-03-24

    The incorrect output was put in the description. The correct output for this error is as follows:

    Buildfile: C:\cs435\GUIStructure2GraphConvert.xml

    run:
    [java] ===========================================
    [java] GUIStructure2GraphConverter
    [java]
    [java] Plugin: EFGConverter
    [java] Input file: Project.EFG.xml
    [java] Output file: Project.EFG.xml
    [java] ===========================================
    [java] The converter is defined as an Abstract class, or an interface, or its constructor is not accessible without parameters.
    [java] Please Report this bug

    BUILD SUCCESSFUL
    Total time: 2 seconds

     
  • Patd31988

    Patd31988 - 2010-03-24

    Same error outputs for setting the inputFile to an EFG.xml (an output file)

     

Log in to post a comment.

MongoDB Logo MongoDB