SerializationException caused by PMIButton in HashMap during open a window (Ignition 8.0.10)

Hello everyone,

I'm experiencing a serialization error in one of my projects and I'm trying to understand the root cause.

Error invoking [HashMap]{PMIButton: Button=[com.inductiveautomation.factorypmi.application.binding.action.ActionAdapter@30768c29]}.put(PMIButton: Button)

SerializationException: Error invoking [HashMap]{PMIButton: Button=[com.inductiveautomation.factorypmi.application.binding.action.ActionAdapter@30768c29]}.put(PMIButton: Button)
caused by IllegalArgumentException

Ignition v8.0.10 (b2020031912)
Java: Azul Systems, Inc. 11.0.6

The exception appears to be related to a PMIButton component and an associated ActionAdapter object being serialized inside a HashMap.

It happens when I try to open a window. I can't control any of the buttons inside because I can't see them. If I download the project, everything works.

At the moment I only have the exception shown above, but I can provide additional stack trace details if needed.

Any suggestions or pointers would be greatly appreciated.

Thanks!

v8.0.10 is incredibly old and many hundreds (thousands?) of bugs have since been fixed. If you cannot upgrade to current, at least upgrade to the last of the 8.0.x series.

In the meantime, instead of opening the window, shift-right-click on the window in the designer tree and choose to copy the XML. Put into your favorite external code editor and study the cryptic format. You may be able to surgically alter it to avoid this.

The full stacktrace might help either identify the bug if it's already fixed or at least guide you towards what's wrong.