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 after boot #21

Open
genodeftest opened this issue Apr 27, 2019 · 0 comments
Open

Crash after boot #21

genodeftest opened this issue Apr 27, 2019 · 0 comments

Comments

@genodeftest
Copy link

When enabling Freifunk AutoConnect to start at boot on my Android 9 smartphone, it crashes at every reboot.

--------- beginning of crash
5465 E AndroidRuntime: FATAL EXCEPTION: main
5465 E AndroidRuntime: Process: com.example.tobiastrumm.freifunkautoconnect, PID: 5465
5465 E AndroidRuntime: java.lang.RuntimeException: Unable to start receiver com.example.tobiastrumm.freifunkautoconnect.BootCompletedReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example.tobiastrumm.freifunkautoconnect/.NotificationService (has extras) }: app is in background uid UidRecord{52b1103 u0a210 RCVR idle change:uncached procs:1 seq(0,0,0)}
5465 E AndroidRuntime: 	at android.app.ActivityThread.handleReceiver(ActivityThread.java:3415)
5465 E AndroidRuntime: 	at android.app.ActivityThread.access$1200(ActivityThread.java:202)
5465 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1676)
5465 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:107)
5465 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:198)
5465 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6729)
5465 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
5465 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
5465 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
5465 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example.tobiastrumm.freifunkautoconnect/.NotificationService (has extras) }: app is in background uid UidRecord{52b1103 u0a210 RCVR idle change:uncached procs:1 seq(0,0,0)}
5465 E AndroidRuntime: 	at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1589)
5465 E AndroidRuntime: 	at android.app.ContextImpl.startService(ContextImpl.java:1544)
5465 E AndroidRuntime: 	at android.content.ContextWrapper.startService(ContextWrapper.java:664)
5465 E AndroidRuntime: 	at android.content.ContextWrapper.startService(ContextWrapper.java:664)
5465 E AndroidRuntime: 	at android.support.v4.content.WakefulBroadcastReceiver.startWakefulService(WakefulBroadcastReceiver.java:99)
5465 E AndroidRuntime: 	at com.example.tobiastrumm.freifunkautoconnect.BootCompletedReceiver.onReceive(BootCompletedReceiver.java:16)
5465 E AndroidRuntime: 	at android.app.ActivityThread.handleReceiver(ActivityThread.java:3406)
5465 E AndroidRuntime: 	... 8 more

Additional info:
I am using Freifunk AutoConnect 0.9 from F-Droid repository on an Android 9 (Patchlevel 2019-03) Nokia 5 (HMD Global TA-1053).

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