java.lang.ArrayIndexOutOfBoundsException: 1

Coderanch | Vivek Alampally | 7 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

    Unexpected Exception

    Coderanch | 7 years ago | Vivek Alampally
    java.lang.ArrayIndexOutOfBoundsException: 1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      1

      at TestMain.addName()
    2. Unknown
      TestMain.main
      1. TestMain.addName(TestMain.java:40)
      2. TestMain.getNames(TestMain.java:31)
      3. TestMain.go(TestMain.java:18)
      4. TestMain.main(TestMain.java:13)[Vivek, Santosh, Kathik Reddy, Karthik, Sravan, Bhanu, Shailendra, Rakesh, Vivek]
      4 frames