Closed North101 closed 4 years ago
The exception happens on a different file each time so I don't believe its specific to a file
Thanks for the reports!
I think the first error indicates an invalid url somewhere (invalid as in can't be parsed), the stack trace indicates it happened while resolving imports in a moor file. I've changed the resolver to just report an "invalid import" error and move on (debf8b30f43e9154ac846b7d5f46ce984c90659a).
The second error happens when reporting outline information on a file that isn't fully analyzed. The plugin should be able to handle this, I just forgot one case (done with a6e4a3669ce55cbbee1f81479f14aac223e0afd3).
1st: Please review the below report for any information you do not wish to share and report to https://github.com/dart-lang/sdk/issues/new
Exception from analysis server (running from VSCode / Dart Code)
What I was doing
(please describe what you were doing when this exception occurred)
Versions
Analyzer Info
The analyzer was launched using the arguments:
Exception
PLEASE DO NOT REPORT THIS ON dart-lang/sdk! This should be reported via https://github.com/simolus3/moor/issues/new instead. Message was Error while working on file:///Users/alexanderwilde/git/gloomhaven_campaign/lib/sql/lineage.moor, error NoSuchMethodError: The getter 'fullName' was called on null. Receiver: null Tried calling: fullName
Diagnostics requested after the error occurred are:
2nd: Please review the below report for any information you do not wish to share and report to https://github.com/dart-lang/sdk/issues/new
Exception from analysis server (running from VSCode / Dart Code)
What I was doing
(please describe what you were doing when this exception occurred)
Versions
Analyzer Info
The analyzer was launched using the arguments:
Exception
NoSuchMethodError: The method 'firstWhere' was called on null. Receiver: null Tried calling: firstWhere(Closure: (SqlQuery) => bool, orElse: Closure: () => Null)
Diagnostics requested after the error occurred are: