Opened 4 weeks ago

Last modified 4 weeks ago

#2404 new 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:

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 (add)

Change History (1)

comment:1 Changed 4 weeks ago by meeh

Added a try {} catch for this.

Note: See TracTickets for help on using tickets.