java.lang.ArrayIndexOutOfBoundsException: 2

Coderanch | Tran Tuan Hung | 9 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

    how to read and show a byte array?

    Coderanch | 9 years ago | Tran Tuan Hung
    java.lang.ArrayIndexOutOfBoundsException: 2

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      2

      at test.TestMsg.readFileMsg()
    2. test
      TestMsg.main
      1. test.TestMsg.readFileMsg(TestMsg.java:18)
      2. test.TestMsg.main(TestMsg.java:31)
      2 frames