Aspose.Note unable to process OneNote files

Attempting to instantiate a Document object with the attached files results in the following exceptions, respectively:

“The given key was not present in the dictionary.”
“Page node is missed.”

Example Code:

using (var fileStream = new FileStream(TestFileLocation + @"\\" +TestFileName,                 FileMode.OpenOrCreate))
{
var noteBook = new Document(fileStream);
}

OneNoteFiles.zip (7.8 MB)

@JohnGrahamLT,
We were able to observe the issues but we need to look into them more. We have logged the issues in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue have been logged as

NOTENET-2980 – Exception 'The given key was not present in the dictionary.' while loading .ONE file (IntelliJ.one)

NOTENET-2981 – 'Page node is missed' exception while loading .ONE file (V8voj.one)

@JohnGrahamLT,
Regarding the “Page node is missed” issue, it is the known issue and we are working on it.
In the meantime there is a workaround: if access to history pages is not required then the document can be loaded by the code below.

new Document(@"V8voj.one", new LoadOptions() { LoadHistory = false })

We are working on this issue and will write back here as soon it is fixed.

@JohnGrahamLT,
Regarding the issue logged under id:NOTENET-2980, we need your permission to share the provided sample with third a party (Microsoft support) for analysis. Please provide your consent in this regard.

The issues you have found earlier (filed as NOTENET-2980,NOTENET-2981) have been fixed in this update. This message was posted using Bugs notification tool by alexei.s