java.lang.IllegalArgumentException: width and height must be > 0

GitHub | groznybear | 3 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

    Unity 5.5.0f3 / Device: Samsung Galaxy S7 (Android: 6.0.1)

    GitHub | 3 months ago | groznybear
    java.lang.IllegalArgumentException: width and height must be > 0
  2. 0

    layout getHeight() and getWidth() return 0 when getting image from camera

    Stack Overflow | 2 years ago
    java.lang.IllegalArgumentException: width and height must be > 0
  3. 0

    Issue in Backend camera while capturing the Image

    Stack Overflow | 10 months ago | mayurvpatel110
    java.lang.RuntimeException: Unable to resume activity {com.mayur.demo/com.mayur.demo.ActivityRegistration}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=3, result=-1, data=Intent { act=inline-data dat=content://media/external/images/media/286844 (has extras) }} to activity {com.mayur.demo/com.mayur.demo.ActivityRegistration}: java.lang.IllegalArgumentException: width and height must be > 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalArgumentException: bitmap size exceeds 32 bits

    Stack Overflow | 1 year ago | Photogd
    java.lang.RuntimeException: Unable to resume activity {com.pa.modelreleaseapp/com.pa.modelreleaseapp.EditActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=3, result=-1, data=Intent { (has extras) }} to activity {com.pa.modelreleaseapp/com.pa.modelreleaseapp.EditActivity}: java.lang.IllegalArgumentException: bitmap size exceeds 32 bits
  6. 0

    Android display Dimensions and Drawable size scaling

    Stack Overflow | 3 years ago | St.running
    java.lang.IllegalArgumentException: width and height must be > 0

    3 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

      width and height must be > 0

      at android.graphics.Bitmap.createBitmap()
    2. Android Platform
      Bitmap.createScaledBitmap
      1. android.graphics.Bitmap.createBitmap(Bitmap.java:967)
      2. android.graphics.Bitmap.createBitmap(Bitmap.java:946)
      3. android.graphics.Bitmap.createBitmap(Bitmap.java:877)
      4. android.graphics.Bitmap.createScaledBitmap(Bitmap.java:753)
      4 frames
    3. com.kakeragames.unimgpicker
      Picker.onActivityResult
      1. com.kakeragames.unimgpicker.Picker.onActivityResult(Picker.java:116)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.dispatchActivityResult(Activity.java:7161)
      2. android.app.ActivityThread.deliverResults(ActivityThread.java:4921)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:4142)
      4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4250)
      5. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3361)
      6. android.app.ActivityThread.access$1100(ActivityThread.java:222)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
      8. android.os.Handler.dispatchMessage(Handler.java:102)
      9. android.os.Looper.loop(Looper.java:158)
      10. android.app.ActivityThread.main(ActivityThread.java:7229)
      10 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      1 frame
    6. 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