-
Notifications
You must be signed in to change notification settings - Fork 312
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. #821
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
Comments
Could this be the same as #663? |
@a-hohaze can you provide specific repro steps? Not able to repro this on Windows. |
In azure powershell the script here and got 25 errors, all of them variations of System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. Error Log Attached (I copied as much as I could from the screen |
@WiseMack are you on Windows or non-Windows? Is the error when you cut and paste the script from that URL into the console? |
I use PowerShell in a simple manner every day, and today an error very similar to the one listed above began to appear. I simply open PowerShell and type a period ".". PS version: 5.1.17763.134 Oops, something went wrong. Please report this bug with the details below.
|
Environment data
Steps to reproduce or exception report
|
Same here:
I just opened a PowerShell v6.2 session on Windows 10x64, v1809, and maximized the PowerShell window then using ALT+SPACE, X. System Configuration
|
Uh oh!
There was an error while loading. Please reload this page.
PS threw this error and asked to report it here.
Environment data
PS version: 5.1.17763.134
PSReadline version: 2.0.0-beta2
os: 10.0.17763.1 (WinBuild.160101.0800)
PS file version:
Steps to reproduce or exception report
Last 33 Keys:
o v Backspace a v Space UpArrow UpArrow DownArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow
Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: left
Actual value was -1.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.HistoryRecall(Int32 direction)
at Microsoft.PowerShell.PSConsoleReadLine.PreviousHistory(Nullable
1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary
2 dispatchTable, Boolean ignoreIfNoAction, Object arg)at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
The text was updated successfully, but these errors were encountered: