java.lang.ArrayIndexOutOfBoundsException: 0

Coderanch | Jai Gates | 4 years 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

    Problems with instantiating a File object from text.txt put in at args[0]

    Coderanch | 4 years ago | Jai Gates
    java.lang.ArrayIndexOutOfBoundsException: 0

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      0

      at tests.LoadingArrayFromFileTest.main()
    2. tests
      LoadingArrayFromFileTest.main
      1. tests.LoadingArrayFromFileTest.main(LoadingArrayFromFileTest.java:26)
      1 frame