Skip to content

NullPointerException in com.adyen.threeds2.internal.ui.activity.getSDKTransactionID.getSDKReferenceNumber #2132

@mikkoville

Description

@mikkoville

Description

We logged one of our user crashing for a null pointer in the Adyen challenge activity

Steps to Reproduce

  1. I am able to consistently reproduce this issue: No

Not able to reproduce yet

Logs and Crash Reports

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setAlpha(float)' on a null object reference
     at android.view.View$2.setValue(View.java:28733)
     at android.view.View$2.setValue(View.java:28730)
     at android.animation.PropertyValuesHolder$FloatPropertyValuesHolder.setAnimatedValue(PropertyValuesHolder.java:1379)
     at android.animation.ObjectAnimator.animateValue(ObjectAnimator.java:990)
     at android.animation.ValueAnimator.setCurrentFraction(ValueAnimator.java:692)
     at android.animation.ValueAnimator.setCurrentPlayTime(ValueAnimator.java:655)
     at android.animation.ValueAnimator.start(ValueAnimator.java:1087)
     at android.animation.ValueAnimator.start(ValueAnimator.java:1106)
     at android.animation.ObjectAnimator.start(ObjectAnimator.java:852)
     at android.animation.ValueAnimator.startWithoutPulsing(ValueAnimator.java:1099)
     at android.animation.AnimatorSet.handleAnimationEvents(AnimatorSet.java:1149)
     at android.animation.AnimatorSet.startAnimation(AnimatorSet.java:1234)
     at android.animation.AnimatorSet.start(AnimatorSet.java:729)
     at android.animation.AnimatorSet.start(AnimatorSet.java:684)
     at com.adyen.threeds2.internal.ui.activity.getSDKTransactionID.getSDKReferenceNumber(SourceFile:1316)
     at com.adyen.threeds2.internal.ui.activity.getSDKTransactionID.getSDKTransactionID(SourceFile:255)
     at com.adyen.threeds2.internal.ui.activity.getSDKTransactionID.getSDKReferenceNumber(SourceFile:1)
     at com.adyen.threeds2.internal.ui.activity.getSDKTransactionID.getSDKTransactionID(SourceFile:196)
     at com.adyen.threeds2.internal.ui.activity.getSDKTransactionID.getSDKReferenceNumber(SourceFile:137)
     at com.adyen.threeds2.internal.ui.activity.ChallengeActivity.de_(SourceFile:281)
     at com.adyen.threeds2.internal.ui.activity.ChallengeActivity.onNewIntent(SourceFile:121)
     at android.app.Activity.performNewIntent(Activity.java:8262)
     at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1429)
     at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1442)
     at android.app.ActivityThread.deliverNewIntents(ActivityThread.java:3977)
     at android.app.ActivityThread.handleNewIntent(ActivityThread.java:3984)
     at android.app.servertransaction.NewIntentItem.execute(NewIntentItem.java:56)
     at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
     at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
     at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2288)
     at android.os.Handler.dispatchMessage(Handler.java:106)
     at android.os.Looper.loopOnce(Looper.java:210)
     at android.os.Looper.loop(Looper.java:299)
     at android.app.ActivityThread.main(ActivityThread.java:8293)
     at java.lang.reflect.Method.invoke(Method.java)
     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)

Code Snippets

Provide code snippets where the SDK is implemented in your project.

Insert your code here

Integration Information

  1. Server-side integration: Advanced flow
  2. Client-side integration: Components
  3. SDK version: 5.10.0
  4. Android version(s) where issue occurs: 12
  5. Device model(s) where issue occurs: Xiamoi Mi 10T pro

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug reportIndicates that issue has been marked as a possible bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions