java.lang.RuntimeException: Buffer not large enough for pixels

GitHub | duard | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Buffer not large enough for pixels

    GitHub | 6 months ago | duard
    java.lang.RuntimeException: Buffer not large enough for pixels
  2. 0

    GitHub comment 14#15045399

    GitHub | 4 years ago | munagasanjeev
    java.lang.RuntimeException: Buffer not large enough for pixels
  3. 0

    RuntimeException on trying to convert Frame to Bitmap AndroidFrameConverter

    GitHub | 9 months ago | akhilc1
    java.lang.RuntimeException: Buffer not large enough for pixels
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    Buffer not large enough for pixels

    at android.graphics.Bitmap.copyPixelsFromBuffer()
  2. Android Platform
    Bitmap.copyPixelsFromBuffer
    1. android.graphics.Bitmap.copyPixelsFromBuffer(Bitmap.java:535)
    1 frame
  3. in.omerjerk.libscreenshotter
    Screenshotter.onImageAvailable
    1. in.omerjerk.libscreenshotter.Screenshotter.onImageAvailable(Screenshotter.java:131)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:648)
    2. android.os.Handler.dispatchMessage(Handler.java:102)
    3. android.os.Looper.loop(Looper.java:148)
    4. android.app.ActivityThread.main(ActivityThread.java:5417)
    4 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames