java.lang.NullPointerException

You need to initialize SDK first. EstimoteSDK.initialize(applicationContext, appId, appToken)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • via GitHub by shmuelr
    ,
  • via GitHub by onskulis
    ,
  • Stack trace

    • java.lang.NullPointerException: You need to initialize SDK first. EstimoteSDK.initialize(applicationContext, appId, appToken) at com.estimote.sdk.internal.Preconditions.checkNotNull(Preconditions.java:21) at com.estimote.sdk.cloud.internal.InternalEstimoteCloud.getInstance(InternalEstimoteCloud.java:71) at com.estimote.sdk.service.internal.NearableResolver$1.load(NearableResolver.java:28) at com.estimote.sdk.service.internal.NearableResolver$1.load(NearableResolver.java:25) at com.estimote.sdk.internal.utils.AsyncCache.get(AsyncCache.java:155) at com.estimote.sdk.service.internal.NearableResolver.tryToResolve(NearableResolver.java:47) at com.estimote.sdk.service.BeaconService$6.onLeScan(BeaconService.java:983) at com.estimote.sdk.service.BeaconService$3$1.run(BeaconService.java:404) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.os.HandlerThread.run(HandlerThread.java:61)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.