← Back to team overview

dhis2-devs team mailing list archive

Error in analytics table generation

 

Not exactly sure what is causing this, but this is occurring just at the
end of the analytics tables process. Here is what we see from the GUI:
2018-04-27 08:00:17 Process failed: null
2018-04-27 08:00:17 Applying aggregation levels
2018-04-27 08:00:17 Populating analytics tables
And the error logs

* ERROR 2018-04-27 08:00:17,796 Unexpected error occurred in scheduled
task. (TaskUtils.java [taskScheduler-25])
java.lang.NullPointerException
at
org.hisp.dhis.commons.util.ConcurrentUtils.waitForCompletion(ConcurrentUtils.java:53)
at
org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.applyAggregationLevels(DefaultAnalyticsTableService.java:242)
at
org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.update(DefaultAnalyticsTableService.java:137)
at
org.hisp.dhis.analytics.table.DefaultAnalyticsTableGenerator.generateTables(DefaultAnalyticsTableGenerator.java:112)
at
org.hisp.dhis.webapi.controller.ResourceTableController.lambda$analytics$0(ResourceTableController.java:112)
at
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
* INFO  2018-04-27 08:00:18,597 Email sent using host: 127.0.0.1:25 with
TLS: true (EmailMessageSender.java [taskScheduler-10])

Version:2.28Build revision:86937e9
Any idea what this might be caused by?

Regards,
Jason

-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+46764147049

Follow ups