← Back to team overview

dhis2-users team mailing list archive

Day light savings time gap error.

 

Dear All,

I am using dhis2. version 2.16 build revision 16322 and time Zone is UTC
+06:00 Dhaka. so it do not have any Daylight savings time changes.

However, i am getting day light saving time gap error during Analytic and
Data mart and Generate Resource tables.

Here i attach the error file and screen short.

Thanks

*Regards*

*Fatema Uddin*
----------------------------------------
*Technical Advisor HIS*
Priority Area Health
Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH
House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh
*Office location:*
Room # 304, Shshid Dr.Milan Bhavan,                              Management
Information System,
Directorate General of Health Services of MoHFW,
Mohakhali, Dhaka-1212, Bangladesh

Phone: +880 2 881 64 59
Fax:   +880 2 881 38 75
* INFO  2014-09-01 10:37:15,221 Create period structure SQL: CREATE TABLE _perio
dstructure (periodid INTEGER NOT NULL PRIMARY KEY, iso VARCHAR(15) NOT NULL, day
sno INTEGER NOT NULL, "daily" VARCHAR(15), "weekly" VARCHAR(15), "monthly" VARCH
AR(15), "bimonthly" VARCHAR(15), "quarterly" VARCHAR(15), "sixmonthly" VARCHAR(1
5), "sixmonthlyapril" VARCHAR(15), "yearly" VARCHAR(15), "financialapril" VARCHA
R(15), "financialjuly" VARCHAR(15), "financialoct" VARCHAR(15)) (JdbcResourceTab
leStore.java [taskScheduler-1])
* ERROR 2014-09-01 10:38:34,607 Unexpected error occurred in scheduled task. (Ta
skUtils.java [taskScheduler-1])
org.joda.time.IllegalInstantException: Illegal instant due to time zone offset t
ransition (daylight savings time 'gap'): 1941-09-30T18:06:40.000 (Asia/Dhaka)
        at org.joda.time.chrono.ZonedChronology.localToUTC(ZonedChronology.java:
142)
        at org.joda.time.chrono.ZonedChronology.getDateTimeMillis(ZonedChronolog
y.java:118)
        at org.joda.time.chrono.AssembledChronology.getDateTimeMillis(AssembledC
hronology.java:133)
        at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:254)
        at org.joda.time.DateTime.<init>(DateTime.java:357)
        at org.hisp.dhis.calendar.DateUnit.toDateTime(DateUnit.java:187)
        at org.hisp.dhis.calendar.ChronologyBasedCalendar.weekday(ChronologyBase
dCalendar.java:251)
        at org.hisp.dhis.period.SixMonthlyAbstractPeriodType.createPeriod(SixMon
thlyAbstractPeriodType.java:78)
        at org.hisp.dhis.period.PeriodType.createPeriod(PeriodType.java:230)
        at org.hisp.dhis.period.PeriodType.createPeriod(PeriodType.java:223)
        at org.hisp.dhis.resourcetable.DefaultResourceTableService.generatePerio
dTable(DefaultResourceTableService.java:501)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.
proceedWithInvocation(TransactionInterceptor.java:96)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.
invokeWithinTransaction(TransactionAspectSupport.java:260)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:94)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
        at com.sun.proxy.$Proxy94.generatePeriodTable(Unknown Source)
        at org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.generateAll(
ResourceTableTask.java:112)
        at org.hisp.dhis.resourcetable.scheduling.ResourceTableTask.run(Resource
TableTask.java:81)
        at org.hisp.dhis.scheduling.ScheduledTasks.run(ScheduledTasks.java:60)
        at org.springframework.scheduling.support.DelegatingErrorHandlingRunnabl
e.run(DelegatingErrorHandlingRunnable.java:53)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$201(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Attachment: Day LIght Saving Error 2.16.png
Description: PNG image


Follow ups