tinkoff-asdk-android-old icon indicating copy to clipboard operation
tinkoff-asdk-android-old copied to clipboard

Ошибка "ArrayIndexOutOfBoundsException"

Open RomanXX1 opened this issue 5 years ago • 0 comments

Здравствуйте. Сценарий, который вызывает ошибку не могу сказать, так как пользователь не знает, как это произошло.

Используемая версия: 1.3.4

Вот стектрейс:

#0. Crashed: nfc-thread at ru.tinkoff.core.nfc2.Tags.parseLengthField(Tags.java:172) at ru.tinkoff.core.nfc2.Tags.buildOptions(Tags.java:105) at ru.tinkoff.core.nfc2.CardParseStrategy.buildGpo(CardParseStrategy.java:186) at ru.tinkoff.core.nfc2.CardParseStrategy.recordsForRead(CardParseStrategy.java:150) at ru.tinkoff.core.nfc2.CardParseStrategy.getData(CardParseStrategy.java:67) at ru.tinkoff.core.nfc2.CardParseStrategy.getData(CardParseStrategy.java:13) at ru.tinkoff.core.nfc2.Connectivity.execute(Connectivity.java:22) at ru.tinkoff.core.nfc2.NfcRecognizer.request(NfcRecognizer.java:160) at ru.tinkoff.core.nfc2.NfcRecognizer.access$100(NfcRecognizer.java:25) at ru.tinkoff.core.nfc2.NfcRecognizer$2.handleMessage(NfcRecognizer.java:129) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:241) at android.os.HandlerThread.run(HandlerThread.java:61)

--

Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=14; index=14 at ru.tinkoff.core.nfc2.Tags.parseLengthField(Tags.java:172) at ru.tinkoff.core.nfc2.Tags.buildOptions(Tags.java:105) at ru.tinkoff.core.nfc2.CardParseStrategy.buildGpo(CardParseStrategy.java:186) at ru.tinkoff.core.nfc2.CardParseStrategy.recordsForRead(CardParseStrategy.java:150) at ru.tinkoff.core.nfc2.CardParseStrategy.getData(CardParseStrategy.java:67) at ru.tinkoff.core.nfc2.CardParseStrategy.getData(CardParseStrategy.java:13) at ru.tinkoff.core.nfc2.Connectivity.execute(Connectivity.java:22) at ru.tinkoff.core.nfc2.NfcRecognizer.request(NfcRecognizer.java:160) at ru.tinkoff.core.nfc2.NfcRecognizer.access$100(NfcRecognizer.java:25) at ru.tinkoff.core.nfc2.NfcRecognizer$2.handleMessage(NfcRecognizer.java:129) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:241) at android.os.HandlerThread.run(HandlerThread.java:61)

RomanXX1 avatar Feb 18 '19 08:02 RomanXX1