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

java.lang.IllegalStateException #446

Open
ArkageTeam opened this issue Apr 23, 2019 · 1 comment
Open

java.lang.IllegalStateException #446

ArkageTeam opened this issue Apr 23, 2019 · 1 comment

Comments

@ArkageTeam
Copy link

Hello everyone,

please find below complete log report about last crash with this plugin.

`Huawei P10 (HWVTR), Android 8.0
Rapporto 1

java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3814)
at android.app.ActivityThread.-wrap18 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2082)
at android.os.Handler.dispatchMessage (Handler.java:108)
at android.os.Looper.loop (Looper.java:166)
at android.app.ActivityThread.main (ActivityThread.java:7529)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)
Caused by: java.lang.IllegalStateException:
at android.app.ContextImpl.getSharedPreferences (ContextImpl.java:417)
at android.app.ContextImpl.getSharedPreferences (ContextImpl.java:398)
at android.content.ContextWrapper.getSharedPreferences (ContextWrapper.java:167)
at android.content.ContextWrapper.getSharedPreferences (ContextWrapper.java:167)
at de.appplant.cordova.plugin.notification.Manager.getPrefs (Manager.java:401)
at de.appplant.cordova.plugin.notification.Manager.getIds (Manager.java:208)
at de.appplant.cordova.plugin.notification.Manager.getOptions (Manager.java:293)
at de.appplant.cordova.plugin.notification.receiver.AbstractRestoreReceiver.onReceive (AbstractRestoreReceiver.java:64)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3804)`

this is mainly reported on Android 8.1 but we couldn't find any solution.

can you please assist us in finding a way to debug it?

@ArkageTeam
Copy link
Author

is there any way we can inspect this?

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