java.lang.ArrayIndexOutOfBoundsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • ArrayIndexOutOfBoundsException (MergeSort)
    via Stack Overflow by kgbiutcf
    ,
    • java.lang.ArrayIndexOutOfBoundsException: 2 at MergeSort.merge(MergeSort.java:80) (L[n1 + 1] = Integer.MAX_VALUE;) at MergeSort.merge_sort(MergeSort.java:58) (merge(A, p, q, r);) at MergeSort.merge_sort(MergeSort.java:56) at MergeSort.merge_sort(MergeSort.java:56) at MergeSort.merge_sort(MergeSort.java:56)
    No Bugmate found.