← Back to team overview

dhis2-devs team mailing list archive

Error executing Maintenance Operations

 

Hi all, I’m getting this error when executing Maintenance Operations on a
recent created database, any idea?

 

* INFO  2013-12-03 12:33:14,194 Get tables using earliest: 2013-03-01
00:00:00.0, latest: 2013-09-30 00:00:00.0 (AbstractJdbcTableManager.java
[http-bio-8080-exec-2])

* INFO  2013-12-03 12:33:14,379 Get tables using earliest: 2013-03-01
00:00:00.0, latest: 2013-09-30 00:00:00.0 (AbstractJdbcTableManager.java
[http-bio-8080-exec-2])

* ERROR 2013-12-03 12:33:14,428 Error while executing action
(ExceptionInterceptor.java [http-bio-8080-exec-2])

java.lang.NullPointerException

                at java.util.Calendar.setTime(Calendar.java:1076)

                at
org.hisp.dhis.period.PeriodType.createCalendarInstance(PeriodType.java:230)

                at
org.hisp.dhis.period.YearlyPeriodType.createPeriod(YearlyPeriodType.java:79)

                at
org.hisp.dhis.analytics.table.PartitionUtils.getPeriods(PartitionUtils.java:
59)

                at
org.hisp.dhis.analytics.table.JdbcEventAnalyticsTableManager.getTables(JdbcE
ventAnalyticsTableManager.java:74)

                at
org.hisp.dhis.analytics.table.AbstractJdbcTableManager.getTables(AbstractJdb
cTableManager.java:115)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

                at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

                at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:317)

                at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:183)

                at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:150)

                at
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceed
WithInvocation(TransactionInterceptor.java:96)

                at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeW
ithinTransaction(TransactionAspectSupport.java:260)

                at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java:94)

                at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:172)

                at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)

                at $Proxy93.getTables(Unknown Source)

 

 

Regards,

Paulo Grácio


Follow ups