Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random crashes when opening videos #16

Open
ghost opened this issue Aug 24, 2021 · 7 comments
Open

Random crashes when opening videos #16

ghost opened this issue Aug 24, 2021 · 7 comments

Comments

@ghost
Copy link

ghost commented Aug 24, 2021

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

@kekkyojin
Copy link
Collaborator

LBRY FDroid version, please?

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

@ghost
Copy link
Author

ghost commented Aug 26, 2021

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
Copy link
Author

ghost commented Aug 26, 2021

Adding new information(recently discovered):

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

@kekkyojin
Copy link
Collaborator

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
Copy link

u6aab commented Dec 18, 2021

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

@Kodmod
Copy link

Kodmod commented Dec 27, 2021

Please fix this. It's so annoying.

@jpameli
Copy link

jpameli commented Dec 27, 2021

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants