Skip to content

[camera] setExposureOffset throws null exception #89281

@AlexV525

Description

@AlexV525

Steps to Reproduce

When the min offset is -2 and max is 2:

controller.setExposureOffset(0);

Throws:

E/flutter ( 6027): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Null check operator used on a null value
E/flutter ( 6027): #0      MethodChannelCamera.setExposureOffset (package:camera_platform_interface/src/method_channel/method_channel_camera.dart:338:25)

Versions

camera: 0.9.2+1
Flutter: 2.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work listfound in release: 2.2Found to occur in 2.2has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions