Hello. I’m doing some testing here with PCL files generated from different sources and how they convert through different tools. There is a particular file that when run through your conversion tool throws an uncatchable exception and brings the application down. We’ve run the PCL file through 3 other tools and they are able to convert it correctly. Can anyone assist?
I’m using Aspose.Pdf version 184.108.40.206.
The code I’m using to convert is:
new Aspose.Pdf.License().SetLicense("Aspose.Total.lic"); // Instantiate LoadOption object using PCL load option Aspose.Pdf.LoadOptions loadopt = new Aspose.Pdf.PclLoadOptions(); // Create Document object Aspose.Pdf.Document doc = new Aspose.Pdf.Document(InputFilePath, loadopt); // Save the resultant PDF document doc.Save(OutputFilePath);
The exception that is thrown is follows:
System.ArgumentException was unhandled
Message: An unhandled exception of type ‘System.ArgumentException’ occurred in Aspose.Pdf.dll
Additional information: An item with the same key has already been added.
And I’ve attached my test document grashopp.zip (104.0 KB) which is actually the a test document out of the GhostScript tool.