Exception occurs while adding image in XPS document using Aspose.Page for Java

@wanyangye

We have performed an investigation against the ticket IDs PAGEJAVA-107 and PAGEJAVA-108. We noticed that the source XPS document (19th page) is an invalid one and this causes the exception. Would you please share what type of behavior would you expect in such case from the API?

I don’t understand how to deal with this situation. Do you have any good suggestions.

@wanyangye

At the moment, the API is throwing an exception in case of invalid page in the file. We can add more description to the thrown exception after further investigating it.