Error deserializing data from data store Ignition 8.0.4

I noticed an Ignition 8.0.4 historian server’s logs are getting spammed with the below error every few seconds.
StoreAndForward.Sink.HsqlDataStore Error deserializing data from data store.
Does the first line of the error details suggest an Ignition bug?

Error details
java.lang.ClassCastException: cannot assign instance of com.inductiveautomation.ignition.common.sqltags.model.types.DataQuality to field com.inductiveautomation.ignition.common.model.values.BasicQualifiedValue.quality of type com.inductiveautomation.ignition.common.model.values.QualityCode in instance of com.inductiveautomation.ignition.common.model.values.BasicQualifiedValue

at java.base/java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(Unknown Source)

at java.base/java.io.ObjectStreamClass$FieldReflector.checkObjectFieldValueTypes(Unknown Source)

at java.base/java.io.ObjectStreamClass.checkObjFieldValueTypes(Unknown Source)

at java.base/java.io.ObjectInputStream.defaultCheckFieldValues(Unknown Source)

at java.base/java.io.ObjectInputStream.readSerialData(Unknown Source)

at java.base/java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)

at java.base/java.io.ObjectInputStream.readObject0(Unknown Source)

at java.base/java.io.ObjectInputStream.defaultReadFields(Unknown Source)

at java.base/java.io.ObjectInputStream.readSerialData(Unknown Source)

at java.base/java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)

at java.base/java.io.ObjectInputStream.readObject0(Unknown Source)

at java.base/java.io.ObjectInputStream.readObject(Unknown Source)

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

at java.base/jdk.internal.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.base/java.lang.reflect.Method.invoke(Unknown Source)

at java.base/java.io.ObjectStreamClass.invokeReadObject(Unknown Source)

at java.base/java.io.ObjectInputStream.readSerialData(Unknown Source)

at java.base/java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)

at java.base/java.io.ObjectInputStream.readObject0(Unknown Source)

at java.base/java.io.ObjectInputStream.readObject(Unknown Source)

at com.inductiveautomation.ignition.gateway.cluster.ClusterUtil.deserializeObject(ClusterUtil.java:96)

at com.inductiveautomation.ignition.gateway.cluster.ClusterUtil.deserializeObject(ClusterUtil.java:56)

at com.inductiveautomation.ignition.gateway.cluster.ClusterUtil.unzipAndDeserializeObject(ClusterUtil.java:90)

at com.inductiveautomation.ignition.gateway.history.stores.AbstractDatasourceStore.deserializeObject(AbstractDatasourceStore.java:490)

at com.inductiveautomation.ignition.gateway.history.stores.AbstractDatasourceStore.loadTransactions(AbstractDatasourceStore.java:563)

at com.inductiveautomation.ignition.gateway.history.stores.AbstractDatasourceStore.syncdTakeNext(AbstractDatasourceStore.java:506)

at com.inductiveautomation.ignition.gateway.history.stores.AbstractStore.takeNext(AbstractStore.java:208)

at com.inductiveautomation.ignition.gateway.history.stores.MultiStageStore.syncdTakeNext(MultiStageStore.java:165)

at com.inductiveautomation.ignition.gateway.history.stores.AbstractStore.takeNext(AbstractStore.java:208)

at com.inductiveautomation.ignition.gateway.history.forwarders.ForwarderThread.synchedTakeNext(ForwarderThread.java:204)

at com.inductiveautomation.ignition.gateway.history.forwarders.RedundancyAwareForwarder.synchedTakeNext(RedundancyAwareForwarder.java:68)

at com.inductiveautomation.ignition.gateway.history.forwarders.ForwarderThread.run(ForwarderThread.java:139)

Store & Forward is all at 0% with nothing quarantined and the trends that rely on data from this server all seem to be working.

I 2nd this. Any ideas?

Did you recently upgrade from 7.9.x to 8.0.x?

1 Like

We upgraded to 8.0.5 November 4th and I just checked the logs and it doesn’t look like we’ve had any of these since then (through 8.0.6 & 8.0.7 upgrades as well).

@PGriffith; in case it’s helpful: we upgraded from 7.9.10 to 8.0.2 June 6th and I noticed this in October after upgrading from 8.0.2 to 8.0.4 on October 10th.

Fixed the error yesterday, thanks for reply though. Found a response from another thread finally, and turned off Data Cache, and renamed the folder. Yes we upgraded recently and the store and forward was having issues with old quarantined data.

2 Likes