## 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
1.
2.
3.
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
here is the crash log:
Screenshots
Internal Use
Acceptance Criteria
1. 2. 3.
Definition of Done