{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/28803","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/28803/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/28803/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/28803/events","html_url":"https://github.com/dart-lang/sdk/issues/28803","id":208318238,"number":28803,"title":"No ErrorCode for _LintCode.invariant_boolean in /src/engine/src/tools/licenses/lib/licenses.dart","user":{"login":"eseidelGoogle","id":11857803,"avatar_url":"https://avatars.githubusercontent.com/u/11857803?v=3","gravatar_id":"","url":"https://api.github.com/users/eseidelGoogle","html_url":"https://github.com/eseidelGoogle","followers_url":"https://api.github.com/users/eseidelGoogle/followers","following_url":"https://api.github.com/users/eseidelGoogle/following{/other_user}","gists_url":"https://api.github.com/users/eseidelGoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/eseidelGoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eseidelGoogle/subscriptions","organizations_url":"https://api.github.com/users/eseidelGoogle/orgs","repos_url":"https://api.github.com/users/eseidelGoogle/repos","events_url":"https://api.github.com/users/eseidelGoogle/events{/privacy}","received_events_url":"https://api.github.com/users/eseidelGoogle/received_events","type":"User","site_admin":false},"labels":[{"id":486182490,"url":"https://api.github.com/repos/dart-lang/sdk/labels/analyzer-new-driver","name":"analyzer-new-driver","color":"d4c5f9","default":false},{"id":219928186,"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-analyzer","name":"area-analyzer","color":"c7def8","default":false},{"id":265663677,"url":"https://api.github.com/repos/dart-lang/sdk/labels/Customer-Flutter","name":"Customer-Flutter","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-02-17T02:49:19Z","updated_at":"2017-02-17T16:41:43Z","closed_at":null,"body":"Exception from analysis server (running from VSCode / Dart Code)\r\n\r\n### What I was doing\r\n\r\nOpened https://github.com/flutter/engine/tree/master/tools/licenses with the latest dart dev in visual studio code.\r\n\r\n### Versions\r\n\r\n- Dart SDK 1.22.0-dev.5.0\r\n- Visual Studio Code 1.9.1\r\n- Dart Code 0.15.1\r\n\r\n### Analyzer Info\r\n\r\nThe analyzer was launched with the arguments:\r\n\r\n```text\r\n--client-id=DanTup.dart-code\r\n--client-version=0.15.1\r\n```\r\n\r\n### Exception\r\n\r\nAnalysis failed: /src/engine/src/tools/licenses/lib/licenses.dart\r\n\r\n```text\r\nBad state: No ErrorCode for _LintCode.invariant_boolean in /src/engine/src/tools/licenses/lib/licenses.dart\r\n#0      AnalysisDriver._getErrorsFromSerialized.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:888)\r\n#1      MappedListIterable.elementAt (dart:_internal/iterable.dart:413)\r\n#2      ListIterable.toList (dart:_internal/iterable.dart:219)\r\n#3      AnalysisDriver._getErrorsFromSerialized (package:analyzer/src/dart/analysis/driver.dart:892)\r\n#4      AnalysisDriver._getAnalysisResultFromBytes (package:analyzer/src/dart/analysis/driver.dart:859)\r\n#5      AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:711)\r\n#6      PerformanceLog.run (package:analyzer/src/dart/analysis/driver.dart:1479)\r\n#7      AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:674)\r\n#8      AnalysisDriver._performWork.<_performWork_async_body> (package:analyzer/src/dart/analysis/driver.dart:1033)\r\n#9      Future.Future.microtask.<anonymous closure> (dart:async/future.dart:184)\r\n#10     _rootRun (dart:async/zone.dart:1146)\r\n#11     _CustomZone.run (dart:async/zone.dart:1026)\r\n#12     _CustomZone.runGuarded (dart:async/zone.dart:924)\r\n#13     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)\r\n#14     _rootRun (dart:async/zone.dart:1150)\r\n#15     _CustomZone.run (dart:async/zone.dart:1026)\r\n#16     _CustomZone.runGuarded (dart:async/zone.dart:924)\r\n#17     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:951)\r\n#18     _microtaskLoop (dart:async/schedule_microtask.dart:41)\r\n#19     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)\r\n#20     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:394)\r\n#21     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:414)\r\n#22     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/280701052","html_url":"https://github.com/dart-lang/sdk/issues/28803#issuecomment-280701052","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/28803","id":280701052,"user":{"login":"eseidelGoogle","id":11857803,"avatar_url":"https://avatars.githubusercontent.com/u/11857803?v=3","gravatar_id":"","url":"https://api.github.com/users/eseidelGoogle","html_url":"https://github.com/eseidelGoogle","followers_url":"https://api.github.com/users/eseidelGoogle/followers","following_url":"https://api.github.com/users/eseidelGoogle/following{/other_user}","gists_url":"https://api.github.com/users/eseidelGoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/eseidelGoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eseidelGoogle/subscriptions","organizations_url":"https://api.github.com/users/eseidelGoogle/orgs","repos_url":"https://api.github.com/users/eseidelGoogle/repos","events_url":"https://api.github.com/users/eseidelGoogle/events{/privacy}","received_events_url":"https://api.github.com/users/eseidelGoogle/received_events","type":"User","site_admin":false},"created_at":"2017-02-17T16:41:43Z","updated_at":"2017-02-17T16:41:43Z","body":"I've upgraded my dart sdk and yes the analyzer no longer crashes in visual code.\r\n\r\nOne thing that was interesting here was that it only crashed inside visual code and not from the command line`dartanalyze` for whatever reason.\r\n"}}
{"actor":{"display_login":"eseidelGoogle"}}