This project has moved and is read-only. For the latest updates, please go here.

Error initializing Fingerprint unlock


I've tried to enable a Fingerprint unlock to my database however I'm still asked for the password and next to it there is a red exclamation mark which shows "Error initializing Fingerpring Unloc Java.Lang.RuntimeException: Attempt to invoke virtual method....". I'm running 6.0.1 on note 4. Anyone hit similar issue?


Ful error:
Error initializing Fingerprint Unlock: Java.Lang.RuntimeException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0xae9ad7c8 + 0x00024> in <filename unknown>:0 
  at Android.Runtime.JNIEnv.CallStaticObjectMethod (IntPtr jclass, IntPtr jmethod, Android.Runtime.JValue* parms) <0xae5ae720 + 0x000c3> in <filename unknown>:0 
  at Android.Util.Base64.Decode (System.String str, Base64Flags flags) <0x9b6b5d88 + 0x001cf> in <filename unknown>:0 
  at keepass2android.FingerprintDecryption..ctor (keepass2android.FingerprintModule fingerprint, System.String keyId, Android.Content.Context context, System.String prefKey) <0x9b6b4498 + 0x00087> in <filename unknown>:0 
  at keepass2android.PasswordActivity.InitFingerprintUnlock () <0x9b6b3c38 + 0x0018f> in <filename unknown>:0 
  --- End of managed exception stack trace ---
java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes()' on a null object reference
    at android.util.Base64.decode(
    at md5f0702f468598c68ce18586502249fb40.PasswordActivity.n_onResume(Native Method)
    at md5f0702f468598c68ce18586502249fb40.PasswordActivity.onResume(
    at android.os.Handler.dispatchMessage(
    at android.os.Looper.loop(
    at java.lang.reflect.Method.invoke(Native Method)


DarkIceMan wrote Jun 6, 2016 at 9:43 AM

I have the same problem on samsung galaxy s5

cocacoola wrote Jun 10, 2016 at 7:22 AM

Funny thing is, that quick unlock is working, but the full unlock not.

bbrowaros wrote Jun 10, 2016 at 7:59 AM

Yes just checked that but I'm sure this was not working ether when I've log this thread. So this got fixed in some update between.

RichStevenson wrote Sep 2, 2016 at 11:28 PM

Same issue on Galaxy S5 running Marshmallow. Quick unlock works, but I also have the error above when clicking the red exclamation mark.

marlack wrote Jul 14 at 8:32 AM

I have the same issue on my LG G6, Android 7.0.

On my previous LG G5 it was working fine.