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
When creating a shell task with a command that is finished very quickly (I did dir on Windows), the TerminalWidget prints an error message to the log:
root ERROR Request getCwdURI failed with error: terminal "4" does not exist Error: terminal "4" does not exist
at ShellTerminalServer.<anonymous> (C:\Users\thomas\code\chedev\theia\packages\terminal\lib\node\base-terminal-server.js:158:27)
at step (C:\Users\thomas\code\chedev\theia\packages\terminal\lib\node\base-terminal-server.js:60:23)
at Object.next (C:\Users\thomas\code\chedev\theia\packages\terminal\lib\node\base-terminal-server.js:41:53)
at C:\Users\thomas\code\chedev\theia\packages\terminal\lib\node\base-terminal-server.js:35:71
at new Promise (<anonymous>)
at __awaiter (C:\Users\thomas\code\chedev\theia\packages\terminal\lib\node\base-terminal-server.js:31:12)
at ShellTerminalServer.BaseTerminalServer.getCwdURI (C:\Users\thomas\code\chedev\theia\packages\terminal\lib\node\base-terminal-server.js:153:16)
at JsonRpcProxyFactory.<anonymous> (C:\Users\thomas\code\chedev\theia\packages\core\lib\common\messaging\proxy-factory.js:213:73)
at step (C:\Users\thomas\code\chedev\theia\packages\core\lib\common\messaging\proxy-factory.js:48:23)
at Object.next (C:\Users\thomas\code\chedev\theia\packages\core\lib\common\messaging\proxy-factory.js:29:53)
Debugging through the scenario, I found that there is no real problem happening: it's just the process gets unregistered from the ProcessManager when it ends and the above request happens afterwards. The exception does not seem to have any negative effects on system behavior. I can see the stdout output from the process correctly.
Steps to Reproduce:
Add a 'shell' task to tasks.json just doing dir
Execute it
Observe the exception in the back end log
Additional Information
Operating System: Windows.
Theia Version:
The text was updated successfully, but these errors were encountered:
Bug Description:
When creating a shell task with a command that is finished very quickly (I did
dir
on Windows), the TerminalWidget prints an error message to the log:Debugging through the scenario, I found that there is no real problem happening: it's just the process gets unregistered from the ProcessManager when it ends and the above request happens afterwards. The exception does not seem to have any negative effects on system behavior. I can see the stdout output from the process correctly.
Steps to Reproduce:
dir
Additional Information
The text was updated successfully, but these errors were encountered: