Designer V8.1.10 Constantly crashing

Hi,

My Designer is constantly crashing, when the error occurs I cant open another view until I close the program and reset.

Error: “Unable to deserialize …”

Is this 8.1.0?

More details about the errors, stacktrace, etc would be helpful.

Hi ,

Sorry, I’m only new to Ignition, where do I find the stack trace?

If you’re still in the main designer application, then Tools → Console:
image

If the entire application window is disappearing (what I would consider a ‘crash’) then you’ll need a somewhat more involved process; I’d recommend getting in touch with support.

Exception in thread “AWT-EventQueue-0” java.lang.IllegalStateException: Failed to receive the response.
at com.teamdev.jxbrowser.internal.rpc.transport.CommonThreadResponseConsumer.await(CommonThreadResponseConsumer.java:55)
at com.teamdev.jxbrowser.internal.rpc.transport.CommonThreadCallExecutor.execute(CommonThreadCallExecutor.java:26)
at com.teamdev.jxbrowser.internal.rpc.UniversalServiceConnection.invoke(UniversalServiceConnection.java:182)
at com.teamdev.jxbrowser.browser.internal.BrowserImpl.mainFrame(BrowserImpl.java:184)
at com.inductiveautomation.perspective.designer.workspace.JavaJsBridge.invokeFunction(JavaJsBridge.java:284)
at com.inductiveautomation.perspective.designer.workspace.JavaJsBridge.invokeStoreFunction(JavaJsBridge.java:322)
at com.inductiveautomation.perspective.designer.workspace.JavaJsBridge.getComponentDetails(JavaJsBridge.java:340)
at com.inductiveautomation.perspective.designer.workspace.propertyeditor.AbstractDesignAdapter.getComponentDetails(AbstractDesignAdapter.java:45)
at com.inductiveautomation.perspective.designer.workspace.propertyeditor.PropertyEditorFrame.setDesignAdapter(PropertyEditorFrame.java:185)
at com.inductiveautomation.perspective.designer.workspace.ViewWorkspace$2.lambda$stateChanged$0(ViewWorkspace.java:223)
at java.base/java.util.ArrayList.forEach(Unknown Source)
at com.inductiveautomation.perspective.designer.workspace.ViewWorkspace$2.stateChanged(ViewWorkspace.java:223)
at java.desktop/javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
at com.jidesoft.swing.JideTabbedPane$IgnoreableSingleSelectionModel.fireStateChanged(Unknown Source)
at java.desktop/javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
at java.desktop/javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
at java.desktop/javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
at com.jidesoft.swing.JideTabbedPane.setSelectedIndex(Unknown Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$MouseHandler.mousePressed(Unknown Source)
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)
Caused by: java.lang.IllegalStateException: The connection has been closed.
at com.teamdev.jxbrowser.internal.rpc.transport.CommonThreadCallExecutor.lambda$execute$0(CommonThreadCallExecutor.java:21)
at com.teamdev.jxbrowser.deps.com.google.protobuf.RpcUtil$1.run(RpcUtil.java:79)
at com.teamdev.jxbrowser.deps.com.google.protobuf.RpcUtil$1.run(RpcUtil.java:70)
at com.teamdev.jxbrowser.internal.rpc.ServiceChannel$1.onError(ServiceChannel.java:70)
at com.teamdev.jxbrowser.internal.rpc.transport.SharedMemoryChannel.lambda$close$2(SharedMemoryChannel.java:95)
at java.base/java.util.concurrent.ConcurrentHashMap.forEach(Unknown Source)
at com.teamdev.jxbrowser.internal.rpc.transport.SharedMemoryChannel.close(SharedMemoryChannel.java:93)
at com.teamdev.jxbrowser.internal.rpc.transport.SharedMemoryConnection.close(SharedMemoryConnection.java:46)
at com.teamdev.jxbrowser.internal.rpc.transport.ConnectionChecker.run(ConnectionChecker.java:41)
at java.base/java.lang.Thread.run(Unknown Source)
Exception in thread “AWT-EventQueue-0” java.lang.IllegalStateException: Failed to receive the response.
at com.teamdev.jxbrowser.internal.rpc.transport.CommonThreadResponseConsumer.await(CommonThreadResponseConsumer.java:55)
at com.teamdev.jxbrowser.internal.rpc.transport.CommonThreadCallExecutor.execute(CommonThreadCallExecutor.java:26)
at com.teamdev.jxbrowser.internal.rpc.UniversalServiceConnection.invoke(UniversalServiceConnection.java:182)
at com.teamdev.jxbrowser.browser.internal.BrowserImpl.mainFrame(BrowserImpl.java:184)
at com.inductiveautomation.perspective.designer.workspace.JavaJsBridge.invokeFunction(JavaJsBridge.java:284)
at com.inductiveautomation.perspective.designer.workspace.JavaJsBridge.activateComponentTool(JavaJsBridge.java:256)
at com.inductiveautomation.perspective.designer.workspace.JavaJsBridge.activateComponentTool(JavaJsBridge.java:251)
at com.inductiveautomation.perspective.designer.workspace.palette.PaletteFrame.deselect(PaletteFrame.java:267)
at com.inductiveautomation.perspective.designer.workspace.ViewWorkspaceActions.updateEnabled(ViewWorkspaceActions.java:522)
at com.inductiveautomation.ignition.client.util.EDTUtil$ProcessQueue.run(EDTUtil.java:127)
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)
Caused by: java.lang.IllegalStateException: The connection has been closed.
at com.teamdev.jxbrowser.internal.rpc.transport.CommonThreadCallExecutor.lambda$execute$0(CommonThreadCallExecutor.java:21)
at com.teamdev.jxbrowser.deps.com.google.protobuf.RpcUtil$1.run(RpcUtil.java:79)
at com.teamdev.jxbrowser.deps.com.google.protobuf.RpcUtil$1.run(RpcUtil.java:70)
at com.teamdev.jxbrowser.internal.rpc.ServiceChannel$1.onError(ServiceChannel.java:70)
at com.teamdev.jxbrowser.internal.rpc.transport.SharedMemoryChannel.send(SharedMemoryChannel.java:78)
at com.teamdev.jxbrowser.internal.rpc.transport.SharedMemoryConnection.send(SharedMemoryConnection.java:73)
at com.teamdev.jxbrowser.internal.rpc.ServiceChannel.callMethod(ServiceChannel.java:48)
at com.teamdev.jxbrowser.browser.internal.rpc.BrowserStub.getMainFrame(BrowserStub.java:108)
at com.teamdev.jxbrowser.internal.rpc.transport.CommonThreadCallExecutor.execute(CommonThreadCallExecutor.java:19)
… 21 more
16:32:23.296 ERROR Chromium process exit code: -1073741819

java.lang.IllegalStateException
at com.teamdev.jxbrowser.deps.com.google.common.base.Preconditions.checkState(Preconditions.java:492)
at com.teamdev.jxbrowser.internal.CloseableImpl.checkNotClosed(CloseableImpl.java:34)
at com.teamdev.jxbrowser.engine.internal.EngineImpl.newBrowser(EngineImpl.java:555)
at com.inductiveautomation.perspective.designer.workspace.design.BrowserPanel.(BrowserPanel.java:139)
at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.init(ViewResourceEditor.java:362)
at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.init(ViewResourceEditor.java:67)
at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.loadResource(ResourceEditor.java:64)
at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.(ResourceEditor.java:39)
at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.(ViewResourceEditor.java:129)
at com.inductiveautomation.perspective.designer.workspace.ViewWorkspace.newResourceEditor(ViewWorkspace.java:347)
at com.inductiveautomation.ignition.designer.tabbedworkspace.TabbedResourceWorkspace.open(TabbedResourceWorkspace.java:246)
at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNode.open(ResourceNode.java:126)
at com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode.onDoubleClick(AbstractResourceNavTreeNode.java:351)
at com.inductiveautomation.ignition.designer.navtree.NavTreePanel$MouseListener.lambda$mousePressed$0(NavTreePanel.java:684)
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.1.10 (b2021090812)
Java: Azul Systems, Inc. 11.0.11

Do you have a 3rd party module Installed?

Those two errors look like symptoms, happening after the embedded browser session has already died, rather than causes.

Without going too far into the weeds, the gist is that the Perspective design session you interact with in the designer is actually a totally separate process from the rest of the designer; it’s an embedded Chromium web browser frame. Because it’s totally separate (and not even our code running the web browser) we don’t have ultimate control over how it handles. We’re hoping to land an upgrade to that embedded browser library in 8.1.12 or therabouts, which bumps the version a few notches on Chromium and also fixes various bugs. It’s possible that what you’re experiencing is one of those bugs we’ve already found and reported to that team. Unfortunately, that’s about all the good news I can offer at the moment.

If you can send the entire log export from the designer in (or get in contact with support) they may be able to identify some other issue that can be fixed in the meantime to improve performance, but I can’t guarantee anything.

1 Like

@josh3 Out of curiosity did you talk to support or get any resolution here?

For others who are experiencing the constant crashes I personally found that increasing the memory in my testing VM (which I was running both the gateway and the designer from) has made a dramatic improvement to the number of crashes I am getting.

4 Likes