Using images in watermarks causes an error.

Stimulsoft Reports.JAVA discussion
Post Reply
simon ren
Posts: 71
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 943 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: 363
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?
Post Reply