java.lang.RuntimeException: An error occurred while executing doInBackground()

Stack Overflow | nani | 5 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

    How to do a correct compression of this bitmap?

    Stack Overflow | 5 months ago | nani
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  2. 0

    GitHub comment 303#200801232

    GitHub | 12 months ago | ARoiD
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Simple layout leads to problems.

    GitHub | 2 years ago | dzan
    java.lang.IllegalArgumentException: width and height must be > 0
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:830)
    2. android.graphics.Bitmap.createBitmap(Bitmap.java:809)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:776)
    3 frames
  3. com.sfproduction.happypark
    RegisterActivity$CompressBitmap.doInBackground
    1. com.sfproduction.happypark.RegisterActivity$CompressBitmap.compressImage(RegisterActivity.java:810)
    2. com.sfproduction.happypark.RegisterActivity$CompressBitmap.doInBackground(RegisterActivity.java:769)
    3. com.sfproduction.happypark.RegisterActivity$CompressBitmap.doInBackground(RegisterActivity.java:753)
    3 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:295)
    1 frame
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  6. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames