FaceRecognitionAuth icon indicating copy to clipboard operation
FaceRecognitionAuth copied to clipboard

Null check operator used on null value

Open Elienock opened this issue 2 years ago • 13 comments

When I want to access the sign up page, an exception is caught by the widgets library and the relevant error-causing widget was signup on the on the home page . Can anyone help me with this error.

Elienock avatar May 17 '22 23:05 Elienock

I am having the same issue when trying to signup

dhruvrauthan avatar May 18 '22 17:05 dhruvrauthan

Same issue here: That is the Exception caught: image Here is my 'flutter --version' output:

Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git Framework • revision fb57da5f94 (3 days ago) • 2022-05-19 15:50:29 -0700 Engine • revision caaafc5604 Tools • Dart 2.17.1 • DevTools 2.12.2

MatheusWilgen avatar May 22 '22 15:05 MatheusWilgen

Same issue here: Thats is the Exception caught: image Here is my 'flutter --version' output:

Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git Framework • revision fb57da5f94 (3 days ago) • 2022-05-19 15:50:29 -0700 Engine • revision caaafc5604 Tools • Dart 2.17.1 • DevTools 2.12.2

same issue !!

rajmayank93 avatar May 22 '22 16:05 rajmayank93

HEY EVERYONE, IF YOU ARE WORKING ON DEBUGGING THIS ISSUE.... THEN JOIN TELEGRAM GRP -> https://t.me/+xJkkX6I3RnI5ZmJl

i am also trying to resolve it.

rajmayank93 avatar May 22 '22 16:05 rajmayank93

setState(() { faceDetected = _faceDetectorService.faces[0]; }); use this line in SignUP page after if (_faceDetectorService.faces.isNotEmpty) { in _frameFaces() Method

Always-Bijoy avatar May 25 '22 10:05 Always-Bijoy

@Always-Bijoy Still getting same Error... Is it working fine for you???

Screenshot (115)

rajmayank93 avatar May 25 '22 14:05 rajmayank93

i do remove null check(!) from faceDetected on FacePainter at line 185. Then the null check exception dissappeared. Actually the code doing null check already inside of FacePainter class

rahmrny12 avatar May 26 '22 03:05 rahmrny12

Yes it's working on my side, and I am successfully run this project completely

Always-Bijoy avatar May 26 '22 11:05 Always-Bijoy

I removed the null check, and inserted the abovementioned code in line 102. No error but "No face Detected" message everytime. any help?

rorocabrera avatar May 31 '22 14:05 rorocabrera

The project is updated now please clone it again, everything will work perfectly. Happy coding

Always-Bijoy avatar Jun 01 '22 02:06 Always-Bijoy

image

@Always-Bijoy I am getting this error. i checked everywhere about solution but that is not helping!

binitshrest avatar Jun 01 '22 08:06 binitshrest

image

@Always-Bijoy I am getting this error. I checked everywhere about solution but that is not helping!

I am using updated project. and android 12 device

binitshrest avatar Jun 01 '22 08:06 binitshrest

I think This will help you-https://www.youtube.com/watch?v=0vkrISy4J_o

raiTech7867 avatar Jun 26 '22 05:06 raiTech7867