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

Crash while upgrading to new Flutter plugin on Android Studio #36979

Open
efortuna opened this issue May 15, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@efortuna
Copy link
Contributor

commented May 15, 2019

Analyzer Feedback from IntelliJ

Version information

  • IDEA AI-183.6156.11.34.5522156
  • 2.2.1-edge.cf4444b803a376bb1ad6442e1f09434a4d58167b
  • AI-183.6156.11.34.5522156, JRE 1.8.0_152-release-1343-b01x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14, screens 1440x900 Retina

Exception

Dart analysis server, SDK version 2.2.1-edge.cf4444b803a376bb1ad6442e1f09434a4d58167b, server version 1.26.0, error: Failed to send notification
type 'SpreadElementImpl' is not a subtype of type 'Expression'
#0      FlutterOutlineComputer._createOutline (package:analysis_server/src/flutter/flutter_outline_computer.dart:205:42)
#1      FlutterOutlineComputer._createOutline (package:analysis_server/src/flutter/flutter_outline_computer.dart:197:23)
#2      FlutterOutlineComputer._createOutline (package:analysis_server/src/flutter/flutter_outline_computer.dart:197:23)
#3      FlutterOutlineComputer._createOutline (package:analysis_server/src/flutter/flutter_outline_computer.dart:197:23)
#4      _FlutterOutlineBuilder.visitExpression (package:analysis_server/src/flutter/flutter_outline_computer.dart:378:28)
#5      GeneralizingAstVisitor.visitInstanceCreationExpression (package:analyzer/dart/ast/visitor.dart:370:7)
#6      InstanceCreationExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:5978:15)
#7      ReturnStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:8518:18)
#8      GeneralizingAstVisitor.visitNode (package:analyzer/dart/ast/visitor.dart:438:10)
#9      GeneralizingAstVisitor.visitStatement (package:analyzer/dart/ast/visitor.dart:510:39)
#10     GeneralizingAstVisitor.visitReturnStatement (package:analyzer/dart/ast/visitor.dart:482:51)
#11     ReturnStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:8514:49)
#12     NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7550:20)
#13     BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1121:17)
#14     GeneralizingAstVisitor.visitNode (package:analyzer/dart/ast/visitor.dart:438:10)
#15     GeneralizingAstVisitor.visitStatement (package:analyzer/dart/ast/visitor.dart:510:39)
#16     GeneralizingAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:165:31)
#17     BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1117:49)
#18     BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1076:13)
#19     GeneralizingAstVisitor.visitNode (package:analyzer/dart/ast/visitor.dart:438:10)
#20     GeneralizingAstVisitor.visitFunctionBody (package:analyzer/dart/ast/visitor.dart:317:45)
#21     GeneralizingAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:168:55)
#22     BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1072:49)
#23     MethodDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:6990:12)
#24     GeneralizingAstVisitor.visitNode (package:analyzer/dart/ast/visitor.dart:438:10)
#25     GeneralizingAstVisitor.visitAnnotatedNode (package:analyzer/dart/ast/visitor.dart:137:47)
#26     GeneralizingAstVisitor.visitDeclaration (package:analyzer/dart/ast/visitor.dart:230:43)
#27     GeneralizingAstVisitor.visitClassMember (package:analyzer/dart/ast/visitor.dart:186:43)
#28     GeneralizingAstVisitor.visitMethodDeclaration (package:analyzer/dart/ast/visitor.dart:412:55)
#29     MethodDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:6981:49)
#30     NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7550:20)
#31     ClassDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1590:13)
#32     GeneralizingAstVisitor.visitNode (package:analyzer/dart/ast/visitor.dart:438:10)
#33     GeneralizingAstVisitor.visitAnnotatedNode (package:analyzer/dart/ast/visitor.dart:137:47)
#34     GeneralizingAstVisitor.visitDeclaration (package:analyzer/dart/ast/visitor.dart:230:43)
#35     GeneralizingAstVisitor.visitCompilationUnitMember (package:analyzer/dart/ast/visitor.dart:205:7)
#36     GeneralizingAstVisitor.visitNamedCompilationUnitMember (package:analyzer/dart/ast/visitor.dart:423:7)
#37     GeneralizingAstVisitor.visitClassDeclaration (package:analyzer/dart/ast/visitor.dart:184:7)
#38     ClassDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:1560:49)
#39     NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7550:20)
#40     CompilationUnitImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:2168:21)
#41     GeneralizingAstVisitor.visitNode (package:analyzer/dart/ast/visitor.dart:438:10)
#42     GeneralizingAstVisitor.visitCompilationUnit (package:analyzer/dart/ast/visitor.dart:202:51)
#43     CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2147:49)
#44     FlutterOutlineComputer.compute (package:analysis_server/src/flutter/flutter_outline_computer.dart:66:23)
#45     sendFlutterNotificationOutline.<anonymous closure> (package:analysis_server/src/flutter/flutter_notifications.dart:14:48)
#46     _sendNotification.<anonymous closure> (package:analysis_server/src/flutter/flutter_notifications.dart:31:8)
#47     _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15)
#48     _sendNotification (package:analysis_server/src/flutter/flutter_notifications.dart:29:39)
#49     sendFlutterNotificationOutline (package:analysis_server/src/flutter/flutter_notifications.dart:12:3)
#50     ServerContextManagerCallbacks.addAnalysisDriver.<anonymous closure>.<anonymous closure> (package:analysis_server/src/analysis_server.dart:899:13)
#51     new Future.<anonymous closure> (dart:async/future.dart:176:37)
#52     _rootRun (dart:async/zone.dart:1120:38)
#53     _CustomZone.run (dart:async/zone.dart:1021:19)
#54     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#55     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#56     _rootRun (dart:async/zone.dart:1124:13)
#57     _CustomZone.run (dart:async/zone.dart:1021:19)
#58     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#59     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:21:15)
#60     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19)
#61     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
#62     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)

For additional log information, please append the contents of
file:///private/var/folders/wb/fr0fj40n1w31r4dfpp15z9zh003fdq/T/report.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.