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

Crash on some device with latest SDK #164

Open
claudiopizzillo opened this issue Jul 22, 2021 · 5 comments
Open

Crash on some device with latest SDK #164

claudiopizzillo opened this issue Jul 22, 2021 · 5 comments

Comments

@claudiopizzillo
Copy link

Fatal Exception: java.lang.RuntimeException
Unable to start activity ComponentInfo{it.kefaonline.scontrinoeasy/com.sumup.merchant.reader.identitylib.ui.activities.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.sumup.merchant.reader.ReaderModuleCoreState.inject(java.lang.Object)' on a null object reference

Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'void com.sumup.merchant.reader.ReaderModuleCoreState.inject(java.lang.Object)' on a null object reference
at com.sumup.merchant.reader.identitylib.ui.activities.LoginActivity.onCreate(SourceFile:247)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11()
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

@milenpav
Copy link

did you call SumUpState.init(this);
before?

@claudiopizzillo
Copy link
Author

Yes. I think this are rooted devices. Can be a problem?

@rivella50
Copy link

@claudiopizzillo Did you ever find a solution here?
I have the exact same crash on certain Android devices.

@claudiopizzillo
Copy link
Author

I abandoned sumup due the unusable sdk 4.0.x for duplicate dependecies on build not fixed.

@vigneshsankar07
Copy link

vigneshsankar07 commented Aug 3, 2023

Copy the activity & services declaration from the sumup manifest & paste it into your project manifest file.

That will be worked on success. (y).

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

4 participants