Page 1 of 1

Using images in watermarks causes an error.

Posted: Wed Apr 03, 2024 5:39 am
by simon ren
when i use image in watermarks,render it will cause an error as below:
图片水印.jpg
图片水印.jpg (444.29 KiB) Viewed 1142 times
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at com.stimulsoft.report.export.service.StiPdfExportService.renderWatermark(StiPdfExportService.java:5873)
at com.stimulsoft.report.export.service.StiPdfExportService.exportPdfException(StiPdfExportService.java:7380)
at com.stimulsoft.report.export.service.StiPdfExportService.exportPdf(StiPdfExportService.java:6581)
at com.stimulsoft.report.export.service.StiPdfExportService.export(StiPdfExportService.java:6566)
at com.stimulsoft.report.StiExportManager.export(StiExportManager.java:241)
at com.stimulsoft.report.StiExportManager.exportPdf(StiExportManager.java:46)

Re: Using images in watermarks causes an error.

Posted: Wed Apr 03, 2024 6:59 am
by Vadim
Hello.

Which version do you use?