Image causes a "Real number out of range"

Hello,
We’ve tried to find more information about our error but as research as been unsuccessful I post it here :
When trying to launch the conversion to a PDF file with two specific images, it raises the following error :
2018-07-31 11:06:10,135 ERROR [DocGenQueue.PoolQueueThread-2] ext.cmh.docmgt.generator.impl.AsposeDocGenerator Administrator -
com.itextpdf.text.pdf.PdfAConformanceException: Real number is out of range.
at com.itextpdf.text.pdf.internal.PdfA1Checker.checkPdfObject(PdfA1Checker.java:253)
at com.itextpdf.text.pdf.internal.PdfAChecker.checkPdfAConformance(PdfAChecker.java:242)
at com.itextpdf.text.pdf.internal.PdfAConformanceImp.checkPdfIsoConformance(PdfAConformanceImp.java:70)
at com.itextpdf.text.pdf.PdfWriter.checkPdfIsoConformance(PdfWriter.java:3492)
at com.itextpdf.text.pdf.PdfWriter.checkPdfIsoConformance(PdfWriter.java:3488)
at com.itextpdf.text.pdf.PdfObject.toPdf(PdfObject.java:174)
at com.itextpdf.text.pdf.PdfArray.toPdf(PdfArray.java:179)
at com.itextpdf.text.pdf.PdfDictionary.toPdf(PdfDictionary.java:153)
at com.itextpdf.text.pdf.PdfDictionary.toPdf(PdfDictionary.java:153)
at com.itextpdf.text.pdf.PdfIndirectObject.writeTo(PdfIndirectObject.java:157)
at com.itextpdf.text.pdf.PdfWriter$PdfBody.write(PdfWriter.java:402)
at com.itextpdf.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:380)
at com.itextpdf.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:359)
at com.itextpdf.text.pdf.PdfWriter.addToBody(PdfWriter.java:854)
at com.itextpdf.text.pdf.PdfReaderInstance.writeAllVisited(PdfReaderInstance.java:160)
at com.itextpdf.text.pdf.PdfReaderInstance.writeAllPages(PdfReaderInstance.java:176)
at com.itextpdf.text.pdf.PdfWriter.addSharedObjectsToBody(PdfWriter.java:1368)
at com.itextpdf.text.pdf.PdfWriter.close(PdfWriter.java:1251)
at com.itextpdf.text.pdf.PdfAWriter.close(PdfAWriter.java:370)
at com.itextpdf.text.pdf.PdfDocument.close(PdfDocument.java:901)
at com.itextpdf.text.Document.close(Document.java:415)
at ext.cmh.docmgt.generator.impl.AsposeDocGenerator.addColorProfile(AsposeDocGenerator.java:340)
at ext.cmh.docmgt.generator.impl.AsposeDocGenerator.persistDocument(AsposeDocGenerator.java:265)
at ext.cmh.docmgt.generator.impl.AsposeDocGenerator.generate(AsposeDocGenerator.java:201)
at ext.cmh.docmgt.helper.DocGenerationHelper.launchDocGenericGeneration(DocGenerationHelper.java:2088)
at ext.cmh.docmgt.helper.DocGenerationHelper.launchDocGeneration(DocGenerationHelper.java:829)
at ext.cmh.docmgt.helper.DocGenerationHelper.runAsyncJob(DocGenerationHelper.java:1650)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at wt.queue.QueueEntry.execute(QueueEntry.java:231)
at wt.queue.QueueRunnable.run(QueueRunnable.java:159)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

As we can’t give the image, we would like to know where it could come from ? What does that type of error could mean as images cause it ?

In addition, it happened after updating the PDF Aspose version from 10.4.1 (no error with those images) to 17.1.0 (on which we reproduce the stacktrace below).

Thanks,

@Simon31

Thank you for contacting support.

We are afraid that the error is not related to Aspose.PDF for Java API because stack trace does not include any reference to Aspose.PDF API. Please double check your code and then share your kind feedback with us. If you are working with Aspose.PDF for Java API, please ensure using the latest version i.e Aspose.PDF for Java 18.7. Furthermore, we will be needing the source files in order to reproduce and investigate the issue.