-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Unhandled exception:
type 'Null' is not a subtype of type 'String' in type cast
#0 new CachedPackage.fromJson (file:///home/xxx/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/license_generator-1.0.3/bin/src/model/dto/config/cached_package.dart:26:38)
#1 new PackageConfig.fromJson. (file:///home/xxx/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/license_generator-1.0.3/bin/src/model/dto/config/package_config.dart:16:45)
#2 MappedListIterable.elementAt (dart:_internal/iterable.dart:413:31)
#3 ListIterator.moveNext (dart:_internal/iterable.dart:342:26)
#4 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189:27)
#5 new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
#6 new List.of (dart:core-patch/array_patch.dart:51:28)
#7 ListIterable.toList (dart:_internal/iterable.dart:213:44)
#8 new PackageConfig.fromJson (file:///home/xxx/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/license_generator-1.0.3/bin/src/model/dto/config/package_config.dart:17:12)
#9 ConfigService.getConfigData (file:///home/xxx/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/license_generator-1.0.3/bin/src/service/config_service.dart:31:41)
#10 LicenseRepository.getLicenseDataForDependency (file:///home/xxx/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/license_generator-1.0.3/bin/src/repo/license_repository.dart:58:32)
#11 GenerateCommand._getDependencyText (file:///home/xxx/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/license_generator-1.0.3/bin/src/command/generate_command.dart:101:25)
#12 GenerateCommand.generateLicenses (file:///home/xxx/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/license_generator-1.0.3/bin/src/command/generate_command.dart:87:13)
#13 LicenseGenerator.run (file:///home/xxx/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/license_generator-1.0.3/bin/src/license_generator.dart:84:9)
#14 main (file:///home/xxx/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/license_generator-1.0.3/bin/license_generator.dart:10:5)
pub finished with exit code 255
Metadata
Metadata
Assignees
Labels
Type
Projects
Status