IllegalStateException Error, Unable to deserialize resource Card, Cannot open views

Hey there,

I just opened the Ignition Maker Edition and wanted to edit a view that I have previously created. Now I get that Error for each View in that project.
The error is as following:
Message: Unable to deserialize resource Card
Details: IllegalStateException, Ignition v8.1.25 (b2023021409), Java: Azul Systems, Inc. 11.0.17

The console gives me:

Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: ViewResourceEditor could not be initialized. See logs for details.
	at com.inductiveautomation.perspective.designer.workspace.ViewResourceEditor.<init>(ViewResourceEditor.java:132)
	at com.inductiveautomation.perspective.designer.workspace.ViewWorkspace.newResourceEditor(ViewWorkspace.java:363)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.TabbedResourceWorkspace.open(TabbedResourceWorkspace.java:248)
	at com.inductiveautomation.ignition.designer.tabbedworkspace.ResourceNode.open(ResourceNode.java:139)
	at com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode.onDoubleClick(AbstractResourceNavTreeNode.java:407)
	at com.inductiveautomation.ignition.designer.navtree.NavTreePanel$MouseListener.lambda$mousePressed$0(NavTreePanel.java:698)
	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)

I am using macOS 13.4 on a Macbook Air, if that information is helpful.

Thank you in advance!
Louis

What do the logs contain regarding this?

After creating another project and logging into the ignition web interface, it suddenly worked.

Logs are containing LeasedActivationStrategy Errors:

com.inductiveautomation.ignition.gateway.licensing.activation.leased.protocol.api.LeasedActivationException: Unable to send HTTP POST request

at com.inductiveautomation.ignition.gateway.licensing.activation.leased.protocol.http.LeasedActivationHttpClient.sendHttpPostRequest(LeasedActivationHttpClient.java:46)

at com.inductiveautomation.ignition.gateway.licensing.activation.leased.protocol.http.LeasedActivationHttpClient.sendHttpPostRequest(LeasedActivationHttpClient.java:30)

at com.inductiveautomation.ignition.gateway.licensing.activation.leased.protocol.http.LeasedActivationHttpClient.activate(LeasedActivationHttpClient.java:69)

at com.inductiveautomation.ignition.gateway.licensing.LeasedActivationProtocolContext.doActivate(LeasedActivationProtocolContext.java:178)

at com.inductiveautomation.ignition.gateway.licensing.LeasedActivationStrategy$LeasedActivationLifecycle.sendActivate(LeasedActivationStrategy.java:315)

at com.inductiveautomation.ignition.gateway.licensing.LeasedActivationStrategy$LeasedActivationLifecycle.activate(LeasedActivationStrategy.java:373)

at com.inductiveautomation.ignition.gateway.licensing.LeasedActivationStrategy$LeasedActivationLifecycle.doCheck(LeasedActivationStrategy.java:426)

at com.inductiveautomation.ignition.gateway.licensing.LeasedActivationStrategy$LeasedActivationLifecycle.doCheck(LeasedActivationStrategy.java:435)

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: java.io.IOException: Operation timed out

at java.net.http/jdk.internal.net.http.HttpClientImpl.send(Unknown Source)

at java.net.http/jdk.internal.net.http.HttpClientFacade.send(Unknown Source)

at com.inductiveautomation.ignition.gateway.licensing.activation.leased.protocol.http.LeasedActivationHttpClient.sendHttpPostRequest(LeasedActivationHttpClient.java:44)

... 10 common frames omitted

java.io.IOException: Operation timed out

at java.base/sun.nio.ch.FileDispatcherImpl.read0(Native Method)

at java.base/sun.nio.ch.SocketDispatcher.read(Unknown Source)

at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)

at java.base/sun.nio.ch.IOUtil.read(Unknown Source)

at java.base/sun.nio.ch.IOUtil.read(Unknown Source)

at java.base/sun.nio.ch.SocketChannelImpl.read(Unknown Source)

at java.net.http/jdk.internal.net.http.SocketTube.readAvailable(Unknown Source)

at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.read(Unknown Source)

at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowTask.run(Unknown Source)

at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(Unknown Source)

at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(Unknown Source)

at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(Unknown Source)

at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalReadable(Unknown Source)

at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent.signalEvent(Unknown Source)

at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowEvent.handle(Unknown Source)

at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent(Unknown Source)

at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.lambda$run$3(Unknown Source)

at java.base/java.util.ArrayList.forEach(Unknown Source)

at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(Unknown Source)

The error you got in the designer doesn't have anything to do with the error you saw in the gateway logs. It's just a coincidence that they lined up. The designer failure was probably a transitory failure in Jxbrowser, the embedded browser engine used to render perspective views.

I'd highly recommend updating to 8.1.28 once it's out (probably today) which has an updated version of jxbrowser. In particular, this version works much better on macOs.

Looks like it was released yesterday afternoon/evening

1 Like