When I click on the "create new view" I am getting this error. I saw that the issue was present in 2019.
Designer Launcher version: 1.1.43
expanded error: [AWT-EventQueue-0] ERROR com.inductiveautomation.ignition.client.util.gui.ErrorUtil -- View editor cannot be initialized due to browser library error. See logs for more details.
Paste error log message here please.
[AWT-EventQueue-0] ERROR com.inductiveautomation.ignition.client.util.gui.ErrorUtil -- View editor cannot be initialized due to browser library error. See logs for more details.
Is that from the designer diagnostics console? I don't remember if the designer has its own log file, but look for one in your user directory under .ignition folder
Restart your designer and look in the designer console for errors starting the Perspective module. Post those here. (Use the comment editor's "Preformatted text" styling, not screenshots.)
18:25:30.658 [Designer-Startup] INFO designer.main -- Downloading... [+0]
18:25:30.702 [Designer-Startup] INFO designer.main -- Cleanup... [+44]
18:25:30.710 [Designer-Startup] INFO designer.main -- Initializing UI... [+51]
18:25:30.757 [Designer-Startup] INFO tags.manager.gwinterface -- Tag poll rate changed to 250 ms
18:25:30.757 [DesignerExecEngine-1] INFO tags.subscriptions -- Changing connected quality to 'Good'
18:25:32.351 [Designer-Startup] INFO designer.main -- Starting module: Vision [+1693]
18:25:35.077 [Designer-Startup] INFO designer.main -- Starting module: Perspective [+4419]
18:25:36.757 [Designer-Startup] INFO Perspective.Designer -- Starting up Perspective module. Mode: Trial
18:25:41.732 ERROR Chromium process exit code: 139
18:25:41.733 [Thread-10] ERROR com.teamdev.jxbrowser -- Chromium process exit code: 139
18:25:41.733 ERROR Crash dump dir: /Users/debapriyo.chakraborty/Library/Application Support/JxBrowser/7.36.3/CrashReports
18:25:41.733 [Thread-10] ERROR com.teamdev.jxbrowser -- Crash dump dir: /Users/debapriyo.chakraborty/Library/Application Support/JxBrowser/7.36.3/CrashReports
18:25:41.765 [Thread-10] ERROR designer.JXBrowserUtil -- Browser Engine has reported a crash with exit code 139: EngineCrashed{exitCode=139}
18:25:41.897 [Designer-Startup] ERROR Perspective.WorkspaceRootConfig -- Unable to set up session props adapter
com.teamdev.jxbrowser.ObjectClosedException: Attempted to use a closed object.
You're trying to call a method of a closed object. Usually, it happens when you
call the close()
method of an object (or its owner) prior to calling methods
of that object.
Another common cause of this exception is working with cached DOM or JavaScript
objects. For example, if you navigate to another web page and try to call
a method of a DOM or a JavaScript object from the previous page, you will get
this exception.
It's also possible that the native Chromium process has crashed. In that case,
all the objects that belong to that process are closed automatically.
The following article explains this exception in detail: Frequently encountered issues | JxBrowser
at com.teamdev.jxbrowser.internal.rpc.ServiceConnectionImpl.checkNotClosed(ServiceConnectionImpl.java:243)
at com.teamdev.jxbrowser.internal.rpc.ServiceConnectionImpl.invoke(ServiceConnectionImpl.java:211)
at com.teamdev.jxbrowser.navigation.internal.NavigationImpl.loadAndWait(NavigationImpl.java:227)
at com.teamdev.jxbrowser.navigation.internal.NavigationImpl.loadUrlAndWait(NavigationImpl.java:104)
at com.teamdev.jxbrowser.navigation.internal.NavigationImpl.loadUrlAndWait(NavigationImpl.java:91)
at com.teamdev.jxbrowser.navigation.internal.NavigationImpl.loadUrlAndWait(NavigationImpl.java:83)
at com.teamdev.jxbrowser.browser.internal.BrowserImpl.initializeMainFrame(BrowserImpl.java:401)
at com.teamdev.jxbrowser.profile.internal.ProfileImpl.newBrowser(ProfileImpl.java:150)
at com.teamdev.jxbrowser.engine.internal.EngineImpl.newBrowser(EngineImpl.java:425)
at com.inductiveautomation.perspective.designer.workspace.pageconfig.SessionPropsAdapter.<init>(SessionPropsAdapter.java:82)
at com.inductiveautomation.perspective.designer.workspace.pageconfig.WorkspaceRootConfig.init(WorkspaceRootConfig.java:40)
at com.inductiveautomation.perspective.designer.workspace.ViewWorkspace.<init>(ViewWorkspace.java:150)
at com.inductiveautomation.perspective.designer.DesignerHook.lambda$startup$4(DesignerHook.java:249)
at java.base/java.util.Optional.ifPresent(Unknown Source)
at com.inductiveautomation.perspective.designer.DesignerHook.startup(DesignerHook.java:234)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$LoadedModule.startup(IgnitionDesigner.java:2009)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.startupModule(IgnitionDesigner.java:1217)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:1013)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler.lambda$new$2(IgnitionDesigner.java:2073)
at java.base/java.lang.Thread.run(Unknown Source)
18:25:42.094 [Designer-Startup] INFO designer.main -- Starting module: Symbol Factory [+11436]
18:25:42.102 [Designer-Startup] INFO designer.main -- Starting module: Alarm Notification [+11444]
18:25:42.190 [Designer-Startup] INFO designer.main -- Starting module: SFC [+11532]
18:25:42.675 [Designer-Startup] INFO designer.main -- Starting module: OPC-UA [+12017]
18:25:42.675 [Designer-Startup] INFO designer.main -- Starting module: Enterprise Administration [+12017]
18:25:42.681 [Designer-Startup] INFO designer.main -- Starting module: SQL Bridge [+12023]
18:25:42.869 [Designer-Startup] INFO designer.main -- Starting module: Legacy DNP3 Driver [+12211]
18:25:42.870 [Designer-Startup] INFO designer.main -- Starting module: Serial Support Client [+12212]
18:25:42.871 [Designer-Startup] INFO designer.main -- Starting module: saeArtifact Ignition Module [+12213]
18:25:42.871 [Designer-Startup] INFO designer.main -- Starting module: Reporting [+12213]
18:25:42.895 [Designer-Startup] INFO reporting.Designer -- Starting up Reporting Module. Mode: Trial
18:25:43.164 [Designer-Startup] INFO designer.main -- Initializing Scripting... [+12506]
18:25:43.201 [Designer-Startup] INFO designer.main -- Initializing UI... [+12543]
18:25:59.511 [AWT-EventQueue-0] ERROR com.inductiveautomation.ignition.client.util.gui.ErrorUtil -- View editor cannot be initialized due to browser library error. See logs for more details.
Please fix your post:
More information here:
But anyways, this is the problem:
18:25:36.757 [Designer-Startup] INFO Perspective.Designer -- Starting up Perspective module. Mode: Trial
18:25:41.732 ERROR Chromium process exit code: 139
18:25:41.733 [Thread-10] ERROR com.teamdev.jxbrowser -- Chromium process exit code: 139
18:25:41.733 ERROR Crash dump dir: /Users/debapriyo.chakraborty/Library/Application Support/JxBrowser/7.36.3/CrashReports
18:25:41.733 [Thread-10] ERROR com.teamdev.jxbrowser -- Crash dump dir: /Users/debapriyo.chakraborty/Library/Application Support/JxBrowser/7.36.3/CrashReports
18:25:41.765 [Thread-10] ERROR designer.JXBrowserUtil -- Browser Engine has reported a crash with exit code 139: EngineCrashed{exitCode=139}
18:25:41.897 [Designer-Startup] ERROR Perspective.WorkspaceRootConfig -- Unable to set up session props adapter
com.teamdev.jxbrowser.ObjectClosedException: Attempted to use a closed object.
Please share more information about your environment. (Workstation platform & OS & Ignition version.)
You're on MacOS - presumably Apple Silicon and with a recent OS upgrade.
You're going to have to update Ignition (to at least 8.1.44) to get the newer version of JxBrowser that fully supports Sequoia on Apple Silicon.
Workstation version: macOS Sequoia 15.3.2
Ignition version: 8.1.43
I have upgraded the versions and it started working. Thank you all. Cheers