← Back to team overview

dhis2-users team mailing list archive

Re: Meta-data not importing

 

Hi,

This is because you are doing data import, and not meta-data import. Make
sure that you select the correct choice in the menu.

--
Morten


On Wed, Dec 11, 2013 at 9:52 AM, Dayo Adeyomoye <deemoyes@xxxxxxxxx> wrote:

> Dear All,
>
> I have been trying to import meta-data and I keep getting this error which
> i copied from the log also.
>
> * INFO  09:44:53,423 [data element id scheme: UID, org unit id scheme:
> UID, dry run: false, strategy: NEW_AND_UPDATES, skip check: false]
> (ImportDataValueAction.java [278275@qtp-28223271-8])
> * INFO  09:44:53,964 [Level: INFO, category: DATAVALUE_IMPORT, time: Wed
> Dec 11 09:44:53 WAT 2013, message: Process started] (InMemoryNotifier.java
> [taskScheduler-1])
> * ERROR 09:44:53,966 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:219)
>  at
> org.hisp.dhis.dxf2.datavalueset.StreamingDataValueSet.getDataElementIdScheme(StreamingDataValueSet.java:85)
> at
> org.hisp.dhis.dxf2.datavalueset.DefaultDataValueSetService.saveDataValueSet(DefaultDataValueSetService.java:247)
>  at
> org.hisp.dhis.dxf2.datavalueset.DefaultDataValueSetService.saveDataValueSet(DefaultDataValueSetService.java:199)
>  at
> org.hisp.dhis.importexport.action.util.ImportDataValueTask.run(ImportDataValueTask.java:71)
> at
> org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)
> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
>  at java.util.concurrent.FutureTask.run(Unknown Source)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown
> Source)
>  at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
> Source)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>  at java.lang.Thread.run(Unknown Source)
>  (DefaultDataValueSetService.java [taskScheduler-1])
>
> Can someone help explain this better?
>
> Regards,
>
> Adedayo
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References