Description
I have set up Nextcloud News and syncing and reading articles within the app is working.
However when clicking a link from an article or when opening an article in the browser / Chrome custom tab the app crashes.
This is what the log says:
21 19:51:23.230 1474 2708 W PackageConfigPersister: App-specific configuration not found for packageName: de.luhmer.owncloudnewsreader and userId: 0
06-21 19:51:23.239 602 5850 E vold : Failed to set project id on /data/media/0/Android/data/de.luhmer.owncloudnewsreader/: Operation not supported on transport endpoint
06-21 19:51:23.240 19407 19407 W ContextImpl: Failed to ensure /storage/emulated/0/Android/data/de.luhmer.owncloudnewsreader/cache: android.os.ServiceSpecificException: (code -1)
06-21 19:51:23.244 19407 19407 D AndroidRuntime: Shutting down VM
06-21 19:51:23.245 19407 19407 E AndroidRuntime: FATAL EXCEPTION: main
06-21 19:51:23.245 19407 19407 E AndroidRuntime: Process: de.luhmer.owncloudnewsreader, PID: 19407
06-21 19:51:23.245 19407 19407 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at de.luhmer.owncloudnewsreader.helper.m.g(SourceFile:5)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at de.luhmer.owncloudnewsreader.helper.m.j(SourceFile:3)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at de.luhmer.owncloudnewsreader.services.DownloadWebPageService.h(SourceFile:3)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at de.luhmer.owncloudnewsreader.l.a2(SourceFile:19)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at de.luhmer.owncloudnewsreader.l$a.shouldOverrideUrlLoading(SourceFile:3)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at android.webkit.WebViewClient.shouldOverrideUrlLoading(WebViewClient.java:83)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(chromium-TrichromeWebViewGoogle6432.aab-stable-647807133:126)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at android.os.MessageQueue.nativePollOnce(Native Method)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at android.os.MessageQueue.next(MessageQueue.java:344)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:189)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at android.os.Looper.loop(Looper.java:317)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8501)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
06-21 19:51:23.245 19407 19407 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
I have tried the following:
- Changed WebView provider in Android (ROM version vs. Play Store version)
- Changed browser setting in Nextcloud News app (tried Chrome Tab, External Browser and Internal Browser)
Nextcloud News is the only app which is having issues like that.
Nextcloud News 0.9.9.90 (F-Droid) on Android 14
App Version: 0.9.9.90
App Version Code: 191
SSO enabled: true
OS Version: 4.14.340-openela(794b5d6c29)
OS API Level: 34
Device: surya
Model (and Product): M2007J20CG (surya)
sp_max_cache_size=500
sp_swipe_left_action=2
sw_use_single_sign_on=true
cb_ShowOnlyUnread=false
cb_openInBrowserDirectly=false
cb_prefBackButtonOpensDrawer=false
lv_cacheImagesOffline=0
cb_ShowFastActions=true
pref_sync_settings=0
cb_AutoSyncOnStart=false
sp_news_detail_actionbar_icons=[]
sp_swipe_right_action=1
cb_NavigateWithVolumeButtons=false
sp_font_size=1.0
NewsWebVersionNumber=24.0.0
sp_search_in=2
cb_external_player=false
sp_sort_order=1
cb_MarkAsReadWhileScrolling=false
sp_feed_list_layout=6
cb_oled_mode=false
PREVIOUS_VERSION_CODE=191
sp_display_browser=0
sp_app_theme=0
Activity