java.lang.RuntimeException

Unable to start activity ComponentInfo{com.agroweblab.supplant.ionic/com.agroweblab.supplant.ionic.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'io.intercom.android.sdk.api.Api io.intercom.android.sdk.Injector.getApi()' on a null object reference

Samebug tips1

Try loading the text file into a WebView, then printing the contents of the WebView.

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

Solutions on the web4214

  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.agroweblab.supplant.ionic/com.agroweblab.supplant.ionic.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'io.intercom.android.sdk.api.Api io.intercom.android.sdk.Injector.getApi()' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)

    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

    filipebatistafilipebatista
    9 times, last one
    SacchiSacchi
    37 times, last one
    Hiren AmaliyarHiren Amaliyar
    2 times, last one
    Indri YunitaIndri Yunita
    252 times, last one
    AravindAravind
    9 times, last one
    207 more bugmates