You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: