java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=65536, result=-1, data=Intent { act=inline-data dat=content://media/external/images/media/1422 (has extras) }} to activity {test.tcc/test.tcc.Activities.NewEstablishmentActivity}: java.lang.IllegalArgumentException: width and height must be > 0

Stack Overflow | Luiz Zapchau | 2 months ago
  1. 0

    Android error: width and height must be > 0 when compressing image

    Stack Overflow | 2 months ago | Luiz Zapchau
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=65536, result=-1, data=Intent { act=inline-data dat=content://media/external/images/media/1422 (has extras) }} to activity {test.tcc/test.tcc.Activities.NewEstablishmentActivity}: java.lang.IllegalArgumentException: width and height must be > 0
  2. 0

    Error: width and height must be > 0

    Stack Overflow | 1 year ago | Anna6541
    java.lang.IllegalArgumentException: width and height must be > 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Width and height must be > 0

    GitHub | 1 year ago | huteri
    java.lang.IllegalArgumentException: width and height must be > 0
  5. 0

    GitHub comment 48#197243960

    GitHub | 9 months ago | ToBoehmK
    java.lang.IllegalArgumentException: width and height must be > 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

    width and height must be > 0

    at android.graphics.Bitmap.createBitmap()
  2. Android Platform
    Bitmap.createBitmap
    1. android.graphics.Bitmap.createBitmap(Bitmap.java:933)
    2. android.graphics.Bitmap.createBitmap(Bitmap.java:912)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:879)
    3 frames
  3. test.tcc.Model
    ImageCompression.compressImage
    1. test.tcc.Model.ImageCompression.compressImage(ImageCompression.java:92)
    1 frame
  4. test.tcc.Fragments
    FragmentNewEstablishment3.onActivityResult
    1. test.tcc.Fragments.NewEstablishment.FragmentNewEstablishment3.onActivityResult(FragmentNewEstablishment3.java:249)
    1 frame
  5. Android Support v4
    FragmentActivity.onActivityResult
    1. android.support.v4.app.FragmentActivity.onActivityResult(FragmentActivity.java:165)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.app.Activity.dispatchActivityResult(Activity.java:6475)
    2. android.app.ActivityThread.deliverResults(ActivityThread.java:3973)
    3. android.app.ActivityThread.handleSendResult(ActivityThread.java:4020)
    4. android.app.ActivityThread.access$1400(ActivityThread.java:172)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1470)
    6. android.os.Handler.dispatchMessage(Handler.java:102)
    7. android.os.Looper.loop(Looper.java:145)
    8. android.app.ActivityThread.main(ActivityThread.java:5835)
    8 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
    2 frames