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

和Hermes混用时,HermesEventBus 崩溃 #43

Open
Lewis-0710 opened this issue Sep 23, 2017 · 2 comments
Open

和Hermes混用时,HermesEventBus 崩溃 #43

Lewis-0710 opened this issue Sep 23, 2017 · 2 comments

Comments

@Lewis-0710
Copy link

FATAL EXCEPTION: main
Process: com.lewis.sample:DB, PID: 22211
java.lang.NullPointerException: Attempt to invoke interface method 'void xiaofei.library.hermeseventbus.IMainService.register(int, xiaofei.library.hermeseventbus.ISubService)' on a null object reference
at xiaofei.library.hermeseventbus.HermesEventBus$HermesListener.onHermesConnected(HermesEventBus.java:291)
at xiaofei.library.hermes.internal.Channel$HermesServiceConnection.onServiceConnected(Channel.java:288)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1329)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1346)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:179)
at android.app.ActivityThread.main(ActivityThread.java:5739)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)

@Xiaofei-it
Copy link
Owner

你分开用的情况下,会出问题吗?

@Lewis-0710
Copy link
Author

分开用不会出现问题,我已经换成RxBus了

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

2 participants