Page 1 of 1

Invalid State Exception

Posted: Tue Apr 12, 2016 7:38 pm
by Thomas Lohrum
Hi Alex,

i had a crash, not reproducible though.

Attached is an extract of log2.txt.

Thomas

Timestamp Thread Forced Function Details
17:22:1.760787 7340 logging::Log::init Started logging
17:22:1.760787 7340 logging::Log::init App version: 3.1.3, Mar 21 2016
17:22:1.760787 7340 X ui::wndProcCore ERROR:class std::out_of_range
invalid string position

17:23:49.640019 7340 X ui::Window::getHwnd ERROR:ui::Window::getHwnd class ui::Window const *: Cinta.ModelessDialog,
17:23:49.640019 7340 X ui::wndProcCore ERROR:class err::InvalidStateException
ui::Window::getHwnd class ui::Window const *: Cinta.ModelessDialog,

Re: Invalid State Exception

Posted: Thu Apr 14, 2016 5:41 am
by CintaNotes Developer
Hi Thomas,

Thanks for the report!

We've already figured this issue out. It is present in versions 3.1.2 and 3.1.3.
When line trimming is enabled (and, alas, it is enabled by default), note formatting can become corrupt
on note saving.

Here's the fixed version which fixes most of the ramifications. In the worst case, in notes which had whitespace on line ends,
some formatting can become shifted, and there's nothing we can do about it now. You'll have to fix this by hand, one time only.
Sorry for that.

Portable: http://cintanotes.com/files/beta/CintaN ... _Beta1.zip
Installer: http://cintanotes.com/files/beta/CintaN ... _Setup.exe

Re: Invalid State Exception

Posted: Thu Apr 14, 2016 10:30 am
by usbpoweredfridge
I don't suppose there is a way to bulk identify any notes which may have been affected in a DB?

Chris

Re: Invalid State Exception

Posted: Fri Apr 15, 2016 1:16 pm
by CintaNotes Developer
usbpoweredfridge wrote:I don't suppose there is a way to bulk identify any notes which may have been affected in a DB?


There is no automatic way. Very sorry about all this.
The manual way is not that hard, sort by modified date descending, and examine notes changed after Feb 15th.