← Back to team overview

dhis2-users team mailing list archive

Metadata Import not Working for 2.29

 

Dear All,
We are DHIS 2.29 Build revision: 1797422
We tried to do some metadata import using CSV for data elements and it would not run. There is no error or activity on the console but in the logs this is what we see
* ERROR 2018-09-21 08:03:50,012 Unexpected error occurred in scheduled task. (TaskUtils.java [taskScheduler-23])java.lang.IllegalArgumentException: No enum constant org.hisp.dhis.common.ValueType.Sum at java.lang.Enum.valueOf(Enum.java:238) at org.hisp.dhis.common.ValueType.valueOf(ValueType.java:46) at org.hisp.dhis.dxf2.csv.DefaultCsvImportService.dataElementsFromCsv(DefaultCsvImportService.java:321) at org.hisp.dhis.dxf2.csv.DefaultCsvImportService.fromCsv(DefaultCsvImportService.java:115) at org.hisp.dhis.importexport.action.util.ImportMetaDataCsvTask.call(ImportMetaDataCsvTask.java:87) at org.hisp.dhis.security.SecurityContextRunnable.run(SecurityContextRunnable.java:57) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
Can anybody help out with this?
Thank you.


Warm Regards, 

Ifeanyi

Read DrMaestro's Blog
www.ifeanyiokoye.com

Follow ups