outadoc / Twistoast-android

Application Twisto non-officielle pour Android
https://dev.outadoc.fr/project/twistoast/
GNU General Public License v3.0
6 stars 3 forks source link

Crash when changing tabs while stops are still loading #11

Closed outadoc closed 8 years ago

outadoc commented 8 years ago

Moto X (2nd Gen)/Android 4.4

Steps to reproduce:

 FATAL EXCEPTION: main
 Process: fr.outadev.twistoast, PID: 8808
 java.lang.NullPointerException
    at fr.outadev.twistoast.FragmentRealtime.endRefresh(FragmentRealtime.kt:362)
    at fr.outadev.twistoast.RecyclerAdapterRealtime$updateScheduleData$1$5.invoke(RecyclerAdapterRealtime.kt:95)
    at fr.outadev.twistoast.RecyclerAdapterRealtime$updateScheduleData$1$5.invoke(RecyclerAdapterRealtime.kt:40)
    at org.jetbrains.anko.AsyncKt$uiThread$1.run(Async.kt:68)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:136)
    at android.app.ActivityThread.main(ActivityThread.java:5097)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    at dalvik.system.NativeStart.main(Native Method)