VishnuSanal / Quotes

Quotes Status Creator lets you share quotations as status images on social media
https://play.google.com/store/apps/details?id=phone.vishnu.quotes
GNU General Public License v3.0
50 stars 20 forks source link

NPE on List.size(); #65

Closed shuvashish76 closed 2 years ago

shuvashish76 commented 2 years ago

Describe the bug App crashed unexpectedly. (When opened app 2nd time, just after testing #6 Not sure if it's related) Probably 1 time crash.

Crash logs

FATAL EXCEPTION: main
Process: phone.vishnu.quotes, PID: 21989
java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
    at y4.l.c(Unknown Source:2)
    at androidx.viewpager.widget.ViewPager.e(Unknown Source:2)
    at androidx.viewpager.widget.ViewPager$j.onChanged(Unknown Source:2)
    at f1.a.d(Unknown Source:5)
    at x4.c.publishResults(SourceFile:4)
    at android.widget.Filter$ResultsHandler.handleMessage(Filter.java:282)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6518)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

Smartphone (please complete the following information):

VishnuSanal commented 2 years ago

@shuvashish76 So, you changed to landscape with that app?

shuvashish76 commented 2 years ago

Yes