Opened 5 months ago

Last modified 4 days ago

#2404 assigned defect

Android OnBootReceiver java.lang.IllegalStateException

Reported by: Meeh Owned by: Meeh
Priority: major Milestone: undecided
Component: apps/android Version: 0.9.38
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

java.lang.RuntimeException?:

at android.app.ActivityThread?.handleReceiver (ActivityThread?.java:3397)
at android.app.ActivityThread?.-wrap18 (Unknown Source)
at android.app.ActivityThread?$H.handleMessage (ActivityThread?.java:1780)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread?.main (ActivityThread?.java:6938)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller?.run (Zygote.java:327)
at com.android.internal.os.ZygoteInit?.main (ZygoteInit?.java:1374)

Caused by: java.lang.IllegalStateException?:

at android.app.ContextImpl?.startServiceCommon (ContextImpl?.java:1538)
at android.app.ContextImpl?.startService (ContextImpl?.java:1484)
at android.content.ContextWrapper?.startService (ContextWrapper?.java:663)
at android.content.ContextWrapper?.startService (ContextWrapper?.java:663)
at net.i2p.android.router.receiver.OnBootReceiver?.onReceive (OnBootReceiver?.java:22)
at android.app.ActivityThread?.handleReceiver (ActivityThread?.java:3390)

Has happened 117 times, on the top bug list.

Subtickets

Change History (3)

comment:1 Changed 5 months ago by Meeh

Added a try {} catch for this.

comment:2 Changed 3 weeks ago by Meeh

Owner: changed from Meeh to zzz
Status: newassigned

@zzz was this one of the ones we fixed?

comment:3 Changed 4 days ago by zzz

Owner: changed from zzz to Meeh
Sensitive: unset

Your comment 1 indicates that you added a try/catch. That rev is 474bb12e81ae576495b67e6773135bee8f059324 on Jan. 24 2019 and was included on 0.9.38.
I haven't done anything with it, before or since.
Have you seen it happen since 0.9.38?

Note: See TracTickets for help on using tickets.