embedded Chromium crash in javascript view

Hi all,
just updated yesterday KNIME to version 4.3.1…
but nothing changed with the embedded Chromium 83 browser …
In mac platform ( macOS BigSur 11.2 on INTEL MacbookPro ) it, not every time fortunately , often crashes opening javascript visualisation (Plotly charts for example but not only )

If I try to set more recent external Chromium in preferences i get this error (see screenshot )

I understood that this could be an issue related to Eclipse but never changed since the release of KNIME 4.3.

May be I’m doing something wrong??
Is it possibile to change the embedded version? o choose an external one?

many thanks for any suggestion

Hi @stefanomosca,

it is known that there are problems with KNIME on the new Mac BigSur system, but I think the Chromium Embedded Framework (CEF) Browser that comes with this Extension: KNIME Extension providing the Chromium Browser should work on Mac Big Sur. Please let me know if you are still encountering crashes with this one.

Best,
Janina

Try setting the path to the Chromium binary. .app is in fact just a directory on the Mac. Use this path instead:

/Applications/Chromium.app/Contents/MacOS/Chromium

HTH!

1 Like

Hi Janina and thanks for your support!

Actually when I open KNIME I get this error log:

 !SESSION 2021-02-17 14:26:22.581 -----------------------------------------------

eclipse.buildId=unknown
java.version=1.8.0_252
java.vendor=AdoptOpenJDK
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_IT
Framework arguments: -keyring /Users/stefanom/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/stefanom/.eclipse_keyring -showlocation

