{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/linter/issues/822","repository_url":"https://api.github.com/repos/dart-lang/linter","labels_url":"https://api.github.com/repos/dart-lang/linter/issues/822/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/linter/issues/822/comments","events_url":"https://api.github.com/repos/dart-lang/linter/issues/822/events","html_url":"https://github.com/dart-lang/linter/issues/822","id":268464854,"number":822,"title":"Analysis server error: Cannot extract a file path from a package URI","user":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars0.githubusercontent.com/u/1269969?v=4","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"labels":[{"id":730786275,"url":"https://api.github.com/repos/dart-lang/linter/labels/area-analyzer","name":"area-analyzer","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars0.githubusercontent.com/u/1269969?v=4","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"assignees":[{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars0.githubusercontent.com/u/1269969?v=4","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-10-25T16:29:36Z","updated_at":"2017-10-25T16:30:20Z","closed_at":null,"author_association":"MEMBER","body":"_From @pylaligand on October 24, 2017 23:46_\n\nWith an analysis server built at `68a4c5783d5fef10a512efff4c6d4f9842066ba5`, I'm getting the following error:\r\n```\r\n#0      _SimpleUri.toFilePath (dart:core/uri.dart:4558)\r\n#1      _Visitor._isDefinedInLib (package:linter/src/rules/public_member_api_docs.dart:122)\r\n#2      _Visitor.visitCompilationUnit (package:linter/src/rules/public_member_api_docs.dart:210)\r\n#3      CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2495)\r\n#4      ExceptionHandlingDelegatingAstVisitor.visitNode.<anonymous closure> (package:analyzer/src/dart/ast/utilities.dart:2756)\r\n#5      List.forEach (dart:core-patch/growable_array.dart:267)\r\n#6      ExceptionHandlingDelegatingAstVisitor.visitNode (package:analyzer/src/dart/ast/utilities.dart:2754)\r\n#7      UnifyingAstVisitor.visitCompilationUnit (package:analyzer/dart/ast/visitor.dart:2949)\r\n#8      CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2495)\r\n#9      LibraryAnalyzer._computeLints (package:analyzer/src/dart/analysis/library_analyzer.dart:254)\r\n#10     LibraryAnalyzer._analyze.<anonymous closure>.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:136)\r\n#11     _HashVMBase&MapMixin&&_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:356)\r\n#12     LibraryAnalyzer._analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:135)\r\n#13     _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:200)\r\n#14     LibraryAnalyzer._analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:134)\r\n#15     LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:75)\r\n#16     _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:200)\r\n#17     LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:74)\r\n#18     AnalysisDriver._computeAnalysisResult.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1210)\r\n<asynchronous suspension>\r\n#19     PerformanceLog.runAsync (package:front_end/src/base/performace_logger.dart:52)\r\n<asynchronous suspension>\r\n#20     AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1172)\r\n<asynchronous suspension>\r\n#21     AnalysisDriver.performWork (package:analyzer/src/dart/analysis/driver.dart:1001)\r\n<asynchronous suspension>\r\n#22     AnalysisDriverScheduler._run (package:analyzer/src/dart/analysis/driver.dart:1814)\r\n<asynchronous suspension>\r\n#23     AnalysisDriverScheduler.start (package:analyzer/src/dart/analysis/driver.dart:1757)\r\n#24     new AnalysisServer (package:analysis_server/src/analysis_server.dart:378)\r\n#25     SocketServer.createAnalysisServer (package:analysis_server/src/socket_server.dart:79)\r\n#26     StdioAnalysisServer.serveStdio (package:analysis_server/src/server/stdio_server.dart:37)\r\n#27     Driver.start.<anonymous closure> (package:analysis_server/src/server/driver.dart:430)\r\n#28     _rootRun (dart:async/zone.dart:1120)\r\n#29     _CustomZone.run (dart:async/zone.dart:1001)\r\n#30     runZoned (dart:async/zone.dart:1467)\r\n#31     Driver._captureExceptions (package:analysis_server/src/server/driver.dart:470)\r\n#32     Driver.start (package:analysis_server/src/server/driver.dart:429)\r\n#33     some local program using analysis_server_lib to start the service\r\n```\r\n\r\nThe URI in question is of the form `package:foo/src/bar.dart` and I confirmed that there's an entry for it in the .packages file.\r\n\r\nAm I holding it wrong? :)\r\n\r\n/cc @zanderso @scheglov @bwilkerson \n\n_Copied from original issue: dart-lang/sdk#31216_"},"comment":{"url":"https://api.github.com/repos/dart-lang/linter/issues/comments/339389636","html_url":"https://github.com/dart-lang/linter/issues/822#issuecomment-339389636","issue_url":"https://api.github.com/repos/dart-lang/linter/issues/822","id":339389636,"user":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars0.githubusercontent.com/u/1269969?v=4","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"created_at":"2017-10-25T16:30:20Z","updated_at":"2017-10-25T16:30:20Z","author_association":"MEMBER","body":"After this fix we'll need to to a patch to the last published linter"}}
{"actor":{"display_login":"devoncarew"}}