ERROR: Generic JS View - Cannot read property 'style' of null

Hi All,

I have a problem with executing Generic JS View node in the server. Getting following error when executing in the server:

(See more):

Node: 2710:0:3888:0:1301 (Header 1)
Message: Error in script
TypeError: Cannot read property ‘style’ of null
at eval (eval at (, :4:58)
at Object.execCb (
at b.check (
at b. (
at each (
at b.emit (
at b.check (

But it is executing completely okay in the AP when run as a job.

Chrome Version 89.0.4389.114 (Official Build) (64-bit)
KNIME Server version: Version 4.12.1
JavaScript view using D3 version 4.2.6
Attached the javascript as txt file.
ClusterAnalysis_scw_overview.txt (6.3 KB)

Any help would be really great :slight_smile:


Hello Nithin,
This is fortunately easy to solve. You have the following line at the beginning your JS code: $${Shide_border}$$. Can you remove it? I think it was part of an older workflow for the old WebPortal and injects code to change some border styles. The elements that are affected do not exist anymore and this is why the injected code fails.
Kind regards,


Thank you Alex !! This worked :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.