lbry-fdroid icon indicating copy to clipboard operation
lbry-fdroid copied to clipboard

Random crashes when opening videos

Open ghost opened this issue 3 years ago • 7 comments

When you click on a video theres a chance the app might crash.

ghost avatar Aug 24 '21 21:08 ghost

LBRY FDroid version, please?

Could you link to any video which crashes? Thank you.

kekkyojin avatar Aug 25 '21 18:08 kekkyojin

LBRY FDroid version, please?

0.17.1

Could you link to any video which crashes? Thank you.

I don't think its the video that causes the crashing because after the crash opening the same video causes no issue.

ghost avatar Aug 26 '21 13:08 ghost

Adding new information(recently discovered):

Opening anything can cause a crash (video, channel, markdown file)

ghost avatar Aug 26 '21 13:08 ghost

Likely it will be fixed when next release on FDroid includes changes from upstream LBRY Android.

I am leaving it opened here to avoid duplicate bug reports.

Thanks for your report, @Jonahgay

kekkyojin avatar Sep 11 '21 17:09 kekkyojin

any news on when the next version is going to be released?

u6aab avatar Dec 18 '21 23:12 u6aab

Please fix this. It's so annoying.

Kodmod avatar Dec 27 '21 18:12 Kodmod

I can confirm, that random crashes occur, especially when starting any video from time to time. Maybe its connected to "play in background" which is enabled in the settings. Here is a stack trace when it crashes:

FATAL EXCEPTION: AsyncTask #7 Process: io.lbry.browser, PID: 30649 java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$4.done(Unknown Source:27) 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 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:923) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference at java.text.SimpleDateFormat.parseInternal(SimpleDateFormat.java:1741) at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1728) at java.text.DateFormat.parse(DateFormat.java:360) at io.lbry.browser.model.Claim.fromSearchJSONObject(Claim.java:371) at io.lbry.browser.utils.Lighthouse.search(Lighthouse.java:65) at io.lbry.browser.tasks.LighthouseSearchTask.doInBackground(LighthouseSearchTask.java:40) at io.lbry.browser.tasks.LighthouseSearchTask.doInBackground(LighthouseSearchTask.java:16) at android.os.AsyncTask$3.call(Unknown Source:20) at java.util.concurrent.FutureTask.run(FutureTask.java:266)

jpameli avatar Dec 27 '21 23:12 jpameli