Android app is crashing just after login

Newsblur is crashing just after login. Submitted report on crash dialog.

I wondered if this behavior had anything to do with the recent Webview issues, so uninstalled its updates but issue remains.

Poco X3 Android 10

I have since installed fixed Webview 89.0.4389.105 but issue with Newsblur remains.

Can you try the beta app? You can enroll in the Play Store.

Yes this was happening with the beta, I tried with stable with same result…

Below the error. I tried to disable custom DNS to same result.

java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$4.done(AsyncTask.java:399)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
at java.util.concurrent.FutureTask.run(FutureTask.java:271)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.IllegalArgumentException: Expected URL scheme ‘http’ or ‘https’ but no colon was found
at okhttp3.HttpUrl$Builder.parse$okhttp(HttpUrl.kt:1260)
at okhttp3.HttpUrl$Companion.get(HttpUrl.kt:1633)
at okhttp3.Request$Builder.url(Request.kt:184)
at com.newsblur.network.APIManager.post_single(APIManager.java:767)
at com.newsblur.network.APIManager.post(APIManager.java:744)
at com.newsblur.network.APIManager.post(APIManager.java:779)
at com.newsblur.network.APIManager.login(APIManager.java:108)
at com.newsblur.fragment.LoginProgressFragment$LoginTask.doInBackground(LoginProgressFragment.java:72)
at com.newsblur.fragment.LoginProgressFragment$LoginTask.doInBackground(LoginProgressFragment.java:63)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
… 4 more

Thanks for posting the crash report! I added a ticket and it’ll hopefully get fixed before the upcoming Android release.

@Roberto_Santana Did the crash first started to happen around the time you reported it or was it on your first interaction with NewsBlur from that phone? Thanks

It was working fine before up until I reported this.

With the Fdroid version I get a slightly different error:

java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$4.done(AsyncTask.java:399)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
at java.util.concurrent.FutureTask.run(FutureTask.java:271)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.IllegalArgumentException: unexpected url: robsan/api/login
at okhttp3.Request$Builder.url(Request.java:143)
at com.newsblur.network.APIManager.post_single(APIManager.java:690)
at com.newsblur.network.APIManager.post(APIManager.java:667)
at com.newsblur.network.APIManager.post(APIManager.java:702)
at com.newsblur.network.APIManager.login(APIManager.java:104)
at com.newsblur.fragment.LoginProgressFragment$LoginTask.doInBackground(LoginProgressFragment.java:81)
at com.newsblur.fragment.LoginProgressFragment$LoginTask.doInBackground(LoginProgressFragment.java:72)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
… 4 more

I’ve tried to replicate the crash on two devices but with no success so far.
Do you have access to another Android device that you could test login? It would help narrow down the possibilities.

Yes I have an older tablet still on Android 7 and was able to login and use the app there. So it seems the issue is particular to this phone. How can I troubleshoot further?

@Roberto_Santana Since it worked a week ago I assume the issue on your phone is related to WebView.
I’d clear cache (and optionally storage) for WebView and Play Store(it will force it to get the latest app versions), restart the phone and install any updates from Play Store. I’d also explicitly check the WebView system app in Play Store to see if there are new versions available. Concluding with an uninstall and install of NewsBlur.
Let me know if that helps.

I had done so before but repeated the suggested procedure once more: issue remains. I also tried beta, dev, canary Webview with same result. I’m not sure if this is Webview related, as I didn’t have issues with any other apps.

Having been unable to use newsblur on mobile for almost a month now, I have moved on to a competitor (who has a quite nice and modern mobile app BTW). Also had to jump through hoops just to export my saved items - I noticed an older thread on this subject and just cannot believe this functionality is still not available. Thus I will not be renewing my subscription. It was a good 8 years and I wish you all the best.