Appolica / InteractiveInfoWindowAndroid

Library project, developed and maintained by Appolica, offering an interactive info window for Google maps on Android.
249 stars 56 forks source link

Fatal Exception: java.lang.NullPointerException #46

Open thelittlefireman opened 5 years ago

thelittlefireman commented 5 years ago

hi, I've got multiple error on crashlitycs :

Fatal Exception: java.lang.NullPointerExceptionAttempt to invoke virtual method 'void com.appolica.interactiveinfowindow.InfoWindow.setWindowState(com.appolica.interactiveinfowindow.InfoWindow$State)' on a null object reference

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.appolica.interactiveinfowindow.InfoWindow.setWindowState(com.appolica.interactiveinfowindow.InfoWindow$State)' on a null object reference
       at com.appolica.interactiveinfowindow.InfoWindowManager$5.onAnimationStart + 424(InfoWindowManager.java:424)
       at android.view.animation.Animation$1.run + 368(Animation.java:368)
       at android.os.Handler.handleCallback + 789(Handler.java:789)
       at android.os.Handler.dispatchMessage + 98(Handler.java:98)
       at android.os.Looper.loop + 164(Looper.java:164)
       at android.app.ActivityThread.main + 6938(ActivityThread.java:6938)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run + 327(Zygote.java:327)
       at com.android.internal.os.ZygoteInit.main + 1374(ZygoteInit.java:1374)

Do you know how to solved that ?

thelittlefireman commented 5 years ago

any helps ?

dpetrov-appolica commented 3 years ago

Somewhere in your application you're trying to hide the InfoWindow which is not initialized or it's null.