Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

The compiler crashed: NoSuchMethodError: The method '&' was called on null. #43311

Open
lyetor opened this issue Sep 2, 2020 · 0 comments
Open
Labels
area-front-end Use area-front-end for front end / CFE / kernel format related issues.

Comments

@lyetor
Copy link

lyetor commented Sep 2, 2020

OS: Ubuntu 16.04

Dart SDK build number (2.10.0-77.0.dev)

The compiler crashed: NoSuchMethodError: The method '&' was called on null.
Receiver: null
Tried calling: &(7)
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1 BinaryPrinter.visitVariableGet (package:kernel/binary/ast_to_binary.dart:1376:15)
#2 VariableGet.accept (package:kernel/ast.dart:3150:44)
#3 BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:382:10)
#4 BinaryPrinter.visitPropertyGet (package:kernel/binary/ast_to_binary.dart:1413:5)
#5 PropertyGet.accept (package:kernel/ast.dart:3264:44)
#6 BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:382:10)
#7 BinaryPrinter.visitPropertyGet (package:kernel/binary/ast_to_binary.dart:1413:5)
#8 PropertyGet.accept (package:kernel/ast.dart:3264:44)
#9 BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:382:10)
#10 BinaryPrinter.visitConditionalExpression (package:kernel/binary/ast_to_binary.dart:1572:5)
#11 ConditionalExpression.accept (package:kernel/ast.dart:4405:44)
#12 BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:382:10)
#13 BinaryPrinter.visitLet (package:kernel/binary/ast_to_binary.dart:1782:5)
#14 Let.accept (package:kernel/ast.dart:5659:44)
#15 BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:382:10)
#16 BinaryPrinter.writeOptionalNode (package:kernel/binary/ast_to_binary.dart:475:7)
#17 BinaryPrinter.writeVariableDeclaration (package:kernel/binary/ast_to_binary.dart:2036:5)
#18 BinaryPrinter.visitVariableDeclaration (package:kernel/binary/ast_to_binary.dart:2022:5)
#19 VariableDeclaration.accept (package:kernel/ast.dart:6987:43)
#20 BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:382:10)
#21 BinaryPrinter.writeNodeList (package:kernel/binary/ast_to_binary.dart:292:7)
#22 BinaryPrinter.visitBlock (package:kernel/binary/ast_to_binary.dart:1834:5)
#23 Block.accept (package:kernel/ast.dart:5873:43)
#24 BinaryPrinter.writeNode (package:kernel/binary/ast_to_binary.dart:382:10)
#25 BinaryPrinter.writeOptionalNode (package:kernel/binary/ast_to_binary.dart:475:7)
#26 BinaryPrinter.visitFunctionNode (package:kernel/binary/ast_to_binary.dart:1358:5)
#27 FunctionNode.accept (package:kernel/ast.dart:2932:38)
#28 BinaryPrinter.writeFunctionNode (package:kernel/binary/ast_to_binary.dart:389:10)
#29 BinaryPrinter.writeOptionalFunctionNode (package:kernel/binary/ast_to_binary.dart:484:7)
#30 BinaryPrinter.visitProcedure (package:kernel/binary/ast_to_binary.dart:1234:5)
#31 Procedure.accept (package:kernel/ast.dart:2423:40)
#32 BinaryPrinter.writeProcedureNode (package:kernel/binary/ast_to_binary.dart:410:10)
#33 BinaryPrinter.writeProcedureNodeList (package:kernel/binary/ast_to_binary.dart:301:7)
#34 BinaryPrinter.visitClass (package:kernel/binary/ast_to_binary.dart:1143:5)
#35 Class.accept (package:kernel/ast.dart:1379:38)
#36 BinaryPrinter.writeClassNode (package:kernel/binary/ast_to_binary.dart:424:10)
#37 BinaryPrinter.writeClassNodeList (package:kernel/binary/ast_to_binary.dart:319:7)
#38 BinaryPrinter.visitLibrary (package:kernel/binary/ast_to_binary.dart:973:5)
#39 Library.accept (package:kernel/ast.dart:607:38)
#40 BinaryPrinter.writeLibraryNode (package:kernel/binary/ast_to_binary.dart:403:10)
#41 BinaryPrinter.writeLibraries (package:kernel/binary/ast_to_binary.dart:710:9)
#42 BinaryPrinter.writeComponentFile.
(package:kernel/binary/ast_to_binary.dart:553:7)
#43 Timeline.timeSync (dart:developer/timeline.dart:163:22)
#44 BinaryPrinter.writeComponentFile (package:kernel/binary/ast_to_binary.dart:536:14)
#45 KernelLoaderTask.load..
(package:compiler/src/kernel/loader.dart:198:19)
#46 CompilerTask.measureSubtask (package:compiler/src/common/tasks.dart:181:35)
#47 KernelLoaderTask.load. (package:compiler/src/kernel/loader.dart:191:9)

#48 KernelLoaderTask.load. (package:compiler/src/kernel/loader.dart)
#49 CompilerTask.measure (package:compiler/src/common/tasks.dart:66:51)
#50 KernelLoaderTask.load (package:compiler/src/kernel/loader.dart:60:12)
#51 Compiler.runInternal (package:compiler/src/compiler.dart:247:48)
#52 Compiler.run..
(package:compiler/src/compiler.dart:221:38)
#53 new Future.sync (dart:async/future.dart:223:31)
#54 Compiler.run. (package:compiler/src/compiler.dart:221:20)
#55 CompilerTask.measureSubtask (package:compiler/src/common/tasks.dart:181:35)
#56 Compiler.run (package:compiler/src/compiler.dart:218:41)
#57 CompilerImpl.run..
(package:compiler/src/apiimpl.dart:96:22)
#58 _RootZone.runUnary (dart:async/zone.dart:1450:54)
#59 _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#61 Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#62 Future._completeWithValue (dart:async/future_impl.dart:529:5)
#63 Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#64 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#65 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#66 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#67 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

@keertip keertip added the area-front-end Use area-front-end for front end / CFE / kernel format related issues. label Sep 2, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area-front-end Use area-front-end for front end / CFE / kernel format related issues.
Projects
None yet
Development

No branches or pull requests

2 participants