java.lang.RuntimeException: Unable to start activity ComponentInfo{com.androidbegin.train/com.androidbegin.loginregister.WorkNow}: java.lang.IllegalArgumentException: width and height must be > 0

Stack Overflow | William Willi | 4 months ago
  1. 0

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

    Stack Overflow | 4 months ago | William Willi
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.androidbegin.train/com.androidbegin.loginregister.WorkNow}: 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:836)
    2. android.graphics.Bitmap.createBitmap(Bitmap.java:815)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:782)
    3 frames
  3. com.androidbegin.loginregister
    WorkNow.onCreate
    1. com.androidbegin.loginregister.WorkNow.convertViewToDrawable(WorkNow.java:57)
    2. com.androidbegin.loginregister.WorkNow.onCreate(WorkNow.java:34)
    2 frames
  4. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6010)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
    3 frames