Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by DuM4ll3
, 1 year ago
Attempt to invoke virtual method 'void com.mixpanel.android.mpmetrics.w.a(java.lang.String, org.json.JSONObject)' on a null object reference at com.sample.app.activities.SampleActivity.**com.mixpanel.android.mpmetrics.MixpanelAPI.track**(SampleActivity.java:1541)
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.mixpanel.android.mpmetrics.w.a(java.lang.String, org.json.JSONObject)' on a null object reference
       at com.sample.app.activities.SampleActivity.**com.mixpanel.android.mpmetrics.MixpanelAPI.track**(SampleActivity.java:1541)	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1239)	at android.app.Activity.performStart(Activity.java:6057)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2295)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2394)	at android.app.ActivityThread.access$800(ActivityThread.java:154)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:135)	at android.app.ActivityThread.main(ActivityThread.java:5276)	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:908)