!ENTRY org.eclipse.jface 2 0 2021-02-17 14:26:29.916
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2021-02-17 14:26:29.916
!MESSAGE A conflict occurred for COMMAND+F:
Binding(COMMAND+F,
ParameterizedCommand(Command(org.eclipse.ui.edit.findReplace,Find and Replace,
Find and replace text,
Category(org.eclipse.ui.category.edit,Edit,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1784a296,
,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,system)
Binding(COMMAND+F,
ParameterizedCommand(Command(knime.commands.findnode,Find Node…,
Finds a Node in the workflow.,
Category(knime.command.category,KNIME Workflow Editor commands,Commands available for the workflow editor,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@49ea4b65,
,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2021-02-17 14:26:29.916
!MESSAGE A conflict occurred for COMMAND+G:
Binding(COMMAND+G,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.search.declarations.in.workspace,Declaration in Workspace,
Search for declarations of the selected element in the workspace,
Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@4af6839c,
,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,system)
Binding(COMMAND+G,
ParameterizedCommand(Command(knime.commands.findnextnode,Find Next Node…,
Finds the next node in the workflow from the previous search results.,
Category(knime.command.category,KNIME Workflow Editor commands,Commands available for the workflow editor,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@4f3e65f4,
,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,system)

!ENTRY org.eclipse.core.net 1 0 2021-02-17 14:26:30.758
!MESSAGE System property http.nonProxyHosts has been set to local|.local|169.254/16|.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY org.eclipse.equinox.p2.core 4 0 2021-02-17 14:26:31.042
!MESSAGE Exception during event notification
!STACK 0
java.lang.IllegalArgumentException: Location must be absolute: …
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.checkValidLocation(AbstractRepositoryManager.java:756)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.contains(AbstractRepositoryManager.java:252)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.addRepository(AbstractRepositoryManager.java:167)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.notify(AbstractRepositoryManager.java:825)
at org.eclipse.equinox.internal.p2.core.ProvisioningEventBus.dispatchEvent(ProvisioningEventBus.java:103)
at org.eclipse.equinox.internal.p2.core.ProvisioningEventBus.dispatchEvent(ProvisioningEventBus.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.equinox.p2.core 4 0 2021-02-17 14:26:31.043
!MESSAGE Exception during event notification
!STACK 0
java.lang.IllegalArgumentException: Location must be absolute: …
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.checkValidLocation(AbstractRepositoryManager.java:756)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.contains(AbstractRepositoryManager.java:252)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.addRepository(AbstractRepositoryManager.java:167)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.notify(AbstractRepositoryManager.java:825)
at org.eclipse.equinox.internal.p2.core.ProvisioningEventBus.dispatchEvent(ProvisioningEventBus.java:103)
at org.eclipse.equinox.internal.p2.core.ProvisioningEventBus.dispatchEvent(ProvisioningEventBus.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)


but after this I can use KNIME without big problems…

when I try to install the extension you suggest I get this error:


!ENTRY org.eclipse.ui 4 0 2021-02-17 14:30:25.821

!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ClassCastException: com.knime.explorer.server.internal.HubURIImporter$3 cannot be cast to org.knime.workbench.core.imports.RepoObjectImport
at org.knime.workbench.core.imports.URIImporterUtil.lambda$0(URIImporterUtil.java:133)
at java.util.Optional.map(Optional.java:215)
at org.knime.workbench.core.imports.URIImporterUtil.getRepoObjectImportFromURI(URIImporterUtil.java:133)
at org.knime.product.rcp.EditorAreaURLDropListener.drop(EditorAreaURLDropListener.java:82)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:94)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4387)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324)
at org.eclipse.swt.dnd.DropTarget.drop(DropTarget.java:723)
at org.eclipse.swt.dnd.DropTarget.performDragOperation(DropTarget.java:737)
at org.eclipse.swt.dnd.DropTarget.dropTargetProc(DropTarget.java:451)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(Native Method)
at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:40)
at org.eclipse.swt.widgets.Display.sleep(Display.java:4957)
at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:360)
at org.knime.product.rcp.KNIMEApplicationWorkbenchAdvisor.eventLoopIdle(KNIMEApplicationWorkbenchAdvisor.java:162)
at org.eclipse.ui.internal.Workbench$1.eventLoopIdle(Workbench.java:481)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1165)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:658)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
at org.knime.product.rcp.KNIMEApplication.start(KNIMEApplication.java:176)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1447)


I also noticed that after a couple of seconds you open the Javascript views screen in preferences one more choice appears:
But I choose the CEF browser ii crashes KMINE at all when I open any node view ( eg; execute and open view)

Last but not least I tried to setup the INTERNAL SWT Browser following qqilihq suggestion and it seems works better… but PLOTLY function “Edit Chart” is no longer working :frowning:

I believe BigSur is actually not a good choice for using Javascript views…

Let me know If Ii give you any more informationstrong text

Thank You all for your help!!!

Thank You!
Your suggestion is correct and It works!
But unfortunately it looses the EDIT CHART function to use PLOTLY editing functions.

This is very useful because i noticed that … COLOR MANAGER node no longer works…and a common bar chart is GREY even you select colours :frowning:

BigSur with KNIME actually is not a good choice…yet.

thanks a lot!!!

Hi @stefanomosca,

there are a couple of things you brought up, let me address them one by one:

1. java.lang.IllegalArgumentException: Location must be absolute: …
That is an issue we are aware of. But it doesn’t effect the normal operation of KNIME and you can safely ignore it for now.

2. java.lang.ClassCastException: com.knime.explorer.server.internal.HubURIImporter$3 cannot be cast to org.knime.workbench.core.imports.RepoObjectImport
I assume you were dragging and dropping this extension from the hub in order to install it but it didn’t work? Can’t reproduce it on my end, unfortunately. However, this extension contains the bundled Chromium Browser (version 83) which seems to be installed already with your KNIME (according to your very first screenshot). In order to install the embedded Chromium (CEF) you would need to use this extension (which is installed by default with 4.3 - and according to your second screenshot it is installed already).

3. PLOTLY function “Edit Chart” is no longer working
Since this is only the case for the SWT-Browser, I’m afraid we can’t do much here (it’s not really in our control and we do not recommend using the SWT browser if it can be avoided).

4. Chromium browser crashes
I’m very sorry to hear that it doesn’t work reliably with BigSur! We are working on making the embedded chromium (CEF) - which is going to be the default browser in KNIME - more stable on BigSur and hope to be able include further fixes in upcoming releases. In any case, if you experience crashes (especially with CEF selected), could you maybe share the crash reports with us (if there are any)?

5. Color Manager no longer works
Can you elaborate more on that? What is it that doesn’t work?

Thanks a lot for helping us making KNIME better!

Best,
Martin

2 Likes

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