Error generating image from Generic Javascript View

Hi, I am getting an error in running my workflow in the KNIME server, if I check the option to generate an SVG image from my Javascript view. It does not seem related to my code, but to having that option enabled. Any ideas on what might be happening?

image

Error Message:
ERROR Generic JavaScript View (JavaScript) 5:9:0:8: Execute failed: Could not initialize class com.equo.chromium.internal.Engine

The workflow works fine with the Knime Analytics Platform, but fails only when I deploy it in the server. Any ideas on what it might be?

Hi @toscano,

Could it be that your Executor is running on Linux? You would then need to install xvfb in addition to enable the inbuilt chromium to render SVG images: KNIME Server Installation Guide

Best,
Michael

Hi Michael,
Thanks for the suggestion. It is indeed running on Linux. I will investigate the xvfb service and see if it works.

Sounds good, thank you for the reply @toscano.

It would be great if you could update me if this solved your issue once tested.

Thanks in advance,
Michael

Hi Michael,
The solution you gave fixed the problem. Thank you very much for your help.
Regards,
Matheus

1 Like