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

GitHub | ZomerD | 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

    IllegalArgumentException: width and height must be > 0

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

    Error: width and height must be > 0

    Stack Overflow | 2 years 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 | 1 year 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. com.wooplr.spotlight
    SpotlightView.onDraw
    1. com.wooplr.spotlight.SpotlightView.onDraw(SpotlightView.java:232)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.view.View.draw(View.java:16068)
    2. android.widget.FrameLayout.draw(FrameLayout.java:592)
    3. android.view.View.updateDisplayListIfDirty(View.java:14999)
    4. android.view.View.getDisplayList(View.java:15022)
    5. android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3662)
    6. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3641)
    7. android.view.View.updateDisplayListIfDirty(View.java:14959)
    8. android.view.View.getDisplayList(View.java:15022)
    9. android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:275)
    10. android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:281)
    11. android.view.ThreadedRenderer.draw(ThreadedRenderer.java:320)
    12. android.view.ViewRootImpl.draw(ViewRootImpl.java:2741)
    13. android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2573)
    14. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2165)
    15. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1180)
    16. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6558)
    17. android.view.Choreographer$CallbackRecord.run(Choreographer.java:777)
    18. android.view.Choreographer.doCallbacks(Choreographer.java:590)
    19. android.view.Choreographer.doFrame(Choreographer.java:560)
    20. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:763)
    21. android.os.Handler.handleCallback(Handler.java:739)
    22. android.os.Handler.dispatchMessage(Handler.java:95)
    23. android.os.Looper.loop(Looper.java:145)
    24. android.app.ActivityThread.main(ActivityThread.java:5832)
    24 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. 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