Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

NRE in TryFindMissingDependencies #1228

Closed

Description

Microsoft.Python.Analysis.Dependencies.DependencyResolver`2.TryFindMissingDependencies(ImmutableArray`1&, ImmutableArray`1&, Int32) in Analysis\Ast\Impl\Dependencies\DependencyResolver.cs:line 563
Microsoft.Python.Analysis.Dependencies.DependencyResolver`2.TryCreateWalker(Int32, Int32, IDependencyChainWalker`2&) in Analysis\Ast\Impl\Dependencies\DependencyResolver.cs:line 214
Microsoft.Python.Analysis.Analyzer.PythonAnalyzer.TryCreateSession(Int32, PythonAnalyzerEntry, PythonAnalyzerSession&) in Analysis\Ast\Impl\Analyzer\PythonAnalyzer.cs:line 246
Microsoft.Python.Analysis.Analyzer.PythonAnalyzer.AnalyzeDocument(AnalysisModuleKey, PythonAnalyzerEntry, ImmutableArray`1) in Analysis\Ast\Impl\Analyzer\PythonAnalyzer.cs:line 224

Line 563 is just version != _version, neither of which can ever be null (they're int!!!). Happening just as often as the GetBodyStartIndex NRE.

cc Alexander Sher (@AlexanderSher)

Activity

  1. added a commit that references this issue on Jul 9, 2019
    ac79597
  2. added 2 commits that reference this issue on Jul 9, 2019
    5f322f0
    e10d88f
  3. added a commit that references this issue on Jul 11, 2019
    b2c9afb
  4. added a commit that references this issue on Jul 12, 2019
    396ae07
  5. added 2 commits that reference this issue on Sep 16, 2019
    c9b1928
    1a272b8
  6. added 3 commits that reference this issue on Nov 1, 2019
    4310371
    5280d34
    00c1775
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions