I am trying to import a zipped DXF 2 metadata approximately 10 MB in size.I am using dhis 2.13 stable war file and postgreSQL database. After creating the database and setting up the DHIS2_HOME enviroment varible, i am able to login succesfully into my locally hosted dhis2. However, wen i try to import the data by going to Services > Import-Export > XML Data Import , then choose the metadata zipped file, set dry run to NO then for the strategy i select New and updates option, i am getting the following exception: Current event not START_ELEMENT.Is there anywhere am going wrong in the importing process?
-
INFO 2013-12-05 12:40:30,959 [data element id scheme: UID, org unit id scheme: UID, dry run: false, async: false, strategy: NEW_AND_UPDATES, skip check: false] (ImportDataValueAction.java [http-bio-8080-exec-41])
-
INFO 2013-12-05 12:40:40,537 [Level: INFO, category: DATAVALUE_IMPORT, time: Thu Dec 05 12:40:40 EAT 2013, message: Process started] (InMemoryNotifier.java [taskScheduler-1])
-
ERROR 2013-12-05 12:40:40,603 java.lang.IllegalStateException: Current event not START_ELEMENT
at com.ctc.wstx.sr.BasicStreamReader.getAttributeValue(BasicStreamReader.java:624)
at org.amplecode.staxwax.reader.DefaultXMLStreamReader.getAttributeValue(DefaultXMLStreamReader.java:220)
at org.hisp.dhis.dxf2.datavalueset.StreamingDataValueSet.getDataElementIdScheme(StreamingDataValueSet.java:86)
at org.hisp.dhis.dxf2.datavalueset.DefaultDataValueSetService.saveDataValueSet(DefaultDataValueSetService.java:269)
at org.hisp.dhis.dxf2.datavalueset.DefaultDataValueSetService.saveDataValueSet(DefaultDataValueSetService.java:205)
at org.hisp.dhis.importexport.action.util.ImportDataValueTask.run(ImportDataValueTask.java:86)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
(DefaultDataValueSetService.java [taskScheduler-1])
- INFO 2013-12-05 12:40:40,604 [Level: ERROR, category: DATAVALUE_IMPORT, time: Thu Dec 05 12:40:40 EAT 2013, message: Process failed: Current event not START_ELEMENT] (InMemoryNotifier.java [taskScheduler-1])
**Regards,
···
**
Emmanuel Kaunda,
Software developer.