We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.PUB not parsing all valid pub files - returns null pub document

Having issue with Aspose.PUB running null pointer on some PUB files.

I attached an example and here’s what I’m doing:
31PagesPublisherONly.7z (38.4 KB)

            var parser = PubFactory.CreateParser(fileName);

            pubDocument = parser.Parse();

// The pubDocument is null here???

@peernet

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

@peernet

We tested the case in our environment using 21.9 version of the API and faced “KeyNotFoundException” in our environment. Therefore, an issue as PUBNET-267 has been logged in our issue tracking system for the sake of correction. We will look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.