java.lang.RuntimeException: An error occured while executing doInBackground()

briarproject.org | 6 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.

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    length=460800; index=460800

    at com.google.zxing.common.HybridBinarizer.calculateBlackPoints()
  2. ZXing Core
    QRCodeReader.decode
    1. com.google.zxing.common.HybridBinarizer.calculateBlackPoints(HybridBinarizer.java:184)
    2. com.google.zxing.common.HybridBinarizer.getBlackMatrix(HybridBinarizer.java:79)
    3. com.google.zxing.BinaryBitmap.getBlackMatrix(BinaryBitmap.java:85)
    4. com.google.zxing.qrcode.QRCodeReader.decode(QRCodeReader.java:77)
    4 frames
  3. org.briarproject.android
    QrCodeDecoder$DecoderTask.doInBackground
    1. org.briarproject.android.util.QrCodeDecoder$DecoderTask.doInBackground(QrCodeDecoder.java:87)
    2. org.briarproject.android.util.QrCodeDecoder$DecoderTask.doInBackground(QrCodeDecoder.java:63)
    2 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:287)
    1 frame
  5. Java RT
    FutureTask$Sync.innerRun
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
    1 frame