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 Inside HermesEventBus.getDefault().init(this) #55

Open
yogeshlanjekar opened this issue Feb 25, 2020 · 0 comments
Open

Crash Inside HermesEventBus.getDefault().init(this) #55

yogeshlanjekar opened this issue Feb 25, 2020 · 0 comments

Comments

@yogeshlanjekar
Copy link

yogeshlanjekar commented Feb 25, 2020

We are calling this api from application class onCreate() method. But HermesEventBus.getDefault().init(this) : api is failing with below stack trace -

Caused by java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
xiaofei.library.hermeseventbus.HermesEventBus.getCurrentProcessName (HermesEventBus.java:109)
xiaofei.library.hermeseventbus.HermesEventBus.isMainProcess (HermesEventBus.java:101)
xiaofei.library.hermeseventbus.HermesEventBus.init (HermesEventBus.java:119)

This crash does not happen always, we got to know about this crash through Firebase crash reporting.

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