java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.paypal.android.foundation.paypalcore.model.AccountProfile.getDisplayName()' on a null object reference

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 WKnak
, 1 year ago
Attempt to invoke virtual method 'java.lang.String com.paypal.android.foundation.paypalcore.model.AccountProfile.getDisplayName()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.paypal.android.foundation.paypalcore.model.AccountProfile.getDisplayName()' on a null object reference
at com.paypal.android.foundation.interapp.presentation.activity.SinglePaymentNativeActivity.sendResponseToMsdk(SourceFile:120)
at com.paypal.android.foundation.interapp.presentation.activity.SinglePaymentNativeActivity.access$200(SourceFile:33)
at com.paypal.android.foundation.interapp.presentation.activity.SinglePaymentNativeActivity$1.a(SourceFile:75)
at com.paypal.android.foundation.interapp.presentation.activity.SinglePaymentNativeActivity$1.onSuccess(SourceFile:62)
at com.paypal.android.foundation.auth.operations.ThirdPartySinglePaymentProxyOperation.completeThirdPartyOperation(SourceFile:32)
at com.paypal.android.foundation.auth.operations.ThirdPartyProxyOperation$ThirdPartyOperationListener.a(SourceFile:57)
at com.paypal.android.foundation.auth.operations.ThirdPartyProxyOperation$ThirdPartyOperationListener.onSuccess(SourceFile:52)
at com.paypal.android.foundation.auth.operations.AuthenticationChallengeManager.authComplete(SourceFile:542)
at com.paypal.android.foundation.auth.operations.AuthenticationChallengeManager$1.onSuccess(SourceFile:470)
at com.paypal.android.foundation.core.operations.Operation$1.call(SourceFile:51)
at bolts.Task$3.run(SourceFile:195)
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.app.ActivityThread.main(ActivityThread.java:5527)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)

Users with the same issue

You are the first who have seen this exception.

Write tip

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