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

particle.io | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NullPointerException on getDevices

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

    Android SDK getDevices NullPointerException - Mobile - Particle

    particle.io | 8 months ago
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  3. 0

    GitHub comment 12#226115469

    GitHub | 10 months ago | rashid-93
    java.lang.NullPointerException: null value in entry: autofeed=null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 15#226534770

    GitHub | 10 months ago | drsnyder
    java.lang.NullPointerException: null value in entry: avatarUrl=null
  6. 0

    Improve error reporting of ImmutableMap

    GitHub | 2 years ago | gissuebot
    java.lang.NullPointerException: null value
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.NullPointerException

    null value in entry: cMode=null

    at com.google.common.collect.CollectPreconditions.checkEntryNotNull()
  2. Guava
    ImmutableMap.copyOf
    1. com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:33)
    2. com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:88)
    3. com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:294)
    3 frames
  3. io.particle.android
    ParticleCloud.getDevices
    1. io.particle.android.sdk.cloud.ParticleCloud.fromCompleteDevice(ParticleCloud.java:580)
    2. io.particle.android.sdk.cloud.ParticleCloud.getDevice(ParticleCloud.java:534)
    3. io.particle.android.sdk.cloud.ParticleCloud.getDevice(ParticleCloud.java:530)
    4. io.particle.android.sdk.cloud.ParticleCloud.getDevices(ParticleCloud.java:227)
    4 frames
  4. screamingcities.com.autohomeultra
    FragmentRemoteLights$2.callApi
    1. screamingcities.com.autohomeultra.FragmentRemoteLights$2.callApi(FragmentRemoteLights.java:72)
    2. screamingcities.com.autohomeultra.FragmentRemoteLights$2.callApi(FragmentRemoteLights.java:69)
    2 frames
  5. io.particle.android
    Async$AsyncApiWorker.doInBackground
    1. io.particle.android.sdk.utils.Async$AsyncApiWorker.doInBackground(Async.java:105)
    2. io.particle.android.sdk.utils.Async$AsyncApiWorker.doInBackground(Async.java:73)
    2 frames
  6. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:295)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    4. java.lang.Thread.run(Thread.java:818)
    4 frames