[Bug-12013] Perspective Missing in the Designer

Downloaded and installed the beta version as of 2019-01-08 08:00, and perspective is missing from the designer.

The following is in the designer console log

08:56:32.094 [AWT-EventQueue-0] ERROR designer.main - Failed to start Perspective module - unable to initialize browser
java.lang.NoClassDefFoundError: com/teamdev/jxbrowser/chromium/BrowserPreferences
	at com.inductiveautomation.ignition.designer.JXBrowserUtil.startup(JXBrowserUtil.java:29)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadModules(IgnitionDesigner.java:753)
	at com.inductiveautomation.ignition.designer.IgnitionDesigner.startup(IgnitionDesigner.java:453)
	at com.inductiveautomation.ignition.designer.DesignerStartupHook$2.run(DesignerStartupHook.java:313)
	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.ClassNotFoundException: com.teamdev.jxbrowser.chromium.BrowserPreferences
	at java.base/java.net.URLClassLoader.findClass(Unknown Source)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	... 17 common frames omitted

1 Like

Thanks for the report, we’re looking into the issue and will get it resolved in an upcoming beta update.

I also have this issue. The wrapper.log shows the following error:

org.xml.sax.SAXException: XML Parsing of optional library manifest 'file.xml' failed due missing file 'jxbrowser-6.22.jar.jar'
...
Caused by: java.io.FileNotFoundException: lib/opt/jxbrowser/jxbrowser-6.22.jar.jar (No such file or directory)

/usr/local/bin/ignition/lib/opt/jxbrowser/jxbrowser-6.22.jar exists, but /usr/local/bin/ignition/lib/opt/jxbrowser/jxbrowser-6.22.jar.jar does not.

I tried adding a symlink for the .jar.jar as a workaround, but that doesn’t seem to change anything.

This got fixed yesterday but I don’t know if the nightly build was successful.

(Still having this today… was told in the post I made today, 1-9-19, that this will be fixed in the next few nightlies)

I have the same problem:

10:08:45.944 [AWT-EventQueue-0] ERROR designer.main - Failed to start Perspective module - unable to initialize browser
java.lang.NoClassDefFoundError: com/teamdev/jxbrowser/chromium/BrowserPreferences
at com.inductiveautomation.ignition.designer.JXBrowserUtil.startup(JXBrowserUtil.java:29)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadModules(IgnitionDesigner.java:753)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.startup(IgnitionDesigner.java:453)
at com.inductiveautomation.ignition.designer.DesignerStartupHook$2.run(DesignerStartupHook.java:313)
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.ClassNotFoundException: com.teamdev.jxbrowser.chromium.BrowserPreferences
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
… 17 common frames omitted

Doesn’t look like last night’s publication included the fix, but it should be fixed in tomorrow’s build, so if your build is from 11Jan2018 or later and you continue to see issues with jxbrowser loading, please let us know.

1 Like

This issue will be fixed (separate from the main issue in this thread) in the next nightly build as well.

These issues were fixed in the build that was uploaded today (1/11). Please let us know if you continue to see this behavior after upgrading.

Confirmation. Perspective is back in the designer.

1 Like