Android Fingerprints: hasEnrolledFingerprints triggers exception on some Samsungs
I came across the same problem on a Samsung Galaxy S6, running Android 6.0.1
The Problem was caused by calling
fingerprintManager.hasEnrolledFingerprints()
I fixed it by adding a call to check for hardware before:
fingerprintManager.isHardwareDetected() && mFingerprintManager.hasEnrolledFingerprints()
Checking for fingerprints without the hardware available seems to cause this exception on some devices.