Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type 'Null' is not a subtype of type 'String' in type cast (version 2.0.9) #40

Closed
chan150 opened this issue Mar 3, 2023 · 3 comments
Closed

Comments

@chan150
Copy link

chan150 commented Mar 3, 2023

Command:
$ escompress -i"input.txt" -o"output.lz4"

Error message:

type 'Null' is not a subtype of type 'String' in type cast
#0      main (file:///home/xxx/.pub-cache/hosted/pub.dev/es_compression-2.0.9/bin/es_compress.dart:57:40)
#1      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:295:33)
#2      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)

Env:
Tested on both Windows 10 and Ubuntu
Dart SDK version: 2.19.2 (stable) (Unknown timestamp) on "linux_x64"
es_compression-2.0.9

@sethloco
Copy link
Collaborator

sethloco commented Mar 3, 2023

Thank you for reporting.
Was able to reproduce and will fix shortly

sethloco added a commit that referenced this issue Mar 3, 2023
@sethloco
Copy link
Collaborator

sethloco commented Mar 3, 2023

Pushed 2.0.10 to pub.dev.
Please try again and let me know if everything work for you.

@chan150
Copy link
Author

chan150 commented Mar 3, 2023

@sethloco
It works for me.
Thanks!

@chan150 chan150 closed this as completed Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants