java.lang.ArrayIndexOutOfBoundsException: 1

Stack Overflow | willielf | 7 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

    I have an issue with implementing Merge Sort for Java

    Stack Overflow | 7 months ago | willielf
    java.lang.ArrayIndexOutOfBoundsException: 1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      1

      at Lab1_2.merge()
    2. Unknown
      Lab1_2.main
      1. Lab1_2.merge(Lab1_2.java:28)
      2. Lab1_2.mergeSort(Lab1_2.java:61)
      3. Lab1_2.mergeSort(Lab1_2.java:59)
      4. Lab1_2.mergeSort(Lab1_2.java:59)
      5. Lab1_2.mergeSort(Lab1_2.java:59)
      6. Lab1_2.main(Lab1_2.java:8)
      6 frames