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

An Unexpected Error: Build 16.4 #6047

Closed
lefig opened this issue Mar 20, 2020 · 3 comments
Closed

An Unexpected Error: Build 16.4 #6047

lefig opened this issue Mar 20, 2020 · 3 comments
Labels

Comments

@lefig
Copy link

lefig commented Mar 20, 2020

Hi there,

I have this infrequent exception to report:

[Window Title]
devenv.exe

[Main Instruction]
An unexpected error occurred

[Content]
Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.

[^] Hide details [Close]

[Expanded Information]

Build: 16.4.19310.1

System.NotSupportedException: version 130 is no longer in memory
   at Microsoft.PythonTools.Intellisense.LocationTracker.GetLineLocations(Int32 version)
   at Microsoft.PythonTools.Intellisense.BufferParser.GetChanges(PythonTextBufferInfo buffer, ITextVersion curVersion)
   at Microsoft.PythonTools.Intellisense.BufferParser.<GetUpdatesForSnapshot>d__45.MoveNext()
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.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 Microsoft.PythonTools.Intellisense.BufferParser.<ParseBuffersAsync>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Infrastructure.VSTaskExtensions.<HandleAllExceptions>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
``
@huguesv
Copy link
Contributor

huguesv commented Mar 24, 2020

Thanks. The work part of #5210 will take care of this.

@lefig
Copy link
Author

lefig commented Mar 26, 2020

Thank you too.

@huguesv
Copy link
Contributor

huguesv commented Jul 6, 2020

We have a few of these filed. I'll close this one as duplicate of #5725

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants