Meta-data not importing

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

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@yahoo.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

See this keyword in your log message: DATAVALUE_IMPORT

···

On Wed, Dec 11, 2013 at 10:21 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

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.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org


Morten

On Wed, Dec 11, 2013 at 9:52 AM, Dayo Adeyomoye deemoyes@yahoo.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

It does the same even with the correct import.

BlackBerry: 3114F90C
Phone: 08028851441, 08035560463
emails: deemoyes@yahoo.com, addyraph@yahoo.com
Yahoo IM: deemoyes
Facebook: pharael
twitter:pharaell

See this keyword in your log message: DATAVALUE_IMPORT

···

On Wednesday, December 11, 2013 10:25 AM, Knut Staring knutst@gmail.com wrote:

On Wed, Dec 11, 2013 at 10:21 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

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@yahoo.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Can you show the log? if you selected metadata import, the log can’t be exactly the same…

···


Morten

On Wed, Dec 11, 2013 at 11:47 AM, Dayo Adeyomoye deemoyes@yahoo.com wrote:

It does the same even with the correct import.

BlackBerry: 3114F90C

Phone: 08028851441, 08035560463
emails: deemoyes@yahoo.com, addyraph@yahoo.com
Yahoo IM: deemoyes
Facebook: pharael

twitter:pharaell

On Wednesday, December 11, 2013 10:25 AM, Knut Staring knutst@gmail.com wrote:

See this keyword in your log message: DATAVALUE_IMPORT

On Wed, Dec 11, 2013 at 10:21 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

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@yahoo.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org