Sudocue 2.2.0.0 - Nasty undo bug re. digit placement

Ask your support questions for SudoCue here
Post Reply
PsyMar
Hooked
Hooked
Posts: 32
Joined: Fri Nov 17, 2006 5:32 pm
Location: The Triad, North Carolina, US

Sudocue 2.2.0.0 - Nasty undo bug re. digit placement

Post by PsyMar »

Just downloaded it today, and I'm getting a nasty bug. Specifically, if a cell has a value already placed in it, and I place another value in it (or even if I just accidentally place the same value twice), I get a long and complex error message, I can't undo the move, and I can't make any further moves on the puzzle or download a new puzzle -- I have to close sudocue. If it matters, I'm using ctrl-z to undo.

As a programmer myself, I know saying "there's an error" isn't helpful, so here's a transcript of the error message:

Code: Select all

Error in ProcessCmdKey
System.InvalidOperationException: Operation is not valid due to the current state of the object. 
at Sudoku.Cell.SetValue(Digit NewDigit, CellStatus NewStatus, UserMove um
at Sudoku.Effect.Undo()
at Sudoku.UserMove.Undo()
at Sudoku.Grid.Undo()
at Sudoku.Form1.MenuUndo_Click(Object Sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItem.ShortcutClick()
at System.Windows.Forms.Menu.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
at Sudoku.Form1.ProcessCmdKey(Message& msg, Keys keyData)
Ruud
Site Owner
Site Owner
Posts: 601
Joined: Fri Dec 30, 2005 10:21 pm

Post by Ruud »

Thanks for reporting this bug.

Try not to make any mistakes until I fixed it. :)

Ruud
Post Reply