# Problem with historical tags

**URL:** <https://forum.inductiveautomation.com/t/problem-with-historical-tags/9748>\
**Category:** Ignition\
**Created:** [February 25, 2015, 9:31pm UTC](https://forum.inductiveautomation.com/t/problem-with-historical-tags/9748 "2015-02-25T21:31:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kogan](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@Kogan](https://forum.inductiveautomation.com/u/Kogan)\
**Post date:** [February 25, 2015, 9:31pm UTC](https://forum.inductiveautomation.com/t/problem-with-historical-tags/9748/1 "2015-02-25T21:31:42Z")

</div>

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:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e5a7e3b63facc151ea73e3b45db7bdb3d4bdc316.gif ":prayer:")  
[logs (1).bin.gz](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/7a6c25f41a5edf4b5db79f47f12fb27570dd4e25.gz) (245 KB)

---

<div class="post-metadata">

**Author:** ![ian](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ian](https://forum.inductiveautomation.com/u/ian)\
**Post date:** [September 9, 2015, 5:27am UTC](https://forum.inductiveautomation.com/t/problem-with-historical-tags/9748/2 "2015-09-09T05:27:42Z")

</div>

Hi Kogan

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

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](http://www.tutorialspoint.com/java/util/gregoriancalendar_computetime.htm) link could help your debugging
