NPE from findLocalElementReferences in edit.getFixes, 2.6.0-dev.6.0 #39095
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.
Analyzer Feedback from IntelliJ
Version information
IDEA WS-192.6817.13
2.6.0-dev.6.0
WS-192.6817.13, JRE 11.0.4+10-b304.69x64 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.6.0-dev.6.0, server version 1.27.3, FATAL error: Failed to handle request: {id: 53571, method: edit.getFixes, params: {file: /Users/filiph/dev/typopo.dart/lib/src/locale/locale.dart, offset: 8109}, clientRequestTime: 1571893224838}
NoSuchMethodError: The method 'accept' was called on null.
Receiver: null
Tried calling: accept(Instance of '_ElementReferenceCollector')
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1 findLocalElementReferences (package:analysis_server/src/services/correction/util.dart:150:8)
#2 FixProcessor._addFix_removeUnusedLocalVariable (package:analysis_server/src/services/correction/fix_internal.dart:3689:24)
#3 _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#4 FixProcessor._addFix_removeUnusedLocalVariable (package:analysis_server/src/services/correction/fix_internal.dart:3676:49)
#5 FixProcessor.compute (package:analysis_server/src/services/correction/fix_internal.dart:388:13)
#6 _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#7 FixProcessor.compute (package:analysis_server/src/services/correction/fix_internal.dart:205:28)
#8 DartFixContributor.computeFixes (package:analysis_server/src/services/correction/fix_internal.dart:70:41)
#9 _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
#10 DartFixContributor.computeFixes (package:analysis_server/src/services/correction/fix_internal.dart:67:33)
#11 EditDomainHandler._computeDartFixes (package:analysis_server/src/edit/edit_domain.dart:656:46)
#12 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#13 _rootRunUnary (dart:async/zone.dart:1132:38)
#14 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#15 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#16 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#17 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#18 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#19 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#20 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#21 DartFixContributor.computeFixes (package:analysis_server/src/services/correction/fix_internal.dart)
#22 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#23 _rootRunUnary (dart:async/zone.dart:1132:38)
#24 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#25 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#26 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#27 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#28 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#29 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#30 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#31 DartFixContributor._computeFixAllFixes (package:analysis_server/src/services/correction/fix_internal.dart)
#32 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#33 _rootRunUnary (dart:async/zone.dart:1132:38)
#34 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#35 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#36 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#37 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#38 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#39 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#40 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#41 FixProcessor.compute (package:analysis_server/src/services/correction/fix_internal.dart)
#42 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#43 _rootRunUnary (dart:async/zone.dart:1132:38)
#44 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#45 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#46 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#47 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#48 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#49 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#50 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#51 FixProcessor._addFix_insertSemicolon (package:analysis_server/src/services/correction/fix_internal.dart)
#52 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#53 _rootRunUnary (dart:async/zone.dart:1132:38)
#54 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#55 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#56 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#57 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#58 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#59 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#60 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#61 ChangeBuilderImpl.addFileEdit (package:analyzer_plugin/src/utilities/change_builder/change_builder_core.dart)
#62 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#63 _rootRunUnary (dart:async/zone.dart:1132:38)
#64 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#65 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#67 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#68 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#69 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#70 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#71 DartChangeBuilderImpl.createFileEditBuilder (package:analyzer_plugin/src/utilities/change_builder/change_builder_dart.dart)
#72 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#73 _rootRunUnary (dart:async/zone.dart:1132:38)
#74 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#75 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#76 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#77 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#78 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#79 Future._asyncComplete. (dart:async/future_impl.dart:552:7)
#80 _rootRun (dart:async/zone.dart:1124:13)
#81 _CustomZone.run (dart:async/zone.dart:1021:19)
#82 _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#83 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23)
#84 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#85 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#86 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:391:30)
#87 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
#88 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
The text was updated successfully, but these errors were encountered: