{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/25693","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/25693/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/25693/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/25693/events","html_url":"https://github.com/dart-lang/sdk/issues/25693","id":131497143,"number":25693,"title":"UnsupportedOperationException in Analysis Server","user":{"login":"lukechurch","id":2978182,"avatar_url":"https://avatars.githubusercontent.com/u/2978182?v=3","gravatar_id":"","url":"https://api.github.com/users/lukechurch","html_url":"https://github.com/lukechurch","followers_url":"https://api.github.com/users/lukechurch/followers","following_url":"https://api.github.com/users/lukechurch/following{/other_user}","gists_url":"https://api.github.com/users/lukechurch/gists{/gist_id}","starred_url":"https://api.github.com/users/lukechurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukechurch/subscriptions","organizations_url":"https://api.github.com/users/lukechurch/orgs","repos_url":"https://api.github.com/users/lukechurch/repos","events_url":"https://api.github.com/users/lukechurch/events{/privacy}","received_events_url":"https://api.github.com/users/lukechurch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/analyzer-server","name":"analyzer-server","color":"d4c5f9"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-analyzer","name":"area-analyzer","color":"c7def8"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/priority-high","name":"priority-high","color":"eb6420"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"bwilkerson","id":5840555,"avatar_url":"https://avatars.githubusercontent.com/u/5840555?v=3","gravatar_id":"","url":"https://api.github.com/users/bwilkerson","html_url":"https://github.com/bwilkerson","followers_url":"https://api.github.com/users/bwilkerson/followers","following_url":"https://api.github.com/users/bwilkerson/following{/other_user}","gists_url":"https://api.github.com/users/bwilkerson/gists{/gist_id}","starred_url":"https://api.github.com/users/bwilkerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwilkerson/subscriptions","organizations_url":"https://api.github.com/users/bwilkerson/orgs","repos_url":"https://api.github.com/users/bwilkerson/repos","events_url":"https://api.github.com/users/bwilkerson/events{/privacy}","received_events_url":"https://api.github.com/users/bwilkerson/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-04T22:49:07Z","updated_at":"2016-02-09T21:45:35Z","closed_at":"2016-02-09T21:45:35Z","body":"v 1.14.0-dev.7.2\r\n\r\nThis may be a defect, or just needs the reporting adjusting. \r\n\r\n```\r\n\r\nSession: 1454021371423.8635.json\r\nCaused by UnsupportedOperationException:: ... does not exist. null\r\n#0      NonExistingSource.encoding (package::analyzer/src/generated/source.dart::357)\r\n#1      CompilationUnitElementImpl.identifier (package::analyzer/src/dart/element/element.dart::1028)\r\n#2      ElementLocationImpl.ElementLocationImpl.con1 (package::analyzer/src/dart/element/element.dart::2039)\r\n#3      ElementImpl.location (package::analyzer/src/dart/element/element.dart::1813)\r\n#4      ElementImpl.== (package::analyzer/src/dart/element/element.dart::1868)\r\n#5      _HashSet._equals (dart::collection-patch/collection_patch.dart::561)\r\n#6      _HashSet.add (dart::collection-patch/collection_patch.dart::602)\r\n#7      GatherUsedImportedElementsVisitor._visitIdentifier (package::analyzer/src/generated/resolver.dart::4821)\r\n#8      GatherUsedImportedElementsVisitor.visitSimpleIdentifier (package::analyzer/src/generated/resolver.dart::4786)\r\n#9      SimpleIdentifier.accept (package::analyzer/src/generated/ast.dart::10023)\r\n#10     AstNode._safelyVisitChild (package::analyzer/src/generated/ast.dart::1110)\r\n#11     TypeName.visitChildren (package::analyzer/src/generated/ast.dart::11540)\r\n#12     RecursiveAstVisitor.visitTypeName (package::analyzer/dart/ast/visitor.dart::1114)\r\n#13     TypeName.accept (package::analyzer/src/generated/ast.dart::11536)\r\n#14     AstNode._safelyVisitChild (package::analyzer/src/generated/ast.dart::1110)\r\n#15     VariableDeclarationList.visitChildren (package::analyzer/src/generated/ast.dart::12051)\r\n#16     RecursiveAstVisitor.visitVariableDeclarationList (package::analyzer/dart/ast/visitor.dart::1138)\r\n#17     VariableDeclarationList.accept (package::analyzer/src/generated/ast.dart::12046)\r\n#18     AstNode._safelyVisitChild (package::analyzer/src/generated/ast.dart::1110)\r\n#19     FieldDeclaration.visitChildren (package::analyzer/src/generated/ast.dart::4820)\r\n#20     RecursiveAstVisitor.visitFieldDeclaration (package::analyzer/dart/ast/visitor.dart::747)\r\n#21     FieldDeclaration.accept (package::analyzer/src/generated/ast.dart::4815)\r\n#22     NodeList.accept (package::analyzer/src/generated/ast.dart::8642)\r\n#23     ClassDeclaration.visitChildren (package::analyzer/src/generated/ast.dart::2347)\r\n#24     RecursiveAstVisitor.visitClassDeclaration (package::analyzer/dart/ast/visitor.dart::603)\r\n#25     ClassDeclaration.accept (package::analyzer/src/generated/ast.dart::2277)\r\n#26     NodeList.accept (package::analyzer/src/generated/ast.dart::8642)\r\n#27     CompilationUnit.visitChildren (package::analyzer/src/generated/ast.dart::2903)\r\n#28     RecursiveAstVisitor.visitCompilationUnit (package::analyzer/dart/ast/visitor.dart::627)\r\n#29     CompilationUnit.accept (package::analyzer/src/generated/ast.dart::2896)\r\n#30     GatherUsedImportedElementsTask.internalPerform (package::analyzer/src/task/dart.dart::2694)\r\n#31     AnalysisTask._safelyPerform (package::analyzer/task/model.dart::310)\r\n#32     AnalysisTask.perform (package::analyzer/task/model.dart::210)\r\n#33     AnalysisDriver.performWorkItem (package::analyzer/src/task/driver.dart::271)\r\n#34     AnalysisDriver.performAnalysisTask (package::analyzer/src/task/driver.dart::246)\r\n#35     AnalysisContextImpl.performAnalysisTask.<anonymous closure> (package::analyzer/src/context/context.dart::1068)\r\n#36     _PerformanceTagImpl.makeCurrentWhile (package::analyzer/src/generated/utilities_general.dart::194)\r\n#37     AnalysisContextImpl.performAnalysisTask (package::analyzer/src/context/context.dart::1066)\r\n#38     PerformAnalysisOperation.perform (package::analysis_server/src/operation/operation_analysis.dart::371)\r\n#39     AnalysisServer.performOperation (package::analysis_server/src/analysis_server.dart::807)\r\n#40     Future.Future.<anonymous closure> (dart::async/future.dart::118)\r\n#41     _rootRun (dart::async/zone.dart::903)\r\n#42     _CustomZone.run (dart::async/zone.dart::802)\r\n#43     _CustomZone.runGuarded (dart::async/zone.dart::708)\r\n#44     _CustomZone.bindCallback.<anonymous closure> (dart::async/zone.dart::733)\r\n#45     _rootRun (dart::async/zone.dart::907)\r\n#46     _CustomZone.run (dart::async/zone.dart::802)\r\n#47     _CustomZone.runGuarded (dart::async/zone.dart::708)\r\n#48     _CustomZone.bindCallback.<anonymous closure> (dart::async/zone.dart::733)\r\n#49     Timer._createTimer.<anonymous closure> (dart::async-patch/timer_patch.dart::16)\r\n#50     _Timer._runTimers (dart::isolate-patch/timer_impl.dart::385)\r\n#51     _Timer._handleMessage (dart::isolate-patch/timer_impl.dart::414)\r\n#52     _RawReceivePortImpl._handleMessage (dart::isolate-patch/isolate_patch.dart\r\nOriginal message:\r\n{\"event\"::\"server.error\",\"params\"::{\"isFatal\"::false,\"message\"::\"Task failed:: GatherUsedImportedElementsTask for source ...\",\"stackTrace\"::\"Unexpected exception while performing GatherUsedImportedElementsTask for source ...\r\n#0      AnalysisTask._safelyPerform (package::analyzer/task/model.dart::320)\r\n#1      AnalysisTask.perform (package::analyzer/task/model.dart::210)\r\n#2      AnalysisDriver.performWorkItem (package::analyzer/src/task/driver.dart::271)\r\n#3      AnalysisDriver.performAnalysisTask (package::analyzer/src/task/driver.dart::246)\r\n#4      AnalysisContextImpl.performAnalysisTask.<anonymous closure> (package::analyzer/src/context/context.dart::1068)\r\n#5      _PerformanceTagImpl.makeCurrentWhile (package::analyzer/src/generated/utilities_general.dart::194)\r\n#6      AnalysisContextImpl.performAnalysisTask (package::analyzer/src/context/context.dart::1066)\r\n#7      PerformAnalysisOperation.perform (package::analysis_server/src/operation/operation_analysis.dart::371)\r\n#8      AnalysisServer.performOperation (package::analysis_server/src/analysis_server.dart::807)\r\n#9      Future.Future.<anonymous closure> (dart::async/future.dart::118)\r\n#10     _rootRun (dart::async/zone.dart::903)\r\n#11     _CustomZone.run (dart::async/zone.dart::802)\r\n#12     _CustomZone.runGuarded (dart::async/zone.dart::708)\r\n#13     _CustomZone.bindCallback.<anonymous closure> (dart::async/zone.dart::733)\r\n#14     _rootRun (dart::async/zone.dart::907)\r\n#15     _CustomZone.run (dart::async/zone.dart::802)\r\n#16     _CustomZone.runGuarded (dart::async/zone.dart::708)\r\n#17     _CustomZone.bindCallback.<anonymous closure> (dart::async/zone.dart::733)\r\n#18     Timer._createTimer.<anonymous closure> (dart::async-patch/timer_patch.dart::16)\r\n#19     _Timer._runTimers (dart::isolate-patch/timer_impl.dart::385)\r\n#20     _Timer._handleMessage (dart::isolate-patch/timer_impl.dart::414)\r\n#21     _RawReceivePortImpl._handleMessage (dart::isolate-patch/isolate_patch.dart::148)\r\n\r\nCaused by UnsupportedOperationException:: ... does not exist. null\r\n#0      NonExistingSource.encoding (package::analyzer/src/generated/source.dart::357)\r\n#1      CompilationUnitElementImpl.identifier (package::analyzer/src/dart/element/element.dart::1028)\r\n#2      ElementLocationImpl.ElementLocationImpl.con1 (package::analyzer/src/dart/element/element.dart::2039)\r\n#3      ElementImpl.location (package::analyzer/src/dart/element/element.dart::1813)\r\n#4      ElementImpl.== (package::analyzer/src/dart/element/element.dart::1868)\r\n#5      _HashSet._equals (dart::collection-patch/collection_patch.dart::561)\r\n#6      _HashSet.add (dart::collection-patch/collection_patch.dart::602)\r\n#7      GatherUsedImportedElementsVisitor._visitIdentifier (package::analyzer/src/generated/resolver.dart::4821)\r\n#8      GatherUsedImportedElementsVisitor.visitSimpleIdentifier (package::analyzer/src/generated/resolver.dart::4786)\r\n#9      SimpleIdentifier.accept (package::analyzer/src/generated/ast.dart::10023)\r\n#10     AstNode._safelyVisitChild (package::analyzer/src/generated/ast.dart::1110)\r\n#11     TypeName.visitChildren (package::analyzer/src/generated/ast.dart::11540)\r\n#12     RecursiveAstVisitor.visitTypeName (package::analyzer/dart/ast/visitor.dart::1114)\r\n#13     TypeName.accept (package::analyzer/src/generated/ast.dart::11536)\r\n#14     AstNode._safelyVisitChild (package::analyzer/src/generated/ast.dart::1110)\r\n#15     VariableDeclarationList.visitChildren (package::analyzer/src/generated/ast.dart::12051)\r\n#16     RecursiveAstVisitor.visitVariableDeclarationList (package::analyzer/dart/ast/visitor.dart::1138)\r\n#17     VariableDeclarationList.accept (package::analyzer/src/generated/ast.dart::12046)\r\n#18     AstNode._safelyVisitChild (package::analyzer/src/generated/ast.dart::1110)\r\n#19     FieldDeclaration.visitChildren (package::analyzer/src/generated/ast.dart::4820)\r\n#20     RecursiveAstVisitor.visitFieldDeclaration (package::analyzer/dart/ast/visitor.dart::747)\r\n#21     FieldDeclaration.accept (package::analyzer/src/generated/ast.dart::4815)\r\n#22     NodeList.accept (package::analyzer/src/generated/ast.dart::8642)\r\n#23     ClassDeclaration.visitChildren (package::analyzer/src/generated/ast.dart::2347)\r\n#24     RecursiveAstVisitor.visitClassDeclaration (package::analyzer/dart/ast/visitor.dart::603)\r\n#25     ClassDeclaration.accept (package::analyzer/src/generated/ast.dart::2277)\r\n#26     NodeList.accept (package::analyzer/src/generated/ast.dart::8642)\r\n#27     CompilationUnit.visitChildren (package::analyzer/src/generated/ast.dart::2903)\r\n#28     RecursiveAstVisitor.visitCompilationUnit (package::analyzer/dart/ast/visitor.dart::627)\r\n#29     CompilationUnit.accept (package::analyzer/src/generated/ast.dart::2896)\r\n#30     GatherUsedImportedElementsTask.internalPerform (package::analyzer/src/task/dart.dart::2694)\r\n#31     AnalysisTask._safelyPerform (package::analyzer/task/model.dart::310)\r\n#32     AnalysisTask.perform (package::analyzer/task/model.dart::210)\r\n#33     AnalysisDriver.performWorkItem (package::analyzer/src/task/driver.dart::271)\r\n#34     AnalysisDriver.performAnalysisTask (package::analyzer/src/task/driver.dart::246)\r\n#35     AnalysisContextImpl.performAnalysisTask.<anonymous closure> (package::analyzer/src/context/context.dart::1068)\r\n#36     _PerformanceTagImpl.makeCurrentWhile (package::analyzer/src/generated/utilities_general.dart::194)\r\n#37     AnalysisContextImpl.performAnalysisTask (package::analyzer/src/context/context.dart::1066)\r\n#38     PerformAnalysisOperation.perform (package::analysis_server/src/operation/operation_analysis.dart::371)\r\n#39     AnalysisServer.performOperation (package::analysis_server/src/analysis_server.dart::807)\r\n#40     Future.Future.<anonymous closure> (dart::async/future.dart::118)\r\n#41     _rootRun (dart::async/zone.dart::903)\r\n#42     _CustomZone.run (dart::async/zone.dart::802)\r\n#43     _CustomZone.runGuarded (dart::async/zone.dart::708)\r\n#44     _CustomZone.bindCallback.<anonymous closure> (dart::async/zone.dart::733)\r\n#45     _rootRun (dart::async/zone.dart::907)\r\n#46     _CustomZone.run (dart::async/zone.dart::802)\r\n#47     _CustomZone.runGuarded (dart::async/zone.dart::708)\r\n#48     _CustomZone.bindCallback.<anonymous closure> (dart::async/zone.dart::733)\r\n#49     Timer._createTimer.<anonymous closure> (dart::async-patch/timer_patch.dart::16)\r\n#50     _Timer._runTimers (dart::isolate-patch/timer_impl.dart::385)\r\n#51     _Timer._handleMessage (dart::isolate-patch/timer_impl.dart::414)\r\n#52     _RawReceivePortImpl._handleMessage (dart::isolate-patch/isolate_patch.dart::148)\r\n\r\n\"}}, \r\n```"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/182090676","html_url":"https://github.com/dart-lang/sdk/issues/25693#issuecomment-182090676","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/25693","id":182090676,"user":{"login":"bwilkerson","id":5840555,"avatar_url":"https://avatars.githubusercontent.com/u/5840555?v=3","gravatar_id":"","url":"https://api.github.com/users/bwilkerson","html_url":"https://github.com/bwilkerson","followers_url":"https://api.github.com/users/bwilkerson/followers","following_url":"https://api.github.com/users/bwilkerson/following{/other_user}","gists_url":"https://api.github.com/users/bwilkerson/gists{/gist_id}","starred_url":"https://api.github.com/users/bwilkerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwilkerson/subscriptions","organizations_url":"https://api.github.com/users/bwilkerson/orgs","repos_url":"https://api.github.com/users/bwilkerson/repos","events_url":"https://api.github.com/users/bwilkerson/events{/privacy}","received_events_url":"https://api.github.com/users/bwilkerson/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T21:45:34Z","updated_at":"2016-02-09T21:45:34Z","body":"https://codereview.chromium.org/1681153002/"}}