jxbrowser.chromium.BrowserException on macOS 10.15.4

Surely related to: [Bug] Embedded browser fails to correctly start on b2019030502, would’ve commented there but thread is locked.

my last Ignition install was 8.0.5 on Server 2016, working well then, but haven’t touched it until new install yesterday of 8.0.10 on Server 2019.

Replaced Designer Launcher (macOS) with new from 8.0.10 gateway, now can’t open any Perspective views on either Ignition instance.

Renamed .ignition to .ignition.old for good measure, no effect.

Log:

com.teamdev.jxbrowser.chromium.BrowserException: Failed to initialize or establish a connection with a Chromium render process. You are observing this exception as the render process didn't respond within 120 seconds after the Browser constructor has been invoked.
	at com.teamdev.jxbrowser.chromium.Browser.<init>(SourceFile:4687)
	at com.teamdev.jxbrowser.chromium.Browser.<init>(SourceFile:357)
	at com.inductiveautomation.perspective.designer.workspace.design.BrowserPanel.<init>(BrowserPanel.java:121)
	at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.init(ViewResourceEditor.java:312)
	at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.init(ViewResourceEditor.java:60)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.loadResource(ResourceEditor.java:58)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.lambda$new$0(ResourceEditor.java:37)
	at java.base/java.util.Optional.ifPresent(Unknown Source)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.<init>(ResourceEditor.java:35)
	at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.<init>(ViewResourceEditor.java:103)
	at com.inductiveautomation.perspective.designer.workspace.ViewWorkspace.newResourceEditor(ViewWorkspace.java:316)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.TabbedResourceWorkspace.open(TabbedResourceWorkspace.java:227)
	at com.inductiveautomation.perspective.designer.workspace.pageconfig.PagesConfigPanel$PageList.lambda$openViewIfExists$3(PagesConfigPanel.java:214)
	at java.base/java.util.Optional.ifPresent(Unknown Source)
	at com.inductiveautomation.perspective.designer.workspace.pageconfig.PagesConfigPanel$PageList.openViewIfExists(PagesConfigPanel.java:214)
	at com.inductiveautomation.perspective.designer.workspace.pageconfig.PagesConfigPanel$PageList.lambda$new$2(PagesConfigPanel.java:204)
	at com.inductiveautomation.ignition.client.util.gui.Listen$2.mousePressed(Listen.java:66)
	at java.desktop/java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
	at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Ignition v8.0.10 (b2020031912)
Java: Azul Systems, Inc. 11.0.6


Separate issue: have this error when launching designer after creating new project from “Dashboard” template:

com.inductiveautomation.ignition.common.script.JythonExecException
Traceback (most recent call last):
  File "<function:valueChanged>", line 2, in valueChanged
AttributeError: 'NoneType' object has no attribute 'value'

	at org.python.core.Py.AttributeError(Py.java:207)
	at org.python.core.PyObject.noAttributeError(PyObject.java:1032)
	at org.python.core.PyObject.__getattr__(PyObject.java:1027)
	at org.python.pycode._pyx43.valueChanged$1(<function:valueChanged>:3)
	at org.python.pycode._pyx43.call_function(<function:valueChanged>)
	at org.python.core.PyTableCode.call(PyTableCode.java:171)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:308)
	at org.python.core.PyFunction.function___call__(PyFunction.java:471)
	at org.python.core.PyFunction.__call__(PyFunction.java:466)
	at org.python.core.PyFunction.__call__(PyFunction.java:456)
	at org.python.core.PyFunction.__call__(PyFunction.java:451)
	at com.inductiveautomation.ignition.common.script.ScriptManager.runFunction(ScriptManager.java:798)
	at com.inductiveautomation.ignition.gateway.project.ProjectScriptLifecycle$TrackingProjectScriptManager.runFunction(ProjectScriptLifecycle.java:675)
	at com.inductiveautomation.ignition.common.script.ScriptManager$ScriptFunctionImpl.invoke(ScriptManager.java:927)
	at com.inductiveautomation.ignition.gateway.project.ProjectScriptLifecycle$AutoRecompilingScriptFunction.invoke(ProjectScriptLifecycle.java:740)
	at com.inductiveautomation.perspective.gateway.script.ScriptFunctionHelper.invoke(ScriptFunctionHelper.java:97)
	at com.inductiveautomation.perspective.gateway.model.PropertyChangeScript.onValueChanged(PropertyChangeScript.java:104)
	at com.inductiveautomation.perspective.gateway.property.PropertyTree$Notifier.run(PropertyTree.java:185)
	at com.inductiveautomation.ignition.common.util.ExecutionQueue$PollAndExecute.run(ExecutionQueue.java:204)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.python.core.PyException
Traceback (most recent call last):
  File "<function:valueChanged>", line 2, in valueChanged
