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

GitHub | sarathraj-coder | 4 months ago
  1. 0

    Not able to save custom chart

    GitHub | 4 months ago | sarathraj-coder
    java.lang.IllegalArgumentException: width and height must be > 0
  2. 0

    [Crash Log] Sun, 23 Nov 2014 08:10:30 GMT

    GitHub | 2 years ago | blFeedbackBot
    java.lang.IllegalArgumentException: width and height must be > 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Simple layout leads to problems.

    GitHub | 2 years ago | dzan
    java.lang.IllegalArgumentException: width and height must be > 0

  1. pranavprakash 1 times, last 1 month ago
  2. lribeiro 4 times, last 2 months ago
  3. th3teacher 1 times, last 3 months ago
  4. Agócs Tamás 811 times, last 4 months ago
  5. jk 22 times, last 4 months ago
2 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:807)
    2. android.graphics.Bitmap.createBitmap(Bitmap.java:786)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:753)
    3 frames
  3. com.github.mikephil
    Chart.saveToGallery
    1. com.github.mikephil.charting.charts.Chart.getChartBitmap(Chart.java:1501)
    2. com.github.mikephil.charting.charts.Chart.saveToGallery(Chart.java:1607)
    3. com.github.mikephil.charting.charts.Chart.saveToGallery(Chart.java:1646)
    3 frames
  4. com.acelrtech.graphlibrary
    GraphFragment.onCreateView
    1. com.acelrtech.graphlibrary.GraphFragment.saveGraph(GraphFragment.java:153)
    2. com.acelrtech.graphlibrary.GraphFragment.draw_multi_bar_chart(GraphFragment.java:426)
    3. com.acelrtech.graphlibrary.GraphFragment.generateGraph(GraphFragment.java:111)
    4. com.acelrtech.graphlibrary.GraphFragment.onCreateView(GraphFragment.java:93)
    4 frames