Sweepin / SweepinConnect-android

http://www.manager.sweepin.fr/
MIT License
0 stars 0 forks source link

NullPointerException - EventBus.postSingleEvent #5

Open mfosseprez opened 6 years ago

mfosseprez commented 6 years ago

Hi,

I just met a new issue related to SweepinConnect library.

I used the 1.7.1 version of the library. I just found that the 2.0.4 version is available.

Is this issue solved with this new version?

Here are the logs :

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference org.greenrobot.eventbus.EventBus.postSingleEvent (EventBus.java:363) org.greenrobot.eventbus.EventBus.post (EventBus.java:251) com.proximities.sdk.d.a.i.a () com.proximities.sdk.d.a.i.onResponse () com.proximities.sdk.d.a.deliverResponse () com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run (ExecutorDelivery.java:99) android.os.Handler.handleCallback (Handler.java:761) android.os.Handler.dispatchMessage (Handler.java:98) android.os.Looper.loop (Looper.java:156) android.app.ActivityThread.main (ActivityThread.java:6523) java.lang.reflect.Method.invoke (Method.java) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:941) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:831)

WilliamMouline commented 6 years ago

Hi, I removed the EventBus library from the version 2. This issue won't happen again if you update the sdk.