Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

EventBusException: Default instance already exists #809

Closed
dolanbae opened this issue Feb 22, 2023 · 0 comments
Closed

EventBusException: Default instance already exists #809

dolanbae opened this issue Feb 22, 2023 · 0 comments

Comments

@dolanbae
Copy link

dolanbae commented Feb 22, 2023

AndroidIDE crash report
Manufacturer: vivo
Device: V2111
ABI: arm64-v8a
SDK version: 31
App version: v2.3.0-beta (230)

 Stacktrace: 
org.greenrobot.eventbus.EventBusException: Default instance already exists. It may be only set once before it's used the first time to ensure consistent behavior.
	at com.itsaky.androidide.app.IDEApplication.onCreate(IDEApplication.kt:145)
	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1211)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7178)
 Caused by: java.lang.RuntimeException: Unable to create application com.itsaky.androidide.app.IDEApplication: org.greenrobot.eventbus.EventBusException: Default instance already exists. It may be only set once before it's used the first time to ensure consistent behavior.
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7188)
	at android.app.ActivityThread.access$1800(ActivityThread.java:284)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2266)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:233)
	at android.os.Looper.loop(Looper.java:334)
	at android.app.ActivityThread.main(ActivityThread.java:8348)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1065)
@itsaky itsaky changed the title crash in vivo EventBusException: Default instance already exists Mar 5, 2023
@itsaky itsaky closed this as completed in 7fdfe6f Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant