NPE when traversing message tree
The HTC Wildfire S crashed with this exception while investigating #516 (closed). The crash occurred after receiving new forum posts. After the first 40 posts arrived I touched the notification to navigate to the forum, then used the back button to leave. When the remaining posts arrived, the notification was shown again. I touched it again to navigate to the forum and the following crash occurred:
07-27 12:32:08.284 998-15469/? E/ACRA: ACRA caught a NullPointerException for org.briarproject
java.lang.NullPointerException
at org.briarproject.clients.MessageTreeImpl.traverse(MessageTreeImpl.java:63)
at org.briarproject.clients.MessageTreeImpl.depthFirstOrder(MessageTreeImpl.java:72)
at org.briarproject.android.forum.ForumPersistentData.getHeaders(ForumPersistentData.java:54)
at org.briarproject.android.forum.ForumControllerImpl.getForumEntries(ForumControllerImpl.java:243)
at org.briarproject.android.forum.ForumControllerImpl$1.run(ForumControllerImpl.java:107)
at org.briarproject.android.controller.DbControllerImpl$1.run(DbControllerImpl.java:35)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
at java.lang.Thread.run(Thread.java:1027)