java.lang.IllegalArgumentException: Both dimensions must be greater than 0

GitHub | susussa | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 264#241934302

    GitHub | 8 months ago | susussa
    java.lang.IllegalArgumentException: Both dimensions must be greater than 0
  2. 0

    扫一扫崩溃了

    GitHub | 6 months ago | FrameJack
    java.lang.IllegalArgumentException: Both dimensions must be greater than 0
  3. 0

    调用基础扫描报错

    GitHub | 8 months ago | Yellup
    java.lang.IllegalArgumentException: Both dimensions must be greater than 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    打开CaptureActivity之后闪退

    GitHub | 4 months ago | wangran99
    java.lang.IllegalArgumentException: Both dimensions must be greater than 0
  6. 0

    我的手机是红米note3

    GitHub | 4 months ago | caijin199410
    java.lang.IllegalArgumentException: Both dimensions must be greater than 0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Both dimensions must be greater than 0

      at com.google.zxing.common.BitMatrix.<init>()
    2. ZXing Core
      MultiFormatReader.decodeWithState
      1. com.google.zxing.common.BitMatrix.<init>(BitMatrix.java:50)
      2. com.google.zxing.common.GlobalHistogramBinarizer.getBlackMatrix(GlobalHistogramBinarizer.java:91)
      3. com.google.zxing.common.HybridBinarizer.getBlackMatrix(HybridBinarizer.java:86)
      4. com.google.zxing.BinaryBitmap.getBlackMatrix(BinaryBitmap.java:85)
      5. com.google.zxing.qrcode.QRCodeReader.decode(QRCodeReader.java:77)
      6. com.google.zxing.MultiFormatReader.decodeInternal(MultiFormatReader.java:171)
      7. com.google.zxing.MultiFormatReader.decodeWithState(MultiFormatReader.java:85)
      7 frames
    3. com.uuzuche.lib_zxing
      DecodeHandler.handleMessage
      1. com.uuzuche.lib_zxing.decoding.DecodeHandler.decode(DecodeHandler.java:86)
      2. com.uuzuche.lib_zxing.decoding.DecodeHandler.handleMessage(DecodeHandler.java:55)
      2 frames
    4. Android Platform
      Looper.loop
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:148)
      2 frames
    5. com.uuzuche.lib_zxing
      DecodeThread.run
      1. com.uuzuche.lib_zxing.decoding.DecodeThread.run(DecodeThread.java:83)
      1 frame