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

dart2js crashes when .packages file is invalid UTF8 #24120

Closed
harryterkelsen opened this issue Aug 18, 2015 · 0 comments
Closed

dart2js crashes when .packages file is invalid UTF8 #24120

harryterkelsen opened this issue Aug 18, 2015 · 0 comments
Assignees

Comments

@harryterkelsen
Copy link
Contributor

stdout:

The compiler crashed: FormatException: Not a valid package name (at character 1)
þ
^

#0      parse (package:package_config/packages_file.dart:56:7)
#1      Compiler.setupPackages.<anonymous closure> (file:///usr/local/google/home/het/code/dart/sdk/pkg/compiler/lib/src/apiimpl.dart:403:29)
#2      _RootZone.runUnary (dart:async/zone.dart:1165)
#3      _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:502)
#4      _Future._propagateToListeners (dart:async/future_impl.dart:585)
#5      _Future._completeWithValue (dart:async/future_impl.dart:376)
#6      _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:430)
#7      _microtaskLoop (dart:async/schedule_microtask.dart:43)
#8      _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
#9      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#10     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants