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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.IllegalArgumentException: width and height must be > 0
at android.graphics.Bitmap.createBitmap(Bitmap.java:829)
at android.graphics.Bitmap.createBitmap(Bitmap.java:808)
at com.github.mikephil.charting.renderer.LineChartRenderer.drawCircles(LineChartRenderer.java:687)
at com.github.mikephil.charting.renderer.LineChartRenderer.drawExtras(LineChartRenderer.java:595)
at com.github.mikephil.charting.charts.BarLineChartBase.onDraw(BarLineChartBase.java:252)
at android.view.View.draw(View.java:16178)
at android.view.View.updateDisplayListIfDirty(View.java:15174)
at android.view.View.draw(View.java:15948)
at android.view.ViewGroup.drawChild(ViewGroup.java:3609)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
at android.view.View.updateDisplayListIfDirty(View.java:15169)
at android.view.View.draw(View.java:15948)

Users with the same issue

2 times, 1 year ago
2 times, 8 months ago
4 times, 1 year ago
22 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
13 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.