CenturyLinkCloud / mdw

https://centurylinkcloud.github.io/mdw/
MIT License
46 stars 10 forks source link

CLI without command throws IndexOutOfBoundsException on Windows #807

Closed donaldoakes closed 4 years ago

donaldoakes commented 4 years ago

Running just mdw shows the following stack trace, whereas on Linux/Mac it displays the help message as expected.

C:\>mdw
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:657)
        at java.util.ArrayList.get(ArrayList.java:433)
        at com.centurylink.mdw.cli.Main.main(Main.java:81)
naveena-bellamkonda commented 4 years ago

unable to reproduce this issue with 6.1.32-SNAPSHOT cli. Without command, it displays the version and help message.