PietsmietApp / pietsmiet_android

STALE - Android browsing & notification app for the youtube group Pietsmiet
https://play.google.com/store/apps/details?id=de.pscom.pietsmiet
GNU General Public License v3.0
5 stars 1 forks source link

NullPointerException in updateCurrentPosts #82

Closed saibotk closed 7 years ago

saibotk commented 7 years ago

Prevent NullPointerException in UpdateCurrentPosts

see Firebase / DevConsole Crashreports

l3d00m commented 7 years ago

Needs Reproduction

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'int de.pscom.pietsmiet.generic.ViewItem.getType()' on a null object reference
de.pscom.pietsmiet.util.PostManager.getLastPost (PostManager.java:142)
de.pscom.pietsmiet.util.PostManager.getLastPostDate (PostManager.java:167)
de.pscom.pietsmiet.util.PostManager.filterWrongPosts (PostManager.java:312)
de.pscom.pietsmiet.util.PostManager.access$lambda$0 (PostManager.java)
de.pscom.pietsmiet.util.PostManager$$Lambda$16.call ()
l3d00m commented 7 years ago

Scheint so als wäre das einmalig, zudem haben wir keine Möglichkeit um das nachzuvollziehen.

Reopen wenn's wieder auftreten sollte mit neuer Version demnächst