java.lang.IllegalArgumentException: x + width must be <= bitmap.width()

GitHub | NightMadness | 2 months ago
  1. 0

    GitHub comment 463#249089847

    GitHub | 2 months ago | NightMadness
    java.lang.IllegalArgumentException: x + width must be <= bitmap.width()
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. pranavprakash 1 times, last 1 month ago
  2. lribeiro 4 times, last 2 months ago
  3. th3teacher 1 times, last 3 months ago
  4. Agócs Tamás 811 times, last 4 months ago
  5. jk 22 times, last 4 months ago
2 more registered users
5 unregistered visitors
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

    x + width must be <= bitmap.width()

    at android.graphics.Bitmap.createBitmap()
  2. Android Platform
    Bitmap.createBitmap
    1. android.graphics.Bitmap.createBitmap(Bitmap.java:824)
    2. android.graphics.Bitmap.createBitmap(Bitmap.java:791)
    2 frames
  3. com.kamron.pogoiv
    Pokefly$11.onReceive
    1. com.kamron.pogoiv.OcrHelper.getPokemonNameFromImg(OcrHelper.java:211)
    2. com.kamron.pogoiv.OcrHelper.scanPokemon(OcrHelper.java:347)
    3. com.kamron.pogoiv.Pokefly.scanPokemon(Pokefly.java:1563)
    4. com.kamron.pogoiv.Pokefly.access$1200(Pokefly.java:82)
    5. com.kamron.pogoiv.Pokefly$11.onReceive(Pokefly.java:1603)
    5 frames
  4. Android Support v4
    LocalBroadcastManager$1.handleMessage
    1. android.support.v4.content.LocalBroadcastManager.executePendingBroadcasts(LocalBroadcastManager.java:297)
    2. android.support.v4.content.LocalBroadcastManager.access$000(LocalBroadcastManager.java:46)
    3. android.support.v4.content.LocalBroadcastManager$1.handleMessage(LocalBroadcastManager.java:116)
    3 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:158)
    3. android.app.ActivityThread.main(ActivityThread.java:7224)
    3 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames