java.lang.ArrayIndexOutOfBoundsException: 3

tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael and chenjunjun . Or join the community to write better ones.
  1. 0

    Java Error on Array's

    Stack Overflow | 4 months ago | Oliver Aarnikoivu
    java.lang.ArrayIndexOutOfBoundsException: 3
  2. 0
    samebug tip
    Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.
  3. 0
    samebug tip
    Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    One of the variables you're using is set to Null or you're passing a Null value to a method expecting another kind of value
  6. 0
    samebug tip
    自定义异常

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      3

      at javaAssessment1.contestantScores()
    2. Unknown
      javaAssessment1.main
      1. javaAssessment1.contestantScores(javaAssessment1.java:29)
      2. javaAssessment1.main(javaAssessment1.java:8)
      2 frames
    3. 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:498)
      4 frames
    4. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame