This project has moved. For the latest updates, please go here.
3
Vote

Error initializing Fingerprint unlock

description

Hi,
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?

Regards,
Peter

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(Base64.java:118)
    at md5f0702f468598c68ce18586502249fb40.PasswordActivity.n_onResume(Native Method)
    at md5f0702f468598c68ce18586502249fb40.PasswordActivity.onResume(PasswordActivity.java:102)
    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1286)
    at android.app.Activity.performResume(Activity.java:6987)
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4144)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4246)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1838)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:158)
    at android.app.ActivityThread.main(ActivityThread.java:7225)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

comments

DarkIceMan wrote Jun 6, 2016 at 8:43 AM

I have the same problem on samsung galaxy s5

cocacoola wrote Jun 10, 2016 at 6:22 AM

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

bbrowaros wrote Jun 10, 2016 at 6: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 10: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 7:32 AM

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

On my previous LG G5 it was working fine.