You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these error logs were produced using a special build of SLVS, with the kind assistance of the user who reported the issue.
Log 1
SonarLint.VisualStudio.Integration.ErrorListInfoBarController: Unexpected error: System.NullReferenceException: Object reference not set to an instance of an object.
at SonarLint.VisualStudio.Integration.Binding.JsTsProjectTypeIndicator.HasJsTsFileInProject(ProjectItems projectItems)
at SonarLint.VisualStudio.Integration.Binding.JsTsProjectTypeIndicator.IsJsTs(Project dteProject)
at SonarLint.VisualStudio.Integration.ProjectToLanguageMapper.GetLanguagesInProject(Project dteProject)
at SonarLint.VisualStudio.Integration.ProjectToLanguageMapper.GetAllBindingLanguagesForProject(Project dteProject)
at SonarLint.VisualStudio.Integration.ProjectToLanguageMapper.HasSupportedLanguage(Project project)
at SonarLint.VisualStudio.Integration.ProjectSystemHelper.<GetSolutionProjects>d__15.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at SonarLint.VisualStudio.Integration.UnboundProjectFinder.<>c__DisplayClass10_0.<GetFilteredSolutionProjectsAsync>b__0()
Log 2
This same problem also affects the telemetry manager:
DEBUG: [CFamilyTelemetryManager] Failed to calculate cfamily project types: System.NullReferenceException: Object reference not set to an instance of an object.
at SonarLint.VisualStudio.Integration.Binding.JsTsProjectTypeIndicator.HasJsTsFileInProject(ProjectItems projectItems)
at SonarLint.VisualStudio.Integration.Binding.JsTsProjectTypeIndicator.IsJsTs(Project dteProject)
at SonarLint.VisualStudio.Integration.ProjectToLanguageMapper.GetLanguagesInProject(Project dteProject)
at SonarLint.VisualStudio.Integration.ProjectToLanguageMapper.GetAllBindingLanguagesForProject(Project dteProject)
at SonarLint.VisualStudio.Integration.ProjectToLanguageMapper.HasSupportedLanguage(Project project)
at SonarLint.VisualStudio.Integration.ProjectSystemHelper.<GetSolutionProjects>d__15.MoveNext()
at SonarLint.VisualStudio.Integration.Vsix.CFamily.VcxProject.VcxProjectTypeIndicator.GetProjectTypes()
at SonarLint.VisualStudio.Integration.Telemetry.CFamilyTelemetryManager.CollectVcxUsage()
at SonarLint.VisualStudio.Integration.Telemetry.CFamilyTelemetryManager.UpdateTelemetry()
The text was updated successfully, but these errors were encountered:
rita-gorokhod
changed the title
Error binding solution containing JS/TS project
Error binding solution when checking if a project contains JS/TS files
Nov 22, 2022
Description
A null-ref exception occurs during binding, preventing the binding operation from succeeding.
Source: this community forum thread.
Error logs
Note: these error logs were produced using a special build of SLVS, with the kind assistance of the user who reported the issue.
Log 1
Log 2
This same problem also affects the telemetry manager:
The text was updated successfully, but these errors were encountered: