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

via GitHub by sarathraj-coder
, 1 year ago
width and height must be > 0
via Stack Overflow by Omer
, 2 years ago
width and height must be > 0
via GitHub by ALAxHxC
, 2 months ago
width and height must be > 0
via Stack Overflow by St.running
, 2 years ago
java.lang.IllegalArgumentException: width and height must be > 0
at android.graphics.Bitmap.createBitmap(Bitmap.java:807)
at android.graphics.Bitmap.createBitmap(Bitmap.java:786)
at com.github.mikephil.charting.charts.Chart.getChartBitmap(Chart.java:1501)
at com.github.mikephil.charting.charts.Chart.saveToGallery(Chart.java:1607)
at com.github.mikephil.charting.charts.Chart.saveToGallery(Chart.java:1646)
at com.acelrtech.graphlibrary.GraphFragment.saveGraph(GraphFragment.java:153)
at com.acelrtech.graphlibrary.GraphFragment.draw_multi_bar_chart(GraphFragment.java:426)
at com.acelrtech.graphlibrary.GraphFragment.generateGraph(GraphFragment.java:111)
at com.acelrtech.graphlibrary.GraphFragment.onCreateView(GraphFragment.java:93)

Users with the same issue

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
2 times, 1 year ago
13 more bugmates

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