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.
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.
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.
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:
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: