Problem with historical tags

Hello.
A few weeks ago, I changed historical tags in running project. I reduced time in special scan class for my tags and after that ALL historical tags stopped write in DB. (It use another scan class)
I tried to delete tags, create new, change scan time, but the same problem: date doesn’t pulling.
Connection state is “running” with DB. Second DB is running correct all time

I saw in console this faults:

ForwardThread	Error in run thread.

java.lang.IllegalArgumentException: YEAR: 292278994 → 292269055
at java.util.GregorianCalendar.computeTime(Unknown Source)
at java.util.Calendar.updateTime(Unknown Source)
at java.util.Calendar.getTimeInMillis(Unknown Source)
at org.hsqldb.HsqlDateTime.convertMillisFromCalendar(Unknown Source)
at org.hsqldb.types.DateTimeType.convertJavaToSQL(Unknown Source)
at org.hsqldb.jdbc.JDBCPreparedStatement.setParameter(Unknown Source)
at org.hsqldb.jdbc.JDBCPreparedStatement.setDate(Unknown Source)
at org.apache.commons.dbcp.DelegatingPreparedStatement.setDate(DelegatingPreparedStatement.java:138)
at com.inductiveautomation.ignition.gateway.localdb.hsql.DelegatingDataSource$DelegatingConnection$DelegatingPreparedStatement.setDate(DelegatingDataSource.java:650)
at com.inductiveautomation.ignition.gateway.history.stores.AbstractDatasourceStore.loadTransactions(AbstractDatasourceStore.java:527)
at com.inductiveautomation.ignition.gateway.history.stores.AbstractDatasourceStore.syncdTakeNext(AbstractDatasourceStore.java:491)
at com.inductiveautomation.ignition.gateway.history.stores.AbstractStore.takeNext(AbstractStore.java:195)
at com.inductiveautomation.ignition.gateway.history.stores.MultiStageStore.syncdTakeNext(MultiStageStore.java:170)
at com.inductiveautomation.ignition.gateway.history.stores.AbstractStore.takeNext(AbstractStore.java:195)
at com.inductiveautomation.ignition.gateway.history.forwarders.ForwarderThread.synchedTakeNext(ForwarderThread.java:196)
at com.inductiveautomation.ignition.gateway.history.forwarders.RedundancyAwareForwarder.synchedTakeNext(RedundancyAwareForwarder.java:68)
at com.inductiveautomation.ignition.gateway.history.forwarders.ForwarderThread.run(ForwarderThread.java:128)

I don’t understand what’s problem? :prayer:
logs (1).bin.gz (245 KB)

Hi Kogan

Not sure if it has something to do with reducing the time for the special scan class :frowning:

But it shows

[quote]java.lang.IllegalArgumentException: YEAR: 292278994 -> 292269055
at java.util.GregorianCalendar.computeTime(Unknown Source)[/quote]

So, perhaps you can start by checking if your argument is acceptable for your call

See if this link could help your debugging