Hi,
It has come to our attention that exports for a report containing HTML5 Charts has recently been failing.Ā We have done some investigation and this issue is related to a process which uses chromium to render report contents.Ā Can you please advise if there is any workaround for this issue?
Note: There are no useful logs on the server as we assume this is an internal issue for the interaction between chromium and the operating system components.Ā Ā All we can see on the logs is something like below:
2023-03-15T02:07:57,880 ERROR SecureExceptionHandlerImpl,pool-14-thread-1288:116 - There was an error on the server. Try again or contact site administrators. (Error UID: 99892324-25f4-478f-8935-86347579abbf)
Attached sample screen below for visualization:
3 Answers:
Chromium 111 introduced a couple of incompatibilities with the library used to connect via the DevTools Protocol.
You can workaround the problem by adding the following properties to WEB-INF/classes/jasperreports.properties:
net.sf.jasperreports.chrome.page.isolate=true net.sf.jasperreports.chrome.argument.remote-allow-origins=*
Regards,
Lucian