-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
flutter/engine
#21827Labels
a: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
Description
This occurred on a Mac host while trying to reproduce a linter error on the bot.
The stack trace in the linter was:
NoSuchMethodError: The getter 'isEmpty' was called on null.
Receiver: null
Tried calling: isEmpty
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1 main (file:////engine/src/flutter/ci/bin/lint.dart:248:28)
<asynchronous suspension>
#2 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#3 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
The line that caused the exception reads if (job.result?.stdout.isEmpty ?? true) which indicates that the ProcessRunnerResult.stdout was null. Unclear why this can be the case.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
a: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.