Skip to content

[flutter_tools] _CastError in WebPlugin.fromYaml #117926

@christopherfujino

Description

@christopherfujino

on beta/3.7.0-1.2.pre

_CastError: type 'Null' is not a subtype of type 'String' in type cast
at new WebPlugin.fromYaml(platform_plugins.dart:548)
at new Plugin._fromMultiPlatformYaml(plugins.dart:142)
at new Plugin.fromYaml(plugins.dart:78)
at _pluginFromPackage(flutter_plugins.dart:63)
at findPlugins(flutter_plugins.dart:88)
at <asynchronous gap>(async)
at refreshPluginsList(flutter_plugins.dart:1080)
at <asynchronous gap>(async)
at FlutterProject.ensureReadyForPlatformSpecificTooling(project.dart:357)
at <asynchronous gap>(async)
at PackagesGetCommand.runCommand(packages.dart:179)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1257)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:209)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:283)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:229)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:64)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at main(executable.dart:91)
at <asynchronous gap>(async)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work listc: crashStack traces logged to the consoletoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions