Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Camera Controller #2

Open
muck27 opened this issue Oct 25, 2021 · 0 comments
Open

Issue with Camera Controller #2

muck27 opened this issue Oct 25, 2021 · 0 comments

Comments

@muck27
Copy link

muck27 commented Oct 25, 2021

I am running this application on a google pixel 4a.
I am getting these issues for all 4 models of media pipe..

Encountering the following errors:

======== Exception caught by foundation library ====================================================
The following _CastError was thrown while dispatching notifications for CameraController:
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0 _CameraPageState.onNewCameraSelected. (package:flutter_with_mediapipe/pages/camera_page.dart:131:28)
#1 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:243:25)
#2 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:309:5)
#3 CameraController.initialize. (package:camera/src/camera_controller.dart:267:9)
#11 Where.whereType. (package:stream_transform/src/where.dart:21:30)
...
The CameraController sending notification was: CameraController#a6084(CameraValue(isRecordingVideo: false, isInitialized: true, errorDescription: null, previewSize: Size(720.0, 480.0), isStreamingImages: true, flashMode: FlashMode.auto, exposureMode: ExposureMode.auto, focusMode: FocusMode.auto, exposurePointSupported: true, focusPointSupported: true, deviceOrientation: DeviceOrientation.portraitUp, lockedCaptureOrientation: null, recordingOrientation: null))

@JaeHeee JaeHeee closed this as completed Nov 27, 2021
@JaeHeee JaeHeee reopened this Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants