Invalid State Exception

Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Invalid State Exception

Postby Thomas Lohrum » Tue Apr 12, 2016 7:38 pm

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,
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Invalid State Exception

Postby CintaNotes Developer » Thu Apr 14, 2016 5:41 am

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
Alex
User avatar
usbpoweredfridge
Posts: 410
Joined: Fri Jan 17, 2014 11:08 pm
Contact:

Re: Invalid State Exception

Postby usbpoweredfridge » Thu Apr 14, 2016 10:30 am

I don't suppose there is a way to bulk identify any notes which may have been affected in a DB?

Chris
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Invalid State Exception

Postby CintaNotes Developer » Fri Apr 15, 2016 1:16 pm

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.
Alex

Return to “Bug Reports”