Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference #43

Open
bertoven opened this issue Sep 6, 2022 · 0 comments

Comments

@bertoven
Copy link

bertoven commented Sep 6, 2022

Constantly getting notified of dozens of crashes in crashlytics for our app.
We are currently using dotpay android sdk version 2.0.203 but problem already existed on earlier versions.
Unfortunately we were not able to reproduce the problem ourselves.

Stacktrace:

java.net.URLEncoder.encode (URLEncoder.java:204)
pl.mobiltek.paymentsmobile.dotpay.utils.WebViewHelper$QueryString.encode (WebViewHelper.java:152)
pl.mobiltek.paymentsmobile.dotpay.utils.WebViewHelper$QueryString.add (WebViewHelper.java:145)
pl.mobiltek.paymentsmobile.dotpay.utils.WebViewHelper.getQueryString (WebViewHelper.java:56)
pl.mobiltek.paymentsmobile.dotpay.view.WebViewProxy.postPaymentData (WebViewProxy.java:123)
pl.mobiltek.paymentsmobile.dotpay.fragment.WebViewProxyFragment.postPaymentMethodData (WebViewProxyFragment.java:100)
pl.mobiltek.paymentsmobile.dotpay.presenter.WebViewProxyPresenter.payWithPaymentMethodData (WebViewProxyPresenter.java:22)
pl.mobiltek.paymentsmobile.dotpay.fragment.WebViewProxyFragment.onCreateView (WebViewProxyFragment.java:65)
androidx.fragment.app.Fragment.performCreateView (Fragment.java:2963)
androidx.fragment.app.FragmentStateManager.createView (FragmentStateManager.java:518)
androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java:282)
androidx.fragment.app.FragmentStore.moveToExpectedState (FragmentStore.java:112)
androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1647)
androidx.fragment.app.FragmentManager.dispatchStateChange (FragmentManager.java:3128)
androidx.fragment.app.FragmentManager.dispatchActivityCreated (FragmentManager.java:3072)
androidx.fragment.app.FragmentController.dispatchActivityCreated (FragmentController.java:251)
androidx.fragment.app.FragmentActivity.onStart (FragmentActivity.java:502)
androidx.appcompat.app.AppCompatActivity.onStart (AppCompatActivity.java:246)
android.app.Instrumentation.callActivityOnStart (Instrumentation.java:1435)
android.app.Activity.performStart (Activity.java:8140)
android.app.ActivityThread.handleStartActivity (ActivityThread.java:3546)
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:2142)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loop (Looper.java:236)
android.app.ActivityThread.main (ActivityThread.java:7864)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:620)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1011)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant