-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: disabled testTracks the restoration of a disabled testTracks the restoration of a disabled testp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team
Description
The following tests are failing:
- Capture specific image resolutions
Logs:
The following CameraException was thrown running a test:
CameraException(error, Attempt to invoke virtual method 'int
android.hardware.camera2.CameraCaptureSession.capture(android.hardware.camera2.CaptureRequest,
android.hardware.camera2.CameraCaptureSession$CaptureCallback,
android.os.Handler)' on a null object reference)
When the exception was thrown, this was the stack:
#0 CameraController.takePicture (package:camera/src/camera_controller.dart:392:7)
<asynchronous suspension>
#1 main.testCaptureImageResolution (file:///tmp/cirrus-ci-build/packages/camera/camera/example/integration_test/camera_test.dart:62:18)
<asynchronous suspension>
#2 main.<anonymous closure> (file:///tmp/cirrus-ci-build/packages/camera/camera/example/integration_test/camera_test.dart:88:13)
<asynchronous suspension>
#3 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:176:15)
<asynchronous suspension>
#4 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:817:5)
- Capture specific video resolutions
Logs:
java.lang.Exception: ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following CameraException was thrown running a test:
CameraException(error, stop failed.)
When the exception was thrown, this was the stack:
#0 CameraController.stopVideoRecording (package:camera/src/camera_controller.dart:531:7)
<asynchronous suspension>
#1 main.testCaptureVideoResolution (file:///tmp/cirrus-ci-build/packages/camera/camera/example/integration_test/camera_test.dart:109:18)
<asynchronous suspension>
#2 main.<anonymous closure> (file:///tmp/cirrus-ci-build/packages/camera/camera/example/integration_test/camera_test.dart:139:13)
<asynchronous suspension>
#3 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:176:15)
<asynchronous suspension>
#4 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:817:5)
<asynchronous suspension>
The test description was:
Capture specific video resolutions
═════════════════════════════════════════════════════════════════
at dev.flutter.plugins.integration_test.FlutterTestRunner.run(FlutterTestRunner.java:81)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56)
at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:392)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:2205)
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: disabled testTracks the restoration of a disabled testTracks the restoration of a disabled testp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-androidOwned by Android platform teamOwned by Android platform teamtriaged-androidTriaged by Android platform teamTriaged by Android platform team