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

GitHub | kusan-thana | 9 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

    setCircleRadius(0) not working on v3.0.0

    GitHub | 9 months ago | kusan-thana
    java.lang.IllegalArgumentException: width and height must be > 0
  2. 0

    GitHub comment 442#205984227

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

    From glide file to direct share without creating more image on smartphone...

    GitHub | 8 months ago | juani21
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to convert viewgroup into bitmap in android

    Stack Overflow | 6 months ago | Wai Yan Hein
    java.lang.IllegalArgumentException: width and height must be > 0
  6. 0

    width and height must be > 0 (Bug in 4.3.2 in Android)

    GitHub | 5 months ago | SunnyGurnani
    java.lang.IllegalArgumentException: width and height must be > 0

  1. Indri Yunita 2 times, last 2 months ago
  2. filpgame 1 times, last 3 months ago
  3. pranavprakash 1 times, last 6 months ago
  4. lribeiro 4 times, last 7 months ago
  5. th3teacher 1 times, last 8 months ago
4 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

    width and height must be > 0

    at android.graphics.Bitmap.createBitmap()
  2. Android Platform
    Bitmap.createBitmap
    1. android.graphics.Bitmap.createBitmap(Bitmap.java:829)
    2. android.graphics.Bitmap.createBitmap(Bitmap.java:808)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:775)
    3 frames
  3. com.github.mikephil
    BarLineChartBase.onDraw
    1. com.github.mikephil.charting.renderer.LineChartRenderer.drawCircles(LineChartRenderer.java:687)
    2. com.github.mikephil.charting.renderer.LineChartRenderer.drawExtras(LineChartRenderer.java:595)
    3. com.github.mikephil.charting.charts.BarLineChartBase.onDraw(BarLineChartBase.java:252)
    3 frames
  4. Android Platform
    View.draw
    1. android.view.View.draw(View.java:16178)
    2. android.view.View.updateDisplayListIfDirty(View.java:15174)
    3. android.view.View.draw(View.java:15948)
    4. android.view.ViewGroup.drawChild(ViewGroup.java:3609)
    5. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
    6. android.view.View.updateDisplayListIfDirty(View.java:15169)
    7. android.view.View.draw(View.java:15948)
    7 frames