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

ObjectDisposedException at AdornmentManager.CreateVisualsAsync #22

Closed
sapsari opened this issue Jul 12, 2023 · 0 comments
Closed

ObjectDisposedException at AdornmentManager.CreateVisualsAsync #22

sapsari opened this issue Jul 12, 2023 · 0 comments
Assignees
Labels
adornment text Inline text visuals bug Something isn't working
Milestone

Comments

@sapsari
Copy link
Collaborator

sapsari commented Jul 12, 2023

System.ObjectDisposedException
Cannot access a disposed object.
Object name: 'FormattedLine'.

Stack:
Crashed in non-app: void FormattedLine.ThrowIfInvalid()
System

D:\Develop\UnityCodeAssist\src\UnityCodeAssist\AdornmentText\AdornmentManager.cs in async Task AdornmentManager.CreateVisualsAsync(ITextViewLine line, int lineNumber) at line 362:25
In App

Assembly:
UnityCodeAssistAdornmentText
Version:
1.1.1.0

Breadcrumb:
exception
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'FormattedLine'.
Error
20:58:14
generic
GetTextViewLineContainingBufferPosition line22:"Microsoft.VisualStudio.Text.Formatting.Implementation.FormattedLine"
debug
20:58:14
generic
GetTextViewLineContainingBufferPosition lineNo:51
debug
20:58:14
generic
UpdateAdornmentControls Pass GetTextViewLineContainingBufferPosition
debug
20:58:14
generic
UpdateAdornmentControls Pass GetLineFromLineNumber
debug
20:58:14
generic
UpdateAdornmentControls Pass LineCount
debug
20:58:14
generic
GetTextViewLineContainingBufferPosition line22:"Microsoft.VisualStudio.Text.Formatting.Implementation.FormattedLine"
debug
20:58:12
generic
GetTextViewLineContainingBufferPosition lineNo:51
debug
20:58:12

@sapsari sapsari self-assigned this Jul 12, 2023
@sapsari sapsari added bug Something isn't working adornment text Inline text visuals labels Jul 12, 2023
@sapsari sapsari added this to the 1.1.3 milestone Jul 12, 2023
@sapsari sapsari closed this as completed Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adornment text Inline text visuals bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant