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

crashes on opening video #1228

Open
10 tasks
u6aab opened this issue Dec 23, 2021 · 0 comments
Open
10 tasks

crashes on opening video #1228

u6aab opened this issue Dec 23, 2021 · 0 comments

Comments

@u6aab
Copy link

u6aab commented Dec 23, 2021

The Issue

sometimes when i open videos, the app crashes

Steps to reproduce

1.open video
2.open another if it doesnt crash
3.it will eventually crash

Expected behaviour

no crashes

Actual behaviour

crashes

System Configuration

  • Device: pixel 4a 5g
  • Android version: 11 (calyxos)

Anything Else

here is the crash log:

FATAL EXCEPTION: AsyncTask #12
Process: io.lbry.browser, PID: 9107
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$4.done(AsyncTask.java:415)
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(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 3 more

Screenshots

Internal Use

Acceptance Criteria

Definition of Done

  • Tested against acceptance criteria
  • Tested against the assumptions of the user story
  • The project builds without errors
  • Unit tests are written and passing
  • Tests on devices/browsers listed in the issue have passed
  • QA performed & issues resolved
  • Refactoring completed
  • Any configuration or build changes documented
  • Documentation updated
  • Peer Code Review performed
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

1 participant