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

int java.util.List.size()' on a null object reference com.exxbrain.android.biometric.BiometricFragment.onCreateView #357

Open
alexandrefelipemuller opened this issue Jun 21, 2021 · 0 comments
Labels

Comments

@alexandrefelipemuller
Copy link

Hello,
I have some fatal crashes occurring just after users putting their finger on sensor on Motorola Devices,
I can see them on CrashLytics (only for Motorola, for many devices g4 g5 g6 g7 g7 power, plus, etc...)

Fatal Exception: java.lang.NullPointerException
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
android.os.Parcel.createException (Parcel.java:1956)
android.os.Parcel.readException (Parcel.java:1918)
android.os.Parcel.readException (Parcel.java:1868)
android.hardware.fingerprint.IFingerprintService$Stub$Proxy.authenticate (IFingerprintService.java:333)
android.hardware.fingerprint.FingerprintManager.authenticate (FingerprintManager.java:469)
android.hardware.fingerprint.FingerprintManager.authenticate (FingerprintManager.java:546)
android.hardware.biometrics.BiometricPrompt.authenticate (BiometricPrompt.java:435)
com.exxbrain.android.biometric.BiometricFragment.onCreateView (BiometricFragment.java:183)
androidx.fragment.app.Fragment.performCreateView (Fragment.java:15)
androidx.fragment.app.FragmentManagerImpl.moveToState (FragmentManagerImpl.java:645)
androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState (FragmentManagerImpl.java:93)
androidx.fragment.app.FragmentManagerImpl.moveToState (FragmentManagerImpl.java:42)
androidx.fragment.app.FragmentManagerImpl.dispatchStateChange (FragmentManagerImpl.java:4)
androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated (FragmentManagerImpl.java:6)
androidx.fragment.app.FragmentController.dispatchActivityCreated (FragmentController.java:4)
androidx.fragment.app.FragmentActivity.onStart (FragmentActivity.java:15)
androidx.appcompat.app.AppCompatActivity.onStart (AppCompatActivity.java)
android.app.Instrumentation.callActivityOnStart (Instrumentation.java:1413)
android.app.Activity.performStart (Activity.java:7169)
android.app.ActivityThread.handleStartActivity (ActivityThread.java:3146)
android.app.servertransaction.TransactionExecutor.performLifecycleSequence (TransactionExecutor.java:180)
android.app.servertransaction.TransactionExecutor.cycleToPath (TransactionExecutor.java:165)
android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:142)
android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1977)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loop (Looper.java:193)
android.app.ActivityThread.main (ActivityThread.java:6923)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:870)
Caused by android.os.RemoteException
Remote stack trace: at com.android.server.fingerprint.FingerprintService.isForegroundActivity(FingerprintService.java:1029) at com.android.server.fingerprint.FingerprintService.canUseFingerprint(FingerprintService.java:1067) at com.android.server.fingerprint.FingerprintService.access$2700(FingerprintService.java:110) at com.android.server.fingerprint.FingerprintService$FingerprintServiceWrapper.authenticate(FingerprintService.java:1443) at android.hardware.fingerprint.IFingerprintService$Stub.onTransact(IFingerprintService.java:74)

Is there any fix for that issue? I tried to find it but doesn't seem to be application side code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant