8000 Crash Inside HermesEventBus.getDefault().init(this) · Issue #55 · Xiaofei-it/HermesEventBus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Crash Inside HermesEventBus.getDefault().init(this) #55
Open
@yogeshlanjekar

Description

@yogeshlanjekar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0