Random crashes when opening videos #16

Open
opened 2021-08-24 23:10:51 +02:00 by ghost · 7 comments
ghost commented 2021-08-24 23:10:51 +02:00 (Migrated from github.com)

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

When you click on a video theres a chance the app might crash.
kekkyojin commented 2021-08-25 20:32:34 +02:00 (Migrated from github.com)

LBRY FDroid version, please?

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

LBRY FDroid version, please? Could you link to any video which crashes? Thank you.
ghost commented 2021-08-26 15:06:47 +02:00 (Migrated from github.com)

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.

> 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 commented 2021-08-26 15:15:57 +02:00 (Migrated from github.com)

Adding new information(recently discovered):

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

## Adding new information(recently discovered): Opening anything can cause a crash (video, channel, markdown file)
kekkyojin commented 2021-09-11 19:52:09 +02:00 (Migrated from github.com)

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

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
u6aab commented 2021-12-19 00:09:40 +01:00 (Migrated from github.com)

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

any news on when the next version is going to be released?
Kodmod commented 2021-12-27 19:42:38 +01:00 (Migrated from github.com)

Please fix this. It's so annoying.

Please fix this. It's so annoying.
jpameli commented 2021-12-28 00:10:04 +01:00 (Migrated from github.com)

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)

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)`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-fdroid#16
No description provided.