TagHistoryDatasourceSink Error initializing data sink

What should I be looking at to solve this?
Database is connected. I can read and write to tables. There is no history records been added. They are all getting stuck in the store and forward engine.

11:11:15 AM 	TagHistoryDatasourceSink 	Error initializing data sink.

java.lang.ArrayIndexOutOfBoundsException: 255
at com.inductiveautomation.ignition.common.sqltags.history.InterpolationMode.getTypeForValue(InterpolationMode.java:42)
at com.inductiveautomation.ignition.gateway.sqltags.history.storage.TagHistoryDatasourceSink.loadTagIdCache(TagHistoryDatasourceSink.java:457)
at com.inductiveautomation.ignition.gateway.sqltags.history.storage.TagHistoryDatasourceSink.initialize(TagHistoryDatasourceSink.java:190)
at com.inductiveautomation.ignition.gateway.history.sinks.AbstractSink.tryToInit(AbstractSink.java:112)
at com.inductiveautomation.ignition.gateway.sqltags.history.storage.TagHistoryDatasourceSink.tryToInit(TagHistoryDatasourceSink.java:180)
at com.inductiveautomation.ignition.gateway.history.sinks.AbstractSink.isAccepting(AbstractSink.java:129)
at com.inductiveautomation.ignition.gateway.history.sinks.AbstractDatasourceSink.isAccepting(AbstractDatasourceSink.java:81)
at com.inductiveautomation.ignition.gateway.sqltags.history.storage.TagHistoryDatasourceSink.isAccepting(TagHistoryDatasourceSink.java:247)
at com.inductiveautomation.ignition.gateway.history.sinks.AggregateSink.isAccepting(AggregateSink.java:88)
at com.inductiveautomation.ignition.gateway.history.forwarders.ForwarderThread.run(ForwarderThread.java:118)

l

Just so the Forum knows.
I solved this with Bobby’s help. As I expected I had done something that I shouldn’t have. I just couldn’t figure out what it was.

(Tip: don’t mess with the query mode)

You say it is solved but there is NOTHING here telling anyone what resolved the issue. Would you be so kind as to enlighten us with the solution to the problem?

Did you look at the dates? So much has changed in the years since that post that nothing about the solution is likely to apply. Start a new post with your problem details.

2 Likes