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

NPE from FileSystemState.getFilesForPath (file_state.dart:919) #43074

Open
devoncarew opened this issue Aug 17, 2020 · 0 comments
Open

NPE from FileSystemState.getFilesForPath (file_state.dart:919) #43074

devoncarew opened this issue Aug 17, 2020 · 0 comments
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P4 type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@devoncarew
Copy link
Member

Seen by 1 internal user 10 times:

NoSuchMethodError: The method 'toList' was called on null.
Receiver: null
Tried calling: toList()
	at Object.noSuchMethod	(dart:core)
	at FileSystemState.getFilesForPath	(file_state.dart:919)
	at FileTracker.verifyApiSignature.<fn>	(file_tracker.dart:182)
	at PerformanceLog.run	(performance_logger.dart:34)
	at FileTracker.verifyApiSignature	(file_tracker.dart:173)
	at AnalysisDriver.getFileSync	(driver.dart:596)
	at AnalysisSessionImpl.getFile	(session.dart:115)
	at newDiagnosticMessage	(protocol_server.dart:157)
	at newAnalysisError_fromEngine.<fn>	(protocol_server.dart:136)
	at ListIterable.toList	(dart:_internal)
	at newAnalysisError_fromEngine	(protocol_server.dart:137)
	at mapEngineErrors	(protocol_server.dart:93)
	at doAnalysisError_listFromEngine	(protocol_server.dart:36)
	at ServerContextManagerCallbacks.addAnalysisDriver.<fn>	(analysis_server.dart:679)
@devoncarew devoncarew added the area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. label Aug 17, 2020
@srawlins srawlins added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) P3 A lower priority bug or feature request labels Dec 12, 2021
@srawlins srawlins added P4 and removed P3 A lower priority bug or feature request labels May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P4 type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants