"SampleQuickStart" Crashs in Ignition 8.1.17

Good afternoon.

I’m trying Ignition 8.1.17 on my personal laptop (8GB RAM, Intel i5-7300HQ CPU).
Now, I’m studying the “SampleQuickStart” project in the Designer.
Somes times, if I have open 3 or 4 views in the Designer, when I shift from a view to another, an error occurs and the next message is shown:

From then on, I can’t open any views and every time I try it the same error occurs. The only solution is to close the Designer and reopen it.

The Gateway and the Designer are running on my personal laptop.

Best Regards.

Look at ignition.conf's memory settings for the gateway, and the designer memory allowance. The sum is likely too much for your laptop specs, especially if the DB is local, too.

Another possibility is an aggressive Anti-Virus package trying to scan all the traffic to/from your gateway.

1 Like

Thanks by the response.

is it the max memory that Gateway will use?

image

Best Regards.

That’s the control, yes. Technically it will use a bit more. I recommend setting min==max, as that ensures no OS delays after startup. (Once allocated in java, it isn’t given back to the OS.)

This sounds like a JxBrowser crash. It looks like you’re on Windows, but what version? Are there any errors in the output console (before the TimeoutException)?

Good afternoon.

It is Windows 10.

Output Console:

21:53:50.858 [AWT-EventQueue-0] ERROR com.inductiveautomation.ignition.client.util.gui.ErrorUtil - null
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:299)
at com.inductiveautomation.perspective.designer.workspace.JavaJsBridge.sendRaw(JavaJsBridge.java:348)
at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor$1.onAnyChange(ViewResourceEditor.java:160)
at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor$1.lambda$resourcesModified$2(ViewResourceEditor.java:175)
at java.base/java.util.ArrayList.forEach(Unknown Source)
at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor$1.resourcesModified(ViewResourceEditor.java:175)
at com.inductiveautomation.ignition.common.project.AbstractProject.notifyResourceListeners(AbstractProject.java:351)
at com.inductiveautomation.ignition.common.project.AbstractProject.updateEffectiveState(AbstractProject.java:153)
at com.inductiveautomation.ignition.designer.project.DesignerProjectTreeImpl.modifyResource(DesignerProjectTreeImpl.java:170)
at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceEditor.commit(ResourceEditor.java:184)
at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.notifyDeactivated(ViewResourceEditor.java:594)
at com.inductiveautomation.perspective.designer.workspace.PerspectiveWorkspaceListener.editorSelected(PerspectiveWorkspaceListener.java:73)
at com.inductiveautomation.ignition.designer.tabbedworkspace.TabbedResourceWorkspace$3.stateChanged(TabbedResourceWorkspace.java:115)
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
at com.teamdev.jxbrowser.deps.com.google.common.base.Preconditions.checkState(Preconditions.java:492)
at com.teamdev.jxbrowser.internal.rpc.ServiceConnectionImpl.checkNotClosed(ServiceConnectionImpl.java:243)
at com.teamdev.jxbrowser.internal.rpc.ServiceConnectionImpl.invoke(ServiceConnectionImpl.java:212)
at com.teamdev.jxbrowser.zoom.internal.ZoomImpl.level(ZoomImpl.java:38)
at com.inductiveautomation.perspective.designer.workspace.design.BrowserPanel.lambda$onActivate$19(BrowserPanel.java:845)
at com.inductiveautomation.perspective.designer.workspace.design.BrowserPanel$BrowserLoadingState.fireAction(BrowserPanel.java:970)
at com.inductiveautomation.perspective.designer.workspace.design.BrowserPanel$BrowserLoadingState.whenLoaded(BrowserPanel.java:984)
at com.inductiveautomation.perspective.designer.workspace.design.BrowserPanel.onActivate(BrowserPanel.java:844)
at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.notifyActivated(ViewResourceEditor.java:581)
at com.inductiveautomation.perspective.designer.workspace.PerspectiveWorkspaceListener.editorSelected(PerspectiveWorkspaceListener.java:80)
at com.inductiveautomation.ignition.designer.tabbedworkspace.TabbedResourceWorkspace$3.stateChanged(TabbedResourceWorkspace.java:115)
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)
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:299)
at com.inductiveautomation.perspective.designer.workspace.JavaJsBridge.activateComponentTool(JavaJsBridge.java:271)
at com.inductiveautomation.perspective.designer.workspace.JavaJsBridge.activateComponentTool(JavaJsBridge.java:266)
at com.inductiveautomation.perspective.designer.workspace.palette.PaletteFrame.deselect(PaletteFrame.java:267)
at com.inductiveautomation.perspective.designer.workspace.ViewWorkspaceActions.updateEnabled(ViewWorkspaceActions.java:531)
at com.inductiveautomation.ignition.client.util.EDTUtil$ProcessQueue.run(EDTUtil.java:128)
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
21:53:44.962 [EDT-Watchdog-1] INFO edt-watchdog - Non-responsive UI thread detected. Stack saved at ‘C:\Users\Alberto.ignition\cache\gwlocalhost_8088\C0\NonResponsiveEdt-2022-05-23_215342.json’
21:53:59.588 ERROR Chromium process exit code: -1073741819
21:53:59.631 [Thread-13] ERROR com.teamdev.jxbrowser - Chromium process exit code: -1073741819
21:54:02.609 [Thread-13] ERROR designer.JXBrowserUtil - Browser Engine has reported a crash with exit code -1073741819: EngineCrashed{exitCode=-1073741819}

Well, that’s definitely a JxBrowser crash. Is there anything before that in the logs?

How to avoid very long log posts.

Code and hide details

3 Likes

No, that’s all.

Best Regards.