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 16001 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?

Re: Using images in watermarks causes an error.

Posted: Fri Jul 26, 2024 2:37 am
by simon ren
Vadim wrote: Wed Apr 03, 2024 6:59 am Hello.

Which version do you use?
stimulsoft-reports-base-2024.1.4.jar
stimulsoft-reports-lib-2024.1.4.jar
stimulsoft-reports-report-2024.1.4.jar

Re: Using images in watermarks causes an error.

Posted: Fri Jul 26, 2024 2:47 am
by simon ren
simon ren wrote: Fri Jul 26, 2024 2:37 am
Vadim wrote: Wed Apr 03, 2024 6:59 am Hello.

Which version do you use?
stimulsoft-reports-base-2024.1.4.jar
stimulsoft-reports-lib-2024.1.4.jar
stimulsoft-reports-report-2024.1.4.jar
in this posts viewtopic.php?t=58846 I mentioned this issue, and you replied that it would be fixed in the next version. However, the current version still has problems..

Re: Using images in watermarks causes an error.

Posted: Fri Jul 26, 2024 1:40 pm
by Lech Kulikowski
Hello,

Please try to check the last release build 2024.3.2

Thank you.