Parse() throws KeyNotFoundException

Loading a .pub file from a MemoryStream:

var parser = PubFactory.CreateParser(mem);
var pubDoc = parser.Parse();

Throws [System.Collections.Generic.KeyNotFoundException] {“The given key was not present in the dictionary.”}

Stack Trace:
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.SortedDictionary2.get_Item(TKey key) at #=zNvi0V8bnO5mIKOTwtTttmL4=.#=zcc6OK2YD2phV7rpknRBEgbk=.#=znsyyPnZkMV49BtN1fg==(#=zJNVWi1G959UFmQ1RXUhy5O0= #=zmSFuVeo=) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func`2 predicate)
at #=zNvi0V8bnO5mIKOTwtTttmL4=.#=zxs5EbES8rq70(Document #=zna1U23o=)
at #=zNvi0V8bnO5mIKOTwtTttmL4=.Parse()

@DTS_Barry

Can you please share your sample PUB file for our reference so that we can test the scenario in our environment and address it accordingly.

FSS Map- Evacuation.zip (16.8 KB)

Here is a sample. This happens on many different .pub files. I have not found a common denominator.

@DTS_Barry

We are checking it and will get back to you shortly.

@DTS_Barry

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PUBNET-367

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as PUBNET-367) have been fixed in Aspose.PUB for .NET 24.5.