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 #41

Open
raaviswami opened this issue Sep 8, 2017 · 0 comments
Open

Crash #41

raaviswami opened this issue Sep 8, 2017 · 0 comments

Comments

@raaviswami
Copy link

raaviswami commented Sep 8, 2017

when you go inside of activity manager #getRunningAppProcesses can also return null, In such case following exception happens.Please have a look

Ref Links to solve the issue :
ACRA/acra#427
https://stackoverflow.com/questions/19631894/is-there-a-way-to-get-current-process-name-in-android/21389402#21389402

java.lang.RuntimeException: Unable to create application com.google.atap.jacquard.application.JacquardApplication: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5364)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
at xiaofei.library.hermeseventbus.HermesEventBus.getCurrentProcessName(HermesEventBus.java:109)
at xiaofei.library.hermeseventbus.HermesEventBus.isMainProcess(HermesEventBus.java:101)
at xiaofei.library.hermeseventbus.HermesEventBus.init(HermesEventBus.java:119)
at com.google.atap.jacquard.application.JacquardApplication.onCreate(JacquardApplication.java:816)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5361)
... 8 more

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