Etuldan / spaRSS

Based on Flym and Sparse RSS, this checks RSS/Atom news feeds, polling for updates from the device on a regular basis. Fetched items are available for offline reading.
Other
142 stars 31 forks source link

NPE every couple of days #285

Open Code7R opened 6 years ago

Code7R commented 6 years ago

This happens typically when the app was running before and reported new stuff in the taskbar, and I get just a forceclose dialog.

I am on Oreo 8.1 here. Log:

09-06 09:09:38.148 7223 7223 E AndroidRuntime: FATAL EXCEPTION: main 09-06 09:09:38.148 7223 7223 E AndroidRuntime: Process: net.etuldan.sparss.floss, PID: 7223 09-06 09:09:38.148 7223 7223 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'android.view.MenuItem android.view.Menu.findItem(int)' on a nul l object reference 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at net.etuldan.sparss.fragment.EntriesListFragment$3.a(SourceFile:148) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at net.etuldan.sparss.fragment.EntriesListFragment$3.onLoadFinished(SourceFile:125) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:489) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:457) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.content.Loader.deliverResult(Loader.java:144) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.content.CursorLoader.deliverResult(CursorLoader.java:109) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.content.CursorLoader.deliverResult(CursorLoader.java:95) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:268) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:92) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.os.AsyncTask.finish(AsyncTask.java:695) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.os.AsyncTask.-wrap1(Unknown Source:0) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440) 09-06 09:09:38.148 7223 7223 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) 09-06 09:09:38.164 2596 7052 W ActivityManager: Force finishing activity net.etuldan.sparss.floss/net.etuldan.sparss.activity.HomeActivity 09-06 09:09:38.168 2596 7052 W ActivityManager: Force finishing activity org.mozilla.firefox/org.mozilla.gecko.BrowserApp 09-06 09:09:38.183 27540 27540 D GeckoMemoryMonitor: onTrimMemory() notification received with level 80 09-06 09:09:38.204 2596 2611 I ActivityManager: Showing crash dialog for package net.etuldan.sparss.floss u0