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
Terminal crashes with "[ERROR] tid:75 in 'OnListenTaskCompleted' C:\PowerShellEditorServices\src\PowerShellEditorServices.Protocol\MessageProtocol\ProtocolEndpoint.cs: line 391"
#1689
PowerShell integrated terminal crashing. The log contains the same error each time:
[ERROR] tid:75 in 'OnListenTaskCompleted' C:\PowerShellEditorServices\src\PowerShellEditorServices.Protocol\MessageProtocol\ProtocolEndpoint.cs: line 391
ProtocolEndpoint message loop terminated due to unhandled exception:
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.PowerShell.EditorServices.Workspace.RecursivelyFindReferences(ScriptFile scriptFile, Dictionary`2 referencedScriptFiles)
at Microsoft.PowerShell.EditorServices.Workspace.ExpandScriptReferences(ScriptFile scriptFile)
at Microsoft.PowerShell.EditorServices.LanguageService.<GetDefinitionOfSymbol>d__19.MoveNext()
Expected Behaviour
Hoping the terminal to be more stable, pain to have to keep restarting it.
Actual Behaviour
I don't have a solid repro but it happens a lot, seems to happen more when I am trying to select text in the editor to execute with F8. When I try to highlight from the top-down (for example line 10 to line 20) nothing happens, so I try to highlight from the bottom-up (for example line 20 to line 10). This might be coincidence but the terminal crash seems to happen shortly after that.
System Details
VSCode version: 1.30.1 dea8705087adb1b5e5ae1d9123278e178656186a ia32
VSCode extensions:
DotJoshJohnson.xml@2.4.0
ms-azuretools.vscode-azurefunctions@0.13.1
ms-vscode.azure-account@0.8.0
ms-vscode.csharp@1.17.1
ms-vscode.PowerShell@1.10.2
PSES version: 1.10.2.0
PowerShell version:
Name Value
PSVersion 5.1.17763.134
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.134
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
PowerShell integrated terminal crashing. The log contains the same error each time:
Expected Behaviour
Hoping the terminal to be more stable, pain to have to keep restarting it.
Actual Behaviour
I don't have a solid repro but it happens a lot, seems to happen more when I am trying to select text in the editor to execute with F8. When I try to highlight from the top-down (for example line 10 to line 20) nothing happens, so I try to highlight from the bottom-up (for example line 20 to line 10). This might be coincidence but the terminal crash seems to happen shortly after that.
Attached Logs
EditorServices.log
The text was updated successfully, but these errors were encountered: