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

GitHub | wakedeer | 12 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    GitHub comment 2#205666067

    GitHub | 12 months ago | wakedeer
    java.lang.RuntimeException: An error occured while executing doInBackground()
  2. 0
    samebug tip
    Try adding these lines to your manifest: "android:hardwareAccelerated="false"" and "android:largeHeap="true"" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp
  3. 0

    GitHub comment 1#205668999

    GitHub | 12 months ago | wakedeer
    java.lang.RuntimeException: An error occured while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android.view.InflateException, Gif Animations

    Stack Overflow | 2 months ago | Flowpen
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.pasto.hologramm/com.example.pasto.hologramm.Hologramm_Turn}: android.view.InflateException: Binary XML file line #14: Error inflating class <unknown>
  6. 0

    android intent acts diffrent according to time

    Stack Overflow | 2 years ago | learning
    java.lang.OutOfMemoryError: Failed to allocate a 99012 byte allocation &gt; with 67972 free bytes and 66KB until OOM
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.OutOfMemoryError

    Failed to allocate a 63489036 byte allocation with 16777216 free bytes and 30MB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    Bitmap.createBitmap
    1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
    2. android.graphics.Bitmap.nativeCreate(Native Method)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:942)
    4. android.graphics.Bitmap.createBitmap(Bitmap.java:913)
    5. android.graphics.Bitmap.createBitmap(Bitmap.java:880)
    5 frames
  3. com.dubu.livecamera
    GPUImage$SaveTask.doInBackground
    1. com.dubu.livecamera.gpuimage.PixelBuffer.convertToBitmap(PixelBuffer.java:206)
    2. com.dubu.livecamera.gpuimage.PixelBuffer.getBitmap(PixelBuffer.java:123)
    3. com.dubu.livecamera.gpuimage.GPUImage.getBitmapWithFilterApplied(GPUImage.java:294)
    4. com.dubu.livecamera.gpuimage.GPUImage$SaveTask.doInBackground(GPUImage.java:434)
    5. com.dubu.livecamera.gpuimage.GPUImage$SaveTask.doInBackground(GPUImage.java:414)
    5 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:292)
    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:231)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames