Importing meta-data into 2.14

Dear all,

we are importing metadata from a 2.13 server instance into a blank dhis-live 2.14.

The importing process seems to work fine: org units, data elements and so on are in place, but when we going to data entry, the dataset dropdown gets stacked loading.

The same process worked fine with a 2.13 was file.

DHIS2Info:

Version:
2.14
Build revision:
13751
Build date:
2014-01-30 17:16

Web browser info:

  • Chrome Version 32.0.1700.102 m

  • Firefox 26.0

  • IExplorer 8

Find attached the log and a screen shot.

thanks!

dhis.log (53.6 KB)

image

Hi Marta,
This was a very difficult problem to track down, but it is likely due to one or two things. The important part is here in the logs

  • ERROR 16:02:12,774 Error while executing action (ExceptionInterceptor.java [19969074@qtp-32572097-17])

java.lang.NullPointerException

at org.hisp.dhis.de.action.GetMetaDataAction.execute(GetMetaDataAction.java:243)

The problem has to due to bad expressions. Check for any invalid data element or indicator expressions. If you search the archives of the list, you will see a more detailed thread and “hacky” workaround to fix it.

Regards,

Jason

···

On Fri, Jan 31, 2014 at 5:17 PM, Marta Vila martavila@gmail.com wrote:

Dear all,

we are importing metadata from a 2.13 server instance into a blank dhis-live 2.14.

The importing process seems to work fine: org units, data elements and so on are in place, but when we going to data entry, the dataset dropdown gets stacked loading.

The same process worked fine with a 2.13 was file.

DHIS2Info:

Version:
2.14
Build revision:
13751
Build date:
2014-01-30 17:16

Web browser info:

  • Chrome Version 32.0.1700.102 m
  • Firefox 26.0
  • IExplorer 8

Find attached the log and a screen shot.

thanks!


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

Hi Marta,

I am not exactly sure but this could be a lack of proper validation in the code for fetching meta-data - I have done a fix now that might do the trick. If Jason’s tip doesn’t resolve it, you can download the new WAR in 30min from here:

http://apps.dhis2.org/ci/job/dhis-2.14/

Thanks for reporting.

Lars

Hi Jason, Lars,

I downloaded the war file and it is working properly now.

Thank you both :slight_smile:

have a good weekend!

···

On 31 January 2014 16:37, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Marta,

I am not exactly sure but this could be a lack of proper validation in the code for fetching meta-data - I have done a fix now that might do the trick. If Jason’s tip doesn’t resolve it, you can download the new WAR in 30min from here:

http://apps.dhis2.org/ci/job/dhis-2.14/

Thanks for reporting.

Lars