Hi Moses,
I am not sure exactly why it fails, but could you let me know how many rows
you have in your "pushanalysis" table, and if there are more than 5, could
you attach the data of those not mentioned in the log:
* INFO 2018-10-25 15:11:30,520 'system-process' create
org.hisp.dhis.scheduling.JobConfiguration, name: PushAnalysis: JmuWTH9oUcn,
uid: bqBqbARSW8s (AuditLogUtil.java [localhost-startStop-1])
* INFO 2018-10-25 15:11:30,530 'system-process' create
org.hisp.dhis.scheduling.JobConfiguration, name: PushAnalysis: MWotV5Va75Q,
uid: Y9mDJj6AuqP (AuditLogUtil.java [localhost-startStop-1])
* INFO 2018-10-25 15:11:30,539 'system-process' create
org.hisp.dhis.scheduling.JobConfiguration, name: PushAnalysis: GeryOIbsWhg,
uid: jPJ6dV7ojuC (AuditLogUtil.java [localhost-startStop-1])
* INFO 2018-10-25 15:11:30,543 'system-process' create
org.hisp.dhis.scheduling.JobConfiguration, name: PushAnalysis: a19w4BhUNo8,
uid: I49TPE2wGcu (AuditLogUtil.java [localhost-startStop-1])
* INFO 2018-10-25 15:11:30,546 'system-process' create
org.hisp.dhis.scheduling.JobConfiguration, name: PushAnalysis: PNhbOVQfNzv,
uid: qAS36jVFphT (AuditLogUtil.java [localhost-startStop-1])
On Thu, Oct 25, 2018 at 3:39 PM moses mwale wrote:
> whenever i upgrade from 2.28 to 2.29 i see error below
>
> * INFO 2018-10-25 15:11:29,932 'system-process' create
> org.hisp.dhis.scheduling.JobConfiguration, name: Analytics, uid:
> rIxDo7LeidU (AuditLogUtil.java [localhost-startStop-1])
> * ERROR 2018-10-25 15:11:29,940 Could not map job type
> '[resourceTableTask]' with cron '0 0 23 * * ?' (SchedulerUpgrade.java
> [localhost-startStop-1])
> * ERROR 2018-10-25 15:11:29,940 Could not map job type
> '[resourceTableTask]' with cron '0 0 23 * * ?' (SchedulerUpgrade.java
> [localhost-startStop-1])
> * ERROR 2018-10-25 15:11:29,941 Could not map job type
> '[resourceTableTask]' with cron '0 0 23 * * ?' (SchedulerUpgrade.java
> [localhost-startStop-1])
> * ERROR 2018-10-25 15:11:29,941 Could not map job type
> '[resourceTableTask]' with cron '0 0 23 * * ?' (SchedulerUpgrade.java
> [localhost-startStop-1])
> * ERROR 2018-10-25 15:11:29,941 Could not map job type
> '[resourceTableTask]' with cron '0 0 23 * * ?' (SchedulerUpgrade.java
> [localhost-startStop-1])
> * INFO 2018-10-25 15:11:29,941 'system-process' create
> org.hisp.dhis.scheduling.JobConfiguration, name: Resource table, uid:
> VE0d6NQqXGy (AuditLogUtil.java [localhost-startStop-1])
> * INFO 2018-10-25 15:11:29,945 Moving existing Push Analysis jobs.
> (SchedulerUpgrade.java [localhost-startStop-1])
> * INFO 2018-10-25 15:11:30,520 'system-process' create
> org.hisp.dhis.scheduling.JobConfiguration, name: PushAnalysis: JmuWTH9oUcn,
> uid: bqBqbARSW8s (AuditLogUtil.java [localhost-startStop-1])
> * INFO 2018-10-25 15:11:30,530 'system-process' create
> org.hisp.dhis.scheduling.JobConfiguration, name: PushAnalysis: MWotV5Va75Q,
> uid: Y9mDJj6AuqP (AuditLogUtil.java [localhost-startStop-1])
> * INFO 2018-10-25 15:11:30,539 'system-process' create
> org.hisp.dhis.scheduling.JobConfiguration, name: PushAnalysis: GeryOIbsWhg,
> uid: jPJ6dV7ojuC (AuditLogUtil.java [localhost-startStop-1])
> * INFO 2018-10-25 15:11:30,543 'system-process' create
> org.hisp.dhis.scheduling.JobConfiguration, name: PushAnalysis: a19w4BhUNo8,
> uid: I49TPE2wGcu (AuditLogUtil.java [localhost-startStop-1])
> * INFO 2018-10-25 15:11:30,546 'system-process' create
> org.hisp.dhis.scheduling.JobConfiguration, name: PushAnalysis: PNhbOVQfNzv,
> uid: qAS36jVFphT (AuditLogUtil.java [localhost-startStop-1])
> * ERROR 2018-10-25 15:11:30,554 java.lang.NullPointerException
> at
> org.hisp.dhis.startup.SchedulerUpgrade.lambda$execute$2(SchedulerUpgrade.java:164)
> at java.util.ArrayList.forEach(ArrayList.java:1257)
> at
> org.hisp.dhis.startup.SchedulerUpgrade.execute(SchedulerUpgrade.java:161)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
> at
> org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
> at
> org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
> at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
> at
>