I’ve created a driver that uses DBTagStore to store/load Tag configuration. I’m getting an exception when initializing my tag with an Alarm configuration:
java.lang.NullPointerException
at com.inductiveautomation.ignition.gateway.sqltags.execution.tags.AbstractExecutableTag$AlarmConfigHarness.initialize(AbstractExecutableTag.java:969)
at com.inductiveautomation.ignition.gateway.sqltags.execution.tags.AbstractExecutableTag.initialize(AbstractExecutableTag.java:348)
My code does this, where def is the TagDefinition I receive from the TagStore:
this.configure(def);
this.initialize(null);
Is there any further step I need to set up Alarm configuration so the AlarmConfigHArness initializes properly?
Many thanks!
Ivan