Page 1 of 1

How to create template iris verification using NSubjects?

PostPosted: Nov 01, 2017 10:59
by harrish6
Am creating android iris application using megamatcher SDK. Created two Nsubjects but can"t able to verify the iris. It returns null and the application is to be crashed. Here i place my error code in debug window.

Code: Select all
FATAL EXCEPTION: main
Process: com.dc.mobileapps.owniris, PID: 19963
java.lang.NullPointerException: Attempt to invoke virtual method "void com.neurotec.biometrics.client.NBiometricClient.verify(com.neurotec.biometrics.NSubject, com.neurotec.biometrics.NSubject, java.lang.Object, com.neurotec.util.concurrent.CompletionHandler)" on a null object reference


Help me please!

Re: How to create template iris verification using NSubjects

PostPosted: Nov 02, 2017 09:27
by MartynasV
harrish6 wrote:Am creating android iris application using megamatcher SDK. Created two Nsubjects but can"t able to verify the iris. It returns null and the application is to be crashed. Here i place my error code in debug window.

Code: Select all
FATAL EXCEPTION: main
Process: com.dc.mobileapps.owniris, PID: 19963
java.lang.NullPointerException: Attempt to invoke virtual method "void com.neurotec.biometrics.client.NBiometricClient.verify(com.neurotec.biometrics.NSubject, com.neurotec.biometrics.NSubject, java.lang.Object, com.neurotec.util.concurrent.CompletionHandler)" on a null object reference


Help me please!

Hello,

This is standard error saying that you are trying to call method on "null" i.e. NBiometricClient is probably null.

You could have easily found solution on internet: https://stackoverflow.com/questions/451 ... -reference .