← Back to team overview

dhis2-devs team mailing list archive

Re: Error executing Maintenance Operations

 

Hi Paulo,

hard to say but we fixed a similar bug some time ago. If not already, can
you please try again on the very latest 2.13 stable build?

regards,

Lars



On Tue, Dec 3, 2013 at 1:42 PM, Paulo Grácio
<pgracio@xxxxxxxxxxxxxxxxxxxx>wrote:

> 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(JdbcEventAnalyticsTableManager.java:74)
>
>                 at
> org.hisp.dhis.analytics.table.AbstractJdbcTableManager.getTables(AbstractJdbcTableManager.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(AopUtils.java:317)
>
>                 at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(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.invoke(TransactionInterceptor.java:94)
>
>                 at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>
>                 at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>
>                 at $Proxy93.getTables(Unknown Source)
>
>
>
>
>
> Regards,
>
> Paulo Grácio
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

References