java.lang.NullPointerException: Argument 'applicationContext' cannot be null JS: com.facebook.internal.Validate.notNull(Validate.java:76) JS: com.facebook.FacebookSdk.sdkInitialize(FacebookSdk.java:194) JS: com.facebook.FacebookSdk.sdkInitialize(FacebookSdk.java:174) JS: com.tns.Runtime.runModule(Native Method) JS: com.tns.Runtime.runModule(Runtime.java:241) JS: com.tns.Runtime.run(Runtime.java:235) JS: com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) JS: android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1017) JS: android.app.ActivityThread.handleBindApplication(ActivityThread.java:4864) JS: android.app.ActivityThread.access$1500(ActivityThread.java:178) JS: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1531) JS: android.os.Handler.dispatchMessage(Handler.java:111) JS: android.os.Looper.loop(Looper.java:194) JS: android.app.ActivityThread.main(ActivityThread.java:5643) JS: java.lang.reflect.Method.invoke(Native Method) JS: java.lang.reflect.Method.invoke(Method.java:372) JS: com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960) JS: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

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 PedroAnibarro1
, 1 year ago
Argument 'applicationContext' cannot be null JS: com.facebook.internal.Validate.notNull(Validate.java:76) JS: com.facebook.FacebookSdk.sdkInitialize(FacebookSdk.java:194) JS: com.facebook.FacebookSdk.sdkInitialize(FacebookSdk.java:174
java.lang.NullPointerException: Argument 'applicationContext' cannot be null JS: com.facebook.internal.Validate.notNull(Validate.java:76) JS: com.facebook.FacebookSdk.sdkInitialize(FacebookSdk.java:194) JS: com.facebook.FacebookSdk.sdkInitialize(FacebookSdk.java:174) JS: com.tns.Runtime.runModule(Native Method) JS: com.tns.Runtime.runModule(Runtime.java:241) JS: com.tns.Runtime.run(Runtime.java:235) JS: com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) JS: android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1017) JS: android.app.ActivityThread.handleBindApplication(ActivityThread.java:4864) JS: android.app.ActivityThread.access$1500(ActivityThread.java:178) JS: android.app.ActivityThread$H.handleMessage(ActivityThread.java:1531) JS: android.os.Handler.dispatchMessage(Handler.java:111) JS: android.os.Looper.loop(Looper.java:194) JS: android.app.ActivityThread.main(ActivityThread.java:5643) JS: java.lang.reflect.Method.invoke(Native Method) JS: java.lang.reflect.Method.invoke(Method.java:372) JS: com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960) JS: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
at com.tns.Runtime.callJSMethodNative(Native Method)
at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:861)
at com.tns.Runtime.callJSMethodImpl(Runtime.java:726)
at com.tns.Runtime.callJSMethod(Runtime.java:712)
at com.tns.Runtime.callJSMethod(Runtime.java:693)
at com.tns.Runtime.callJSMethod(Runtime.java:683)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.