With the new update I can't open any of the Lightning components in one of my projects. The project loads fine but when I try to open any of the files in any bundle I get an Object reference not set to instance of object. Other projects are fine so it's something about this one.
There are two errors in the log around the time of the error:
2017/05/24 10:02:11.332 [WARN] [20] System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: position
at Microsoft.VisualStudio.Text.Implementation.BinaryStringRebuilder.GetLineNumberFromPosition(Int32 position)
at Microsoft.VisualStudio.Text.Implementation.TextSnapshot.GetLineFromPosition(Int32 position)
at WelkinSuite.ApexCodeAssistance.Implementation.Outlining.OutliningTagger.UpdateRegions()
at WelkinSuite.ApexCodeAssistance.Implementation.Outlining.OutliningTagger.ReflectionChangedHandler(Object sender, ChangeMessage change)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at WelkinSuite.ApexCodeAnalyzers.Prospector.Repository.ReflectionRepository.OnReflectionChanged(ChangeMessage e)
at WelkinSuite.ApexCodeAnalyzers.Prospector.Repository.ReflectionRepository.ProcessChange()
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: position
at Microsoft.VisualStudio.Text.Implementation.BinaryStringRebuilder.GetLineNumberFromPosition(Int32 position)
at Microsoft.VisualStudio.Text.Implementation.TextSnapshot.GetLineFromPosition(Int32 position)
at WelkinSuite.ApexCodeAssistance.Implementation.Outlining.OutliningTagger.UpdateRegions()
at WelkinSuite.ApexCodeAssistance.Implementation.Outlining.OutliningTagger.ReflectionChangedHandler(Object sender, ChangeMessage change)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at WelkinSuite.ApexCodeAnalyzers.Prospector.Repository.ReflectionRepository.OnReflectionChanged(ChangeMessage e)
at WelkinSuite.ApexCodeAnalyzers.Prospector.Repository.ReflectionRepository.ProcessChange()
WelkinSuite.ApexCodeAnalyzers.Prospector.IdentitySource.EditorIdentitySource
2017/05/24 10:20:17.299 [DEBUG] [19] WelkinSuite.ApexCodeAnalyzers.Prospector.AmbiguousReparseException: Ambiguous reparse exception.
at WelkinSuite.ApexCodeAnalyzers.Prospector.ThoroughApexParser.BuildReflectionNode(ParserRuleContext ctx, Int32 offset, SyntaxItemType itemType)
at WelkinSuite.ApexCodeAnalyzers.Prospector.ThoroughApexParser.GetParsedDocument(ReadonlyInterval interval, SyntaxItemType type)
at WelkinSuite.ApexCodeAnalyzers.Prospector.ThoroughApexParser.GetParsedDocument(DirtyRegion region)
at WelkinSuite.ApexCodeAnalyzers.Prospector.IdentitySource.EditorIdentitySource.ProcessSeparatedRegions()
at WelkinSuite.ApexCodeAnalyzers.Prospector.IdentitySource.EditorIdentitySource.DirtyRegionProcessor()
WelkinSuite.ApexCodeAnalyzers.Prospector.AmbiguousReparseException: Ambiguous reparse exception.
at WelkinSuite.ApexCodeAnalyzers.Prospector.ThoroughApexParser.BuildReflectionNode(ParserRuleContext ctx, Int32 offset, SyntaxItemType itemType)
at WelkinSuite.ApexCodeAnalyzers.Prospector.ThoroughApexParser.GetParsedDocument(ReadonlyInterval interval, SyntaxItemType type)
at WelkinSuite.ApexCodeAnalyzers.Prospector.ThoroughApexParser.GetParsedDocument(DirtyRegion region)
at WelkinSuite.ApexCodeAnalyzers.Prospector.IdentitySource.EditorIdentitySource.ProcessSeparatedRegions()
at WelkinSuite.ApexCodeAnalyzers.Prospector.IdentitySource.EditorIdentitySource.DirtyRegionProcessor()
WelkinSuite.ApexCodeAnalyzers.Prospector.Repository.ReflectionRepository
Nothing that seems directly relevant in the ActivityLog but there are some errors trying to load pieces of the VS shell:
Microsoft.VisualStudio.Shell.TreeNavigation.GraphProvider.dll
VsDebugPresentationPackage.dll
Anyone else experiencing this?
Uzzi