Android OnBootReceiver java.lang.IllegalStateException #35

Open
opened 2025-04-21 14:44:57 -04:00 by idk · 4 comments
Owner

Opened 2 years ago

Last modified 19 months ago

#2404assigneddefect

Android OnBootReceiver java.lang.IllegalStateException

Reported by:MeehOwned by:Meeh
Priority:
major
Milestone:
undecided
Component:
apps/android
Version:
0.9.38
Keywords:

Cc:
idk
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

Opened [2 years ago](/timeline?from=2019-01-24T18%3A32%3A09Z&precision=second "See timeline at Jan 24, 2019 6:32:09 PM") Last modified [19 months ago](/timeline?from=2019-10-11T17%3A47%3A08Z&precision=second "See timeline at Oct 11, 2019 5:47:08 PM") ## [\#2404](/ticket/2404)[assigned](/query?status=assigned)[defect](/query?status=!closed&type=defect) # Android OnBootReceiver java.lang.IllegalStateException Reported by:[Meeh](/query?status=!closed&reporter=meeh)Owned by:[Meeh](/query?status=!closed&owner=meeh) Priority: [major](/query?status=!closed&priority=major) Milestone: [undecided](/milestone/undecided "No date set") Component: [apps/android](/query?status=!closed&component=apps%2Fandroid) Version: [0.9.38](/query?status=!closed&version=0.9.38) Keywords: Cc: [idk](/query?status=!closed&cc=~eyedeekay) Parent Tickets: Sensitive: [no](/query?status=!closed&sensitive=0) ### 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
idk added this to the undecided milestone 2025-04-21 14:44:57 -04:00
idk added the #2404apps.androidundecided labels 2025-04-21 14:44:57 -04:00
Author
Owner

comment:4 Changed 19 months ago by zzz

Cc:idk added

ping @meeh please report if this is still happening on 39 or higher

[comment:4](https://trac.i2p2.de/\#comment:4) Changed [19 months ago](https://trac.i2p2.de//timeline?from=2019-10-11T17%3A47%3A08Z&precision=second "See timeline at Oct 11, 2019 5:47:08 PM") by zzz Cc:_idk_ added ping @meeh please report if this is still happening on 39 or higher
Author
Owner

comment:3 Changed 23 months 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?

[comment:3](https://trac.i2p2.de/\#comment:3) Changed [23 months ago](https://trac.i2p2.de//timeline?from=2019-06-20T14%3A00%3A22Z&precision=second "See timeline at Jun 20, 2019 2:00:22 PM") 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?
Author
Owner

comment:2 Changed 2 years ago by Meeh

Owner:
changed from Meeh to _zzz_Status:new →
assigned

@zzz was this one of the ones we fixed?

[comment:2](https://trac.i2p2.de/\#comment:2) Changed [2 years ago](https://trac.i2p2.de//timeline?from=2019-06-02T14%3A00%3A59Z&precision=second "See timeline at Jun 2, 2019 2:00:59 PM") by Meeh Owner: changed from _Meeh_ to _zzz_Status:new → assigned @zzz was this one of the ones we fixed?
Author
Owner

comment:1 Changed 2 years ago by Meeh

Added a try {} catch for this.

[comment:1](https://trac.i2p2.de/\#comment:1) Changed [2 years ago](https://trac.i2p2.de//timeline?from=2019-01-24T18%3A32%3A33Z&precision=second "See timeline at Jan 24, 2019 6:32:33 PM") by Meeh Added a try {} catch for this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: I2P_Developers/i2p.android.base#35
No description provided.