I have a few .xls and .txt attachments with data that needs to be imported in my CN notebook. I have added this file to a note, I edit the contents, and CN will update the attachment in the note upon saving.
I wanted to create a new .db notebook-file, but the .xls attachment that was being edited was still sitting in the background. I clicked File-> New, and CN asked me 'The file is still being edited, close anyway Y/N?' or something along those lines, and I clicked No. I got these messages (not necessarily in this order):
class err::LogicException Postcondition failed:app::model::data::NoteMapper::getNoten
Postcondition failed: app::model::data::NoteMapper::getNoten class err::InvalidArgumentException Precondition failed:app::model::data::NoteRepository::addNote sectionMapper ->sectionExists(n.getSectionId())
class err::InvalidArgumentException Precondition failed: app::model::Notebook::setSectionFilter sf.getMax(sectionsCount) < sectionsCount
trying to switch to another .db:
class err::InvalidStateException ui::Window::getHwnd class ui:Window const *: Cinta.ModelessDialog,
The notebook suddenly appeared to be empty, and saving the .xls file leads to another message, because CN still detected the file had been changed but could not update the note.
I had to exit CN, and restart, and the notebook was just fine. But upon trying to redo these steps, apparently the changes made to the opened file will not update.
Also tried to redo this with a .txt file, and in this case CN will silently discard the file. This could be due to notepad++ not locking the file.