Exception while using a UseFullHexValuesForFlutterColors #39234
Labels
analyzer-crash-report
Issues which have been reported due to an analysis server crash
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Analyzer Feedback from IntelliJ
Version information
IDEA AI-191.8026.42.35.5900203
2.5.0-edge.1ef83b86ae637ffe7359173804cbc6d3fa25e6db
AI-191.8026.42.35.5900203, JRE 1.8.0_202-release-1483-b49-5587405x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14.6, screens 2048x1152, 1680x1050 Retina
Exception
For additional log information, please append the contents of
file:///private/var/folders/np/gmysjh1j2159hv7wssjzrw440028jd/T/report.txt.
Dart analysis server, SDK version 2.5.0-edge.1ef83b86ae637ffe7359173804cbc6d3fa25e6db, server version 1.27.2, error: Exception while using a UseFullHexValuesForFlutterColors to visit a InstanceCreationExpressionImpl in NamedExpressionImpl in ArgumentListImpl in InstanceCreationExpressionImpl in NamedExpressionImpl in ArgumentListImpl in InstanceCreationExpressionImpl in NamedExpressionImpl in ArgumentListImpl in InstanceCreationExpressionImpl in NamedExpressionImpl in ArgumentListImpl in InstanceCreationExpressionImpl in ReturnStatementImpl in BlockImpl in BlockFunctionBodyImpl in MethodDeclarationImpl in ClassDeclarationImpl in CompilationUnitImpl
Bad state: No element
#0 ListMixin.first (dart:collection/list.dart:76:22)
#1 _Visitor.visitInstanceCreationExpression (package:linter/src/rules/use_full_hex_values_for_flutter_colors.dart:58:52)
#2 InstanceCreationExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:6180:15)
#3 LinterVisitor._runSubscriptions (package:analyzer/src/lint/linter_visitor.dart:713:14)
#4 LinterVisitor.visitInstanceCreationExpression (package:analyzer/src/lint/linter_visitor.dart:383:5)
#5 InstanceCreationExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:6180:15)
#6 NamedExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:7429:18)
#7 RecursiveAstVisitor.visitNamedExpression (package:analyzer/dart/ast/visitor.dart:1079:10)
#8 LinterVisitor.visitNamedExpression (package:analyzer/src/lint/linter_visitor.dart:468:11)
#9 NamedExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:7424:49)
#10 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7670:20)
#11 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16)
#12 RecursiveAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:623:10)
#13 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49)
#14 InstanceCreationExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:6186:20)
#15 RecursiveAstVisitor.visitInstanceCreationExpression (package:analyzer/dart/ast/visitor.dart:995:10)
#16 LinterVisitor.visitInstanceCreationExpression (package:analyzer/src/lint/linter_visitor.dart:384:11)
#17 InstanceCreationExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:6180:15)
#18 NamedExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:7429:18)
#19 RecursiveAstVisitor.visitNamedExpression (package:analyzer/dart/ast/visitor.dart:1079:10)
#20 LinterVisitor.visitNamedExpression (package:analyzer/src/lint/linter_visitor.dart:468:11)
#21 NamedExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:7424:49)
#22 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7670:20)
#23 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16)
#24 RecursiveAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:623:10)
#25 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49)
#26 InstanceCreationExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:6186:20)
#27 RecursiveAstVisitor.visitInstanceCreationExpression (package:analyzer/dart/ast/visitor.dart:995:10)
#28 LinterVisitor.visitInstanceCreationExpression (package:analyzer/src/lint/linter_visitor.dart:384:11)
#29 InstanceCreationExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:6180:15)
#30 NamedExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:7429:18)
#31 RecursiveAstVisitor.visitNamedExpression (package:analyzer/dart/ast/visitor.dart:1079:10)
#32 LinterVisitor.visitNamedExpression (package:analyzer/src/lint/linter_visitor.dart:468:11)
#33 NamedExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:7424:49)
#34 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7670:20)
#35 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16)
#36 RecursiveAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:623:10)
#37 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49)
#38 InstanceCreationExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:6186:20)
#39 RecursiveAstVisitor.visitInstanceCreationExpression (package:analyzer/dart/ast/visitor.dart:995:10)
#40 LinterVisitor.visitInstanceCreationExpression (package:analyzer/src/lint/linter_visitor.dart:384:11)
#41 InstanceCreationExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:6180:15)
#42 NamedExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:7429:18)
#43 RecursiveAstVisitor.visitNamedExpression (package:analyzer/dart/ast/visitor.dart:1079:10)
#44 LinterVisitor.visitNamedExpression (package:analyzer/src/lint/linter_visitor.dart:468:11)
#45 NamedExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:7424:49)
#46 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7670:20)
#47 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:377:16)
#48 RecursiveAstVisitor.visitArgumentList (package:analyzer/dart/ast/visitor.dart:623:10)
#49 ArgumentListImpl.accept (package:analyzer/src/dart/ast/ast.dart:373:49)
#50 InstanceCreationExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:6186:20)
#51 RecursiveAstVisitor.visitInstanceCreationExpression (package:analyzer/dart/ast/visitor.dart:995:10)
#52 LinterVisitor.visitInstanceCreationExpression (package:analyzer/src/lint/linter_visitor.dart:384:11)
#53 InstanceCreationExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:6180:15)
#54 ReturnStatementImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:8638:18)
#55 RecursiveAstVisitor.visitReturnStatement (package:analyzer/dart/ast/visitor.dart:1164:10)
#56 LinterVisitor.visitReturnStatement (package:analyzer/src/lint/linter_visitor.dart:541:11)
#57 ReturnStatementImpl.accept (package:analyzer/src/dart/ast/ast.dart:8634:49)
#58 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7670:20)
#59 BlockImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1115:17)
#60 RecursiveAstVisitor.visitBlock (package:analyzer/dart/ast/visitor.dart:665:10)
#61 LinterVisitor.visitBlock (package:analyzer/src/lint/linter_visitor.dart:66:11)
#62 BlockImpl.accept (package:analyzer/src/dart/ast/ast.dart:1111:49)
#63 BlockFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1070:13)
#64 RecursiveAstVisitor.visitBlockFunctionBody (package:analyzer/dart/ast/visitor.dart:671:10)
#65 LinterVisitor.visitBlockFunctionBody (package:analyzer/src/lint/linter_visitor.dart:72:11)
#66 BlockFunctionBodyImpl.accept (package:analyzer/src/dart/ast/ast.dart:1066:49)
#67 MethodDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:7110:12)
#68 RecursiveAstVisitor.visitMethodDeclaration (package:analyzer/dart/ast/visitor.dart:1061:10)
#69 LinterVisitor.visitMethodDeclaration (package:analyzer/src/lint/linter_visitor.dart:450:11)
#70 MethodDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7101:49)
#71 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7670:20)
#72 ClassDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:1584:13)
#73 RecursiveAstVisitor.visitClassDeclaration (package:analyzer/dart/ast/visitor.dart:701:10)
#74 LinterVisitor.visitClassDeclaration (package:analyzer/src/lint/linter_visitor.dart:102:11)
#75 ClassDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:1554:49)
#76 NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7670:20)
#77 CompilationUnitImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:2161:21)
#78 RecursiveAstVisitor.visitCompilationUnit (package:analyzer/dart/ast/visitor.dart:725:10)
#79 LinterVisitor.visitCompilationUnit (package:analyzer/src/lint/linter_visitor.dart:126:11)
#80 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2140:49)
#81 LibraryAnalyzer._computeLints (package:analyzer/src/dart/analysis/library_analyzer.dart:353:10)
#82 LibraryAnalyzer.analyzeSync. (package:analyzer/src/dart/analysis/library_analyzer.dart:206:11)
#83 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15)
#84 LibraryAnalyzer.analyzeSync (package:analyzer/src/dart/analysis/library_analyzer.dart:201:35)
#85 LibraryAnalyzer.analyze. (package:analyzer/src/dart/analysis/library_analyzer.dart:115:14)
#86 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:258:15)
#87 LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:114:43)
#88 AnalysisDriver._computeAnalysisResult. (package:analyzer/src/dart/analysis/driver.dart:1259:63)
#89 PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:34:15)
#90 AnalysisDriver._computeAnalysisResult (package:analyzer/src/dart/analysis/driver.dart:1235:20)
#91 AnalysisDriver.performWork (package:analyzer/src/dart/analysis/driver.dart:1045:17)
#92 AnalysisDriverScheduler._run (package:analyzer/src/dart/analysis/driver.dart:1921:24)
#93 AnalysisDriverScheduler.start (package:analyzer/src/dart/analysis/driver.dart:1855:5)
#94 new AnalysisServer (package:analysis_server/src/analysis_server.dart:212:29)
#95 SocketServer.createAnalysisServer (package:analysis_server/src/socket_server.dart:86:26)
#96 StdioAnalysisServer.serveStdio (package:analysis_server/src/server/stdio_server.dart:37:18)
#97 Driver.startAnalysisServer. (package:analysis_server/src/server/driver.dart:572:21)
#98 _rootRun (dart:async/zone.dart:1124:13)
#99 _CustomZone.run (dart:async/zone.dart:1021:19)
#100 _runZoned (dart:async/zone.dart:1516:10)
#101 runZoned (dart:async/zone.dart:1463:12)
#102 Driver._captureExceptions (package:analysis_server/src/server/driver.dart:689:12)
#103 Driver.startAnalysisServer (package:analysis_server/src/server/driver.dart:570:7)
#104 Driver.start. (package:analysis_server/src/server/driver.dart:474:9)
#105 _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#106 Driver.start. (package:analysis_server/src/server/driver.dart:469:43)
#107 CompilerContext.runInContext.. (package:front_end/src/fasta/compiler_context.dart:122:46)
#108 new Future.sync (dart:async/future.dart:224:31)
#109 CompilerContext.runInContext. (package:front_end/src/fasta/compiler_context.dart:122:19)
#110 _rootRun (dart:async/zone.dart:1124:13)
#111 _CustomZone.run (dart:async/zone.dart:1021:19)
#112 _runZoned (dart:async/zone.dart:1516:10)
#113 runZoned (dart:async/zone.dart:1463:12)
#114 CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:121:12)
#115 CompilerContext.runWithDefaultOptions (package:front_end/src/fasta/compiler_context.dart:140:56)
#116 Driver.start (package:analysis_server/src/server/driver.dart:469:21)
#117 main (file:///b/s/w/ir/k/src/third_party/dart/pkg/analysis_server/bin/server.dart:12:11)
#118 _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#119 main (file:///b/s/w/ir/k/src/third_party/dart/pkg/analysis_server/bin/server.dart:10:10)
#120 _startIsolate. (dart:isolate-patch/isolate_patch.dart:303:32)
#121 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
The text was updated successfully, but these errors were encountered: