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

GitHub | Torvin | 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

    Shazam crashes

    GitHub | 5 months ago | Torvin
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  2. 0

    Enabling in SailfishOS AlienDalvik

    GitHub | 12 months ago | vermut
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. 0

    GitHub comment 297#278519407

    GitHub | 3 weeks ago | darlkr
    java.lang.SecurityException: Not allowed to start service Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms (has extras) } without permission com.google.android.c2dm.permission.RECEIVE
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    Stack Overflow | 2 years ago | j4rey89
    java.lang.SecurityException: Not allowed to start service Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms (has extras) } without permission com.google.android.c2dm.permission.RECEIVE
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.SecurityException

    Not allowed to start service Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms (has extras) } without permission com.google.android.c2dm.permission.RECEIVE

    at android.app.ContextImpl.startServiceCommon()
  2. Android Platform
    ContextWrapper.startService
    1. android.app.ContextImpl.startServiceCommon(ContextImpl.java:1255)
    2. android.app.ContextImpl.startService(ContextImpl.java:1232)
    3. android.content.ContextWrapper.startService(ContextWrapper.java:587)
    3 frames
  3. com.google.android
    a.a
    1. com.google.android.gms.b.a.a(Unknown Source)
    2. com.google.android.gms.b.a.a(Unknown Source)
    2 frames
  4. com.shazam.android
    c$a.doInBackground
    1. com.shazam.android.service.gcm.c$a.a(SourceFile:67)
    2. com.shazam.android.service.gcm.c$a.doInBackground(SourceFile:52)
    2 frames
  5. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:295)
    1 frame
  6. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  7. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
    1 frame
  8. 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