ava.lang.IllegalArgumentException: androidApplicationContext must be not null!

google.com | 7 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.

Root Cause Analysis

  1. ava.lang.IllegalArgumentException

    androidApplicationContext must be not null!

    at org.apache.http.impl.client.naf.gba.connector.GbaServiceConnectorSynchronizedSingleton.instance()
  2. org.apache.http
    NafHttpAuthStrategyDefault.<init>
    1. org.apache.http.impl.client.naf.gba.connector.GbaServiceConnectorSynchronizedSingleton.instance(GbaServiceConnectorSynchronizedSingleton.java:75)
    2. org.apache.http.impl.client.naf.gba.shared.KeeperManager.init(KeeperManager.java:67)
    3. org.apache.http.impl.client.naf.auth.NafHttpAuthStrategyDefault.initSharedResources(NafHttpAuthStrategyDefault.java:118)
    4. org.apache.http.impl.client.naf.auth.NafHttpAuthStrategyDefault.<init>(NafHttpAuthStrategyDefault.java:94)
    4 frames
  3. Apache HttpClient
    DefaultHttpClient.<init>
    1. org.apache.http.impl.client.AbstractHttpClient.<init>(AbstractHttpClient.java:166)
    2. org.apache.http.impl.client.DefaultHttpClient.<init>(DefaultHttpClient.java:123)
    2 frames
  4. Segment.io Analytics
    GAServiceProxy$ReconnectTask.run
    1. com.google.analytics.tracking.android.PersistentAnalyticsStore.<init>(PersistentAnalyticsStore.java:119)
    2. com.google.analytics.tracking.android.PersistentAnalyticsStore.<init>(PersistentAnalyticsStore.java:96)
    3. com.google.analytics.tracking.android.GAServiceManager.getStore(GAServiceManager.java:173)
    4. com.google.analytics.tracking.android.GAServiceProxy.useStore(GAServiceProxy.java:315)
    5. com.google.analytics.tracking.android.GAServiceProxy.onConnectionFailed(GAServiceProxy.java:392)
    6. com.google.analytics.tracking.android.AnalyticsGmsCoreClient.connect(AnalyticsGmsCoreClient.java:90)
    7. com.google.analytics.tracking.android.GAServiceProxy.connectToService(GAServiceProxy.java:330)
    8. com.google.analytics.tracking.android.GAServiceProxy.access$600(GAServiceProxy.java:28)
    9. com.google.analytics.tracking.android.GAServiceProxy$ReconnectTask.run(GAServiceProxy.java:415)
    9 frames
  5. Java RT
    Timer$TimerImpl.run
    1. java.util.Timer$TimerImpl.run(Timer.java:284)
    1 frame