dotpay / Mobile-SDK-Android

Mobile SDK Android
0 stars 2 forks source link

ResultFragment - NPE crash #24

Open Leedwon opened 4 years ago

Leedwon commented 4 years ago

version 1.4.20

java.lang.NullPointerException: Attempt to invoke virtual method 'void pl.mobiltek.paymentsmobile.dotpay.model.Json.PaymentResult.setPaymentLanguage(java.lang.String)' on a null object reference

pl.mobiltek.paymentsmobile.dotpay.fragment.ResultFragment.onCreateView ResultFragment.java:69
androidx.fragment.app.Fragment.performCreateView Fragment.java:2600
androidx.fragment.app.FragmentManagerImpl.moveToState FragmentManagerImpl.java:881
androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState FragmentManagerImpl.java:1238
androidx.fragment.app.FragmentManagerImpl.moveToState FragmentManagerImpl.java:1303
androidx.fragment.app.BackStackRecord.executeOps BackStackRecord.java:439
androidx.fragment.app.FragmentManagerImpl.executeOps FragmentManagerImpl.java:2079
androidx.fragment.app.FragmentManagerImpl.executeOpsTogether FragmentManagerImpl.java:1869
androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute FragmentManagerImpl.java:1824
androidx.fragment.app.FragmentManagerImpl.execPendingActions FragmentManagerImpl.java:1727
androidx.fragment.app.FragmentManagerImpl.dispatchStateChange FragmentManagerImpl.java:2663
androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated FragmentManagerImpl.java:2613
androidx.fragment.app.FragmentController.dispatchActivityCreated FragmentController.java:246
androidx.fragment.app.FragmentActivity.onStart FragmentActivity.java:542
androidx.appcompat.app.AppCompatActivity.onStart AppCompatActivity.java:201
android.app.Instrumentation.callActivityOnStart Instrumentation.java:1514
android.app.Activity.performStart Activity.java:7838
android.app.ActivityThread.handleStartActivity ActivityThread.java:3398
android.app.servertransaction.TransactionExecutor.performLifecycleSequence TransactionExecutor.java:221
android.app.servertransaction.TransactionExecutor.cycleToPath TransactionExecutor.java:201
android.app.servertransaction.TransactionExecutor.executeLifecycleState TransactionExecutor.java:173
android.app.servertransaction.TransactionExecutor.execute TransactionExecutor.java:97
android.app.ActivityThread$H.handleMessage ActivityThread.java:2109
android.os.Handler.dispatchMessage Handler.java:107
android.os.Looper.loop Looper.java:214
android.app.ActivityThread.main ActivityThread.java:7682
java.lang.reflect.Method.invoke Method.java
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run RuntimeInit.java:516
com.android.internal.os.ZygoteInit.main ZygoteInit.java:950
dotM4rio commented 4 years ago

When does the error appear? Please, how can we reproduce the problem?

Leedwon commented 4 years ago

These logs and crash itself is from appcenter crash analytics from our app in production, I didn't manage to reproduce it on testing env, so unfortunately I can't tell how to reproduce it .