Page 1 of 1
export pdf which has watermark has IndexOutOfBoundsException error
Posted: Fri Jun 05, 2020 7:15 am
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 (29.45 KiB) Viewed 7788 times
Re: export pdf which has watermark has IndexOutOfBoundsException error
Posted: Sat Jun 06, 2020 9:45 am
by Lech Kulikowski
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
Re: export pdf which has watermark has IndexOutOfBoundsException error
Posted: Mon Jun 08, 2020 9:46 am
by Vadim
Hello.
Can you send us your report to reproduce problem ?
Re: export pdf which has watermark has IndexOutOfBoundsException error
Posted: Mon Jun 22, 2020 2:45 am
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:
Re: export pdf which has watermark has IndexOutOfBoundsException error
Posted: Wed Jun 24, 2020 11:10 am
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.
Re: export pdf which has watermark has IndexOutOfBoundsException error
Posted: Thu Jul 02, 2020 2:12 am
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 (90.16 KiB) Viewed 7338 times
Re: export pdf which has watermark has IndexOutOfBoundsException error
Posted: Thu Jul 02, 2020 9:25 am
by Vadim
Hello.
We made fixes, this issue will be resolved in next version.
Re: export pdf which has watermark has IndexOutOfBoundsException error
Posted: Mon Jul 06, 2020 6:11 am
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
Re: export pdf which has watermark has IndexOutOfBoundsException error
Posted: Mon Jul 06, 2020 5:35 pm
by Lech Kulikowski
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.