export pdf which has watermark has IndexOutOfBoundsException error

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

export pdf which has watermark has IndexOutOfBoundsException error

Post by simon ren »

In my mrt,i have a watermark on page,but when I export pdf in report-java.it has a IndexOutOfBoundsException Error
打印报错.png
打印报错.png (29.45 KiB) Viewed 5494 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: export pdf which has watermark has IndexOutOfBoundsException error

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: export pdf which has watermark has IndexOutOfBoundsException error

Post by Vadim »

Hello.

Can you send us your report to reproduce problem ?
simon ren
Posts: 67
Joined: Wed Nov 21, 2018 12:51 am

Re: export pdf which has watermark has IndexOutOfBoundsException error

Post by simon ren »

Vadim wrote: Mon Jun 08, 2020 9:46 am Hello.

Can you send us your report to reproduce problem ?
here is the report:
report.mrt
(34.87 KiB) Downloaded 279 times
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: export pdf which has watermark has IndexOutOfBoundsException error

Post by Vadim »

Hello.

Watermark image in your report file stored not properly,
"ImageBytes":"data:image/png;base64,iVBORw0....
please remove data:image/png;base64, from it.
simon ren
Posts: 67
Joined: Wed Nov 21, 2018 12:51 am

Re: export pdf which has watermark has IndexOutOfBoundsException error

Post by simon ren »

Vadim wrote: Wed Jun 24, 2020 11:10 am Hello.

Watermark image in your report file stored not properly,
"ImageBytes":"data:image/png;base64,iVBORw0....
please remove data:image/png;base64, from it.
i remove data:image/png;base64, it works
but "data:image/png;base64," is auto generate by report-js

i use report-js in my web browers,and when i click save button in designer ,i saved the mrt which onSaveReport event give to me in report-js.
then i render this mrt in report-java.so how can i deal with this?
设计器.png
设计器.png (90.16 KiB) Viewed 5044 times
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: export pdf which has watermark has IndexOutOfBoundsException error

Post by Vadim »

Hello.

We made fixes, this issue will be resolved in next version.
simon ren
Posts: 67
Joined: Wed Nov 21, 2018 12:51 am

Re: export pdf which has watermark has IndexOutOfBoundsException error

Post by simon ren »

Vadim wrote: Thu Jul 02, 2020 9:25 am Hello.

We made fixes, this issue will be resolved in next version.
ok,thanks
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: export pdf which has watermark has IndexOutOfBoundsException error

Post by Lech Kulikowski »

Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.
Post Reply