AttributeError: 'NoneType' object has no attribute 'value'

	... 22 more

Ignition v8.0.10 (b2020031912)
Java: Azul Systems, Inc. 11.0.6

I don’t think you’ll be able to run the designer or browser component on Server 2019 until we finish the JXBrowser upgrade. Their release notes say version 7.4 officially supports Server 2019 and that’s the version we’re working on integrating.

3 Likes

Clarification, Designer Launcher is running on macOS Catalina 10.15.4, connected to Server 2019/2016 gateways - does the same limitation you described above apply to this version of macOS?

No, should work fine on 10.15.4. Probably half our developers are using macOS without issues.

@PerryAJ do you know what this is about?

Can’t duplicate this issue after installing macOS Catalina 10.15.4 Supplemental Update

Might have just been the reboot that helped. Let us know if you see it again.

Happened again, reboot (of my mac) resolved. Strange. Also had some issues renaming “template” views referenced by other views - got spinning ball of death, force-quit designer b/c I was impatient. Those issues also seem to be resolved after reboot. Can’t reproduce now, though I’ve recreated/saved those views in question - crash happened while they were newly created/unsaved to gateway.

When I first re-launched designer/connected to gateway after reboot, instead of auth dialog straightaway, got a “downloading…” dialog (as if it was first time connecting to gateway), but only seemed to download a couple files, then presented auth dialog. I had previously restored a project backup, but had also already tried to open it (concurrently with an existing designer session - that’s when i got the "unable to deserialize) error again, so can’t imagine it was re-downloading the project.

Will report back if I experience it again, and will hopefully be able to reproduce.

Currently using launcher 1.0.10 to access both 8.0.5 and 8.0.10 gateways

here’s the error I get when renaming an un-saved view:

com.teamdev.jxbrowser.chromium.internal.ipc.IPCException: Failed to get Browser browserChannel 6
	at com.teamdev.jxbrowser.chromium.Browser.a(SourceFile:496)
	at com.teamdev.jxbrowser.chromium.Browser.<init>(SourceFile:410)
	at com.teamdev.jxbrowser.chromium.Browser.<init>(SourceFile:357)
	at com.inductiveautomation.perspective.designer.workspace.design.BrowserPanel.<init>(BrowserPanel.java:121)
	at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.init(ViewResourceEditor.java:312)
	at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.init(ViewResourceEditor.java:60)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.loadResource(ResourceEditor.java:58)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.lambda$new$0(ResourceEditor.java:37)
	at java.base/java.util.Optional.ifPresent(Unknown Source)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.<init>(ResourceEditor.java:35)
	at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.<init>(ViewResourceEditor.java:103)
	at com.inductiveautomation.perspective.designer.workspace.ViewWorkspace.newResourceEditor(ViewWorkspace.java:316)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.TabbedResourceWorkspace.open(TabbedResourceWorkspace.java:227)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNode.open(ResourceNode.java:126)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Ignition v8.0.10 (b2020031912)
Java: Azul Systems, Inc. 11.0.6

Happens concurrently with another designer instance experiencing the failure to open existing views (same gateway, different project).

reboot resolves. I’m baffled.

com.teamdev.jxbrowser.chromium.BrowserException: Failed to initialize or establish a connection with a Chromium render process. You are observing this exception as the render process didn't respond within 120 seconds after the Browser constructor has been invoked.
	at com.teamdev.jxbrowser.chromium.Browser.<init>(SourceFile:4687)
	at com.teamdev.jxbrowser.chromium.Browser.<init>(SourceFile:357)
	at com.inductiveautomation.perspective.designer.workspace.design.BrowserPanel.<init>(BrowserPanel.java:121)
	at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.init(ViewResourceEditor.java:312)
	at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.init(ViewResourceEditor.java:60)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.loadResource(ResourceEditor.java:58)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.lambda$new$0(ResourceEditor.java:37)
	at java.base/java.util.Optional.ifPresent(Unknown Source)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.<init>(ResourceEditor.java:35)
	at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.<init>(ViewResourceEditor.java:103)
	at com.inductiveautomation.perspective.designer.workspace.ViewWorkspace.newResourceEditor(ViewWorkspace.java:316)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.TabbedResourceWorkspace.open(TabbedResourceWorkspace.java:227)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNode.open(ResourceNode.java:126)
	at com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode.onDoubleClick(AbstractResourceNavTreeNode.java:295)
	at com.inductiveautomation.ignition.designer.navtree.NavTreePanel$MouseListener.lambda$mousePressed$0(NavTreePanel.java:675)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Ignition v8.0.10 (b2020031912)
Java: Azul Systems, Inc. 11.0.6

Think I’ve found the culprit - seems that Better Touch Tool’s “Doubleclick Main Menubar” trigger conflicts with Ignition Designer somehow.

Bug Report

Imgur

What the… :confused:

1 Like