Chromium immediately collapses when trying to check output of any Interactive View

Dear Community,

i am facing strange behaviour and probably there are some of you who also came across this issue - and maybe could help me how to fix this.

The problem: Chromium immediately collapses when i try to check any Interactive View output. As an example to provide screenshots here, i opened the 08_Guided_Analytics from the set of example workflows, and i will try to check the output of the very first Single Selection node:
image
The panel opens where i would expect the content, but instead of content there is error message:


Regardless of how many times i click reload, that content is never displayed.
After closing this panel, few seconds pass, then further message arrives at the main window:
image

– Slight workaround is to set Internet Explorer in the preferences, but it is not recommended by default, and fails interpreting part of my javascripts which formerly ran perfectly.

– After searching for the log file as suggested by the popup window, i see the following:

  1. C:\Users\xyz\AppData\Local\Temp\knimeViewContainer72403\debug_15669856807551724243062652399858.html shows exactly the content i should have seen when opening my Interactive View

  2. C:\Users\xyz\AppData\Local\Temp\knime_chromium_data72381\chrome_debug.log shows only warnings:

[21220:16708:0828/114802.255:WARNING:account_consistency_mode_manager.cc(250)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[21220:16708:0828/114802.255:WARNING:account_consistency_mode_manager.cc(250)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[21220:16708:0828/114802.255:WARNING:account_consistency_mode_manager.cc(250)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[21220:16708:0828/114802.256:WARNING:account_consistency_mode_manager.cc(250)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[21220:16708:0828/114802.265:WARNING:account_consistency_mode_manager.cc(250)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[21220:16708:0828/114802.270:WARNING:account_consistency_mode_manager.cc(250)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[21220:16708:0828/114802.272:WARNING:chrome_browser_main_win.cc(679)] Command line too long for RegisterApplicationRestart: --allow-file-access --allow-file-access-from-files --app=file:/C:/Users/CSABA_~1/AppData/Local/Temp/knimeViewContainer72403/selenium-knime-bridge_%201566985680759_900802421799056988.html --bwsi --disable-background-networking --disable-breakpad --disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor --disable-infobars --disable-popup-blocking --disable-prompt-on-repost --disable-session-restore --disable-sync --disable-web-resources --enable-automation --enable-blink-features=ShadowDOMV0 --enable-logging --force-fieldtrials=SiteIsolationExtensions/Control --ignore-certificate-errors --load-extension=“C:\Users\CSABA_~1\AppData\Local\Temp\scoped_dir20512_837\internal” --log-level=0 --no-default-browser-check --no-experiments --no-first-run --no-session-id --noerrdialogs --password-store=basic --profile-directory=Default --profiling-flush=1 --remote-debugging-port=0 --test-type=webdriver --use-mock-keychain --user-data-dir=“C:\Users\csaba_kereszturi\AppData\Local\Temp\knime_chromium_data72381” --window-position=448,109 --window-size=1024,768 --file-url-path-alias="/gen=C:\Program Files\KNIME\plugins\org.knime.ext.chromium.bin.win32.x86_75.0.3770.v201906051512\win32\x86\gen" --restore-last-session
[21220:16708:0828/114802.441:WARNING:account_consistency_mode_manager.cc(250)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[21220:6212:0828/114802.555:WARNING:leveldb_database.cc(106)] Unable to open C:\Users\xyz\AppData\Local\Temp\knime_chromium_data72381\Default\shared_proto_db: Invalid argument: C:\Users\xyz\AppData\Local\Temp\knime_chromium_data72381\Default\shared_proto_db: does not exist (create_if_missing is false)

The referred C:\Program Files\KNIME\plugins\org.knime.ext.chromium.bin.win32.x86_75.0.3770.v201906051512\win32\x86\gen does not exist on my machine.

Background: Last week all worked properly (v.4.0.0), but i had to reinstall whole computer recently. So the issue persists in the completely new installation of v.4.0.1. As a check, i uninstalled v.4.0.1 and reverted back to v.4.0.0 - no success unfortunately, same issue pops up.

Thank you in advance,
Csaba

I was finally able to solve this by uninstalling existing Knime, eliminating all the leftover from registry, and then installing again (v.4.0.0).
It seems something went off during the former installation of v.4.0.1, also the uninstaller was not able to remove the erroneous keys from registry, hence previous reinstallation did not solve the problem.

1 Like

Thanks for posting your fix!

I’m experiencing the same problems with KNIME 4.1.1:

  1. bundled Chromium generates the error Interactive View cannot be opened and in the KNIME log there are the details reported below
  2. Chrome browser windows open for a moment and immediatly collapses and in the KNIME log there are no details, and also if I check the Create Debug HTML for JavaScripts view option, the debug file is not generated in my C:\Users<myname>\AppData\Local\Temp\knime_chromium_dataXXXXX folder :frowning:
    I hope you can help me, thanks

PB

P.S. KNIME log details

2020-02-27 11:00:07,804 : ERROR : Chrome view thread 1 : : ChromeWizardNodeView : : : Could not initialize Chrome driver. unknown error: Chrome failed to start: crashed
(unknown error: DevToolsActivePort file doesn’t exist)
(The process started from chrome location C:\Program Files\KNIME\plugins\org.knime.ext.chromium.bin.win32.x86_78.0.3904.87\win32\x86\chrome.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘XXXXXXXXX’, ip: ‘YYYYYYYYY’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_202’
Driver info: driver.version: ChromeDriver
remote stacktrace: Backtrace:
Ordinal0 [0x00E1A903+1550595]
Ordinal0 [0x00D9A701+1025793]
Ordinal0 [0x00D1C6E5+509669]
Ordinal0 [0x00CACB0B+51979]
Ordinal0 [0x00CCACE7+175335]
Ordinal0 [0x00CCA8ED+174317]
Ordinal0 [0x00CC8CDB+167131]
Ordinal0 [0x00CB144A+70730]
Ordinal0 [0x00CB24D0+74960]
Ordinal0 [0x00CB2469+74857]
Ordinal0 [0x00DB42C7+1131207]
GetHandleVerifier [0x00EB70FD+523789]
GetHandleVerifier [0x00EB6E90+523168]
GetHandleVerifier [0x00EBE1E7+552695]
GetHandleVerifier [0x00EB78FA+525834]
Ordinal0 [0x00DAB7FC+1095676]
Ordinal0 [0x00DB633B+1139515]
Ordinal0 [0x00DB64A3+1139875]
Ordinal0 [0x00DB5425+1135653]
BaseThreadInitThunk [0x769E6359+25]
RtlGetAppContainerNamedObjectPath [0x770C7B74+228]
RtlGetAppContainerNamedObjectPath [0x770C7B44+180]

org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: crashed
(unknown error: DevToolsActivePort file doesn’t exist)
(The process started from chrome location C:\Program Files\KNIME\plugins\org.knime.ext.chromium.bin.win32.x86_78.0.3904.87\win32\x86\chrome.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’
System info: host: ‘XXXXXXXXX’, ip: ‘YYYYYYYYYY’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_202’
Driver info: driver.version: ChromeDriver
remote stacktrace: Backtrace:
Ordinal0 [0x00E1A903+1550595]
Ordinal0 [0x00D9A701+1025793]
Ordinal0 [0x00D1C6E5+509669]
Ordinal0 [0x00CACB0B+51979]
Ordinal0 [0x00CCACE7+175335]
Ordinal0 [0x00CCA8ED+174317]
Ordinal0 [0x00CC8CDB+167131]
Ordinal0 [0x00CB144A+70730]
Ordinal0 [0x00CB24D0+74960]
Ordinal0 [0x00CB2469+74857]
Ordinal0 [0x00DB42C7+1131207]
GetHandleVerifier [0x00EB70FD+523789]
GetHandleVerifier [0x00EB6E90+523168]
GetHandleVerifier [0x00EBE1E7+552695]
GetHandleVerifier [0x00EB78FA+525834]
Ordinal0 [0x00DAB7FC+1095676]
Ordinal0 [0x00DB633B+1139515]
Ordinal0 [0x00DB64A3+1139875]
Ordinal0 [0x00DB5425+1135653]
BaseThreadInitThunk [0x769E6359+25]
RtlGetAppContainerNamedObjectPath [0x770C7B74+228]
RtlGetAppContainerNamedObjectPath [0x770C7B44+180]

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:207)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:130)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:157)
at org.knime.ext.seleniumdrivers.multios.ChromeWizardNodeView.initDriver(ChromeWizardNodeView.java:339)
at org.knime.ext.seleniumdrivers.multios.ChromiumWizardNodeView.initDriver(ChromiumWizardNodeView.java:90)
at org.knime.ext.seleniumdrivers.multios.ChromeWizardNodeView$1.run(ChromeWizardNodeView.java:267)
at java.lang.Thread.run(Thread.java:748)

2020-02-27 11:00:07,807 : ERROR : Chrome view thread 1 : : ChromeWizardNodeView : : : The interactive view cannot be opened for the following reason: Could not initialize Chrome driver. Check log for more details.

The browser can be configured in Preferences -> KNIME -> JavaScript Views
org.knime.ext.seleniumdrivers.multios.SeleniumViewException: Could not initialize Chrome driver. Check log for more details.

The browser can be configured in Preferences -> KNIME -> JavaScript Views
at org.knime.ext.seleniumdrivers.multios.ChromeWizardNodeView.initDriver(ChromeWizardNodeView.java:368)
at org.knime.ext.seleniumdrivers.multios.ChromiumWizardNodeView.initDriver(ChromiumWizardNodeView.java:90)
at org.knime.ext.seleniumdrivers.multios.ChromeWizardNodeView$1.run(ChromeWizardNodeView.java:267)
at java.lang.Thread.run(Thread.java:748)

I’ve resolved the issue adding the following 2 .exe to the list of antivirus “thrusted program”:
C:\Program Files\KNIME\plugins\org.knime.ext.seleniumdrivers.multios.bin.win32.x86_78.0.3904.70\win32\x86\chromedriver.exe
C:\Program Files\KNIME\plugins\org.knime.ext.chromium.bin.win32.x86_78.0.3904.87\win32\x86\chrome.exe

And now I’m enjoying JavaScript visualizations:

5 Likes

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