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

Line sdk 5.8.1 - login issue - crash #143

Open
todo-fixme opened this issue Apr 24, 2023 · 0 comments
Open

Line sdk 5.8.1 - login issue - crash #143

todo-fixme opened this issue Apr 24, 2023 · 0 comments

Comments

@todo-fixme
Copy link

todo-fixme commented Apr 24, 2023

Crash Stack

java.lang.NullPointerException

Attempt to invoke virtual method 'com.linecorp.linesdk.auth.internal.LineAuthenticationStatus$Status com.linecorp.linesdk.auth.internal.LineAuthenticationStatus.getStatus()' on a null object reference

1 com.linecorp.linesdk.auth.internal.LineAuthenticationActivity.onNewIntent(LineAuthenticationActivity.java:119)
2 android.app.Activity.performNewIntent(Activity.java:7977)
3 android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1406)
4 android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1419)
5 android.app.ActivityThread.deliverNewIntents(ActivityThread.java:3752)
6 android.app.ActivityThread.handleNewIntent(ActivityThread.java:3764)
7 android.app.servertransaction.NewIntentItem.execute(NewIntentItem.java:53)
8 android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:140)
9 android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:100)
10 android.app.ActivityThread$H.handleMessage(ActivityThread.java:2239)
11 android.os.Handler.dispatchMessage(Handler.java:107)
12 android.os.Looper.loop(Looper.java:227)
13 android.app.ActivityThread.main(ActivityThread.java:7822)
14 java.lang.reflect.Method.invoke(Native Method)
15 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
16 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)

What happened actually?

In Android developer options - enable do not keep activities, this problem must appear

In com.linecorp.linesdk.auth.internal.LineAuthenticationActivity
Cause by LineAuthenticationStatus.getStatus()' on a null object reference

In this case, the system is in power saving mode and background activities have been terminated

Your environment?

Line SDK 5.8.1
Android Studio Chipmunk | 2021.2.1 Patch 2
Gradle 7.3.3
AGP 7.2.2

EndUser Environment

RMX2020
Android 10,level 29
Oppo/COLOROS
arm64-v8a

App Tracking

0 2023-04-17 20:55:07 com.linecorp.linesdk.auth.internal.LineAuthenticationCallbackActivity onCreated
1 2023-04-17 20:55:08 com.linecorp.linesdk.auth.internal.LineAuthenticationCallbackActivity onCreated
2 2023-04-17 20:55:08 com.linecorp.linesdk.auth.internal.LineAuthenticationActivity onCreated

@todo-fixme todo-fixme changed the title 5.8.1 SDK Crash Line sdk 5.8.1 - login issue - crash Apr 24, 2023
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