question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[$250] Investigate: 💥 Crash 💥 `com.onfido.android.sdk.capture.ui.camera.view.CameraSourcePreview.stopRecording`

See original GitHub issue

Firebase has reported a new crash that we need to fix, here are all the details we found:

Fatal Exception: java.lang.NullPointerException

Attempt to invoke virtual method ‘void com.onfido.android.sdk.capture.ui.camera.view.CameraSource.stopVideo()’ on a null object reference

??? com.onfido.android.sdk.capture.ui.camera.view.CameraSourcePreview.stopRecording

Number of Crashes: 1

Device Information

  • Platforms: Android
  • App Versions: 1.2.27-0
  • Devices: Xiaomi 2201116PG 11

Stacktraces

Android 1.2.27-0
com.onfido.android.sdk.capture.ui.camera.view.CameraSourcePreview.stopRecording
com.onfido.android.sdk.capture.internal.camera.Camera1Api$takeVideo$recorder$1.cancel
com.onfido.android.sdk.capture.ui.camera.CaptureActivity.onFaceOutTimeout
com.onfido.android.sdk.capture.ui.camera.CapturePresenter.observeFaceOut$lambda-42
com.onfido.android.sdk.capture.ui.camera.CapturePresenter.$r8$lambda$kYGH3U1CrrbKB73EM5MCyvjEA4I
com.onfido.android.sdk.capture.ui.camera.CapturePresenter$$ExternalSyntheticLambda54.run
io.reactivex.rxjava3.internal.observers.CallbackCompletableObserver.onComplete (CallbackCompletableObserver.java:53)
io.reactivex.rxjava3.internal.operators.completable.CompletableObserveOn$ObserveOnCompletableObserver.run (CompletableObserveOn.java:89)
io.reactivex.rxjava3.android.schedulers.HandlerScheduler$ScheduledRunnable.run (HandlerScheduler.java:123)
android.os.Handler.handleCallback (Handler.java:938)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loop (Looper.java:237)
android.app.ActivityThread.main (ActivityThread.java:8163)
java.lang.reflect.Method.invoke
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:656)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:972)

Internal Firebase Info

💥 DO NOT EDIT THIS SECTION 💥

Crash IDs: d9e209c44b6b88d49f292aef88c5b128 Exception: Attempt to invoke virtual method 'void com.onfido.android.sdk.capture.ui.camera.view.CameraSource.stopVideo()' on a null object reference

REMINDER: Typically, Firebase Crashlytics issues should be capped at $500.

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
AndrewGablecommented, Nov 17, 2022

I am closing this issue because we are no longer focusing on Firebase reported crashes. If this crash is reproducible, please report it in #expensify-bugs in Slack.

0reactions
stephanieelliottcommented, Nov 15, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

NPEs in com.onfido.android.sdk.capture.ui.camera.face ...
We experience the same bug in production already 280 of our users affected in 14 days, with over 338 crash, we are looking...
Read more >
Onfido Android SDK Reference - Onfido API
The Onfido Android SDK provides a drop-in set of screens and tools for Android applications to capture identity documents and selfie photos and...
Read more >
Onfido Android SDK Reference - Onfido API
Overview. This SDK provides a drop-in set of screens and tools for Android applications to allow capturing of identity documents and face photos/live...
Read more >
Onfido Web SDK Reference
The Onfido Web SDK provides a set of components for JavaScript applications to capture identity documents and selfie photos, videos, and motion captures...
Read more >
Onfido Studio: Android SDK integration
This is an introductory guide to integrating Onfido Studio - our drag and drop interface for building, managing, and deploying identity verification journeys...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found