Using images in watermarks causes an error.

Stimulsoft Reports.JAVA discussion
Post Reply
simon ren
Posts: 93
Joined: Wed Nov 21, 2018 12:51 am

Using images in watermarks causes an error.

Post by simon ren »

when i use image in watermarks,render it will cause an error as below:
图片水印.jpg
图片水印.jpg (444.29 KiB) Viewed 5455 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)
Vadim
Posts: 396
Joined: Tue Apr 23, 2013 11:23 am

Re: Using images in watermarks causes an error.

Post by Vadim »

Hello.

Which version do you use?
simon ren
Posts: 93
Joined: Wed Nov 21, 2018 12:51 am

Re: Using images in watermarks causes an error.

Post 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
simon ren
Posts: 93
Joined: Wed Nov 21, 2018 12:51 am

Re: Using images in watermarks causes an error.

Post 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..
Lech Kulikowski
Posts: 6898
Joined: Tue Mar 20, 2018 5:34 am

Re: Using images in watermarks causes an error.

Post by Lech Kulikowski »

Hello,

Please try to check the last release build 2024.3.2

Thank you.
Post Reply