java.lang.ArrayIndexOutOfBoundsException: 0

GitHub | loxtank | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    cd crashes when no input arguments are provided

    GitHub | 5 months ago | loxtank
    java.lang.ArrayIndexOutOfBoundsException: 0

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      0

      at org.pucko.commands.CdCommandMethod.runMethod()
    2. org.pucko.commands
      CdCommandMethod.runMethod
      1. org.pucko.commands.CdCommandMethod.runMethod(CdCommandMethod.java:15)
      1 frame
    3. org.pucko.core
      Program.main
      1. org.pucko.core.CommandFactory.createCommands(CommandFactory.java:34)
      2. org.pucko.core.Controller.parseCommand(Controller.java:21)
      3. org.pucko.core.Menu.run(Menu.java:22)
      4. org.pucko.core.Program.main(Program.java:13)
      4 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    5. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame