← Back to team overview

dhis2-devs team mailing list archive

DHIS 1.4 XML import

 

Seeing this bug again...In fact the facility does exist in the XML
file, but is not imported. Saw a similar issue with DXF imports. Any
idea what is going on?

Using trunk from yesterday on WIn7/Postgres.



INFO: HQL: null, time: 2ms, rows: 0
1224929 [Thread-23] ERROR org.hisp.dhis.system.process.AbstractStatementInternal
Process - Internal process failed
java.lang.RuntimeException: The object named 'ce Chishinka Health Centre' does n
ot exist
        at org.hisp.dhis.importexport.mapping.DefaultObjectMappingGenerator.veri
fyIdentifier(DefaultObjectMappingGenerator.java:477)
        at org.hisp.dhis.importexport.mapping.DefaultObjectMappingGenerator.getM
apping(DefaultObjectMappingGenerator.java:421)
        at org.hisp.dhis.importexport.mapping.DefaultObjectMappingGenerator.getO
rganisationUnitMapping(DefaultObjectMappingGenerator.java:284)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:309)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:196)
        at $Proxy50.getOrganisationUnitMapping(Unknown Source)
        at org.hisp.dhis.importexport.service.DefaultImportObjectManager.importO
rganisationUnitRelationships(DefaultImportObjectManager.java:844)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:309)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:202)
        at $Proxy51.importOrganisationUnitRelationships(Unknown Source)
        at org.hisp.dhis.importexport.service.DefaultImportObjectService.importA
ll(DefaultImportObjectService.java:687)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:309)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:196)
        at $Proxy52.importAll(Unknown Source)
        at org.hisp.dhis.importexport.ImportPreviewInternalProcess.executeStatem
ents(ImportPreviewInternalProcess.java:69)
        at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute
(AbstractStatementInternalProcess.java:91)
        at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute
(AbstractStatementInternalProcess.java:40)
        at org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:1
25)
        at java.lang.Thread.run(Thread.java:662)
java.lang.RuntimeException: The object named 'ce Chishinka Health Centre' does n
ot exist
        at org.hisp.dhis.importexport.mapping.DefaultObjectMappingGenerator.veri
fyIdentifier(DefaultObjectMappingGenerator.java:477)
        at org.hisp.dhis.importexport.mapping.DefaultObjectMappingGenerator.getM
apping(DefaultObjectMappingGenerator.java:421)
        at org.hisp.dhis.importexport.mapping.DefaultObjectMappingGenerator.getO
rganisationUnitMapping(DefaultObjectMappingGenerator.java:284)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:309)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:196)
        at $Proxy50.getOrganisationUnitMapping(Unknown Source)
        at org.hisp.dhis.importexport.service.DefaultImportObjectManager.importO
rganisationUnitRelationships(DefaultImportObjectManager.java:844)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:309)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:202)
        at $Proxy51.importOrganisationUnitRelationships(Unknown Source)
        at org.hisp.dhis.importexport.service.DefaultImportObjectService.importA
ll(DefaultImportObjectService.java:687)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:309)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:196)
        at $Proxy52.importAll(Unknown Source)
        at org.hisp.dhis.importexport.ImportPreviewInternalProcess.executeStatem
ents(ImportPreviewInternalProcess.java:69)
        at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute
(AbstractStatementInternalProcess.java:91)
        at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute
(AbstractStatementInternalProcess.java:40)
        at org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:1
25)
        at java.lang.Thread.run(Thread.java:662)
Jan 28, 2011 8:57:26 AM org.hibernate.stat.ConcurrentStatisticsImpl queryExecute
d
INFO: HQL: null, time: 6ms, rows: 1
Jan 28, 2011 8:57:26 AM org.hibernate.stat.ConcurrentStatisticsImpl queryExecute
d
INFO: HQL: null, time: 3ms, rows: 1
Jan 28, 2011 8:57:26 AM org.hibernate.stat.ConcurrentStatisticsImpl queryExecute
d
INFO: HQL: null, time: 3ms, rows: 1
Jan 28, 2011 8:57:26 AM org.hibernate.stat.ConcurrentStatisticsImpl queryExecute
d
INFO: HQL: null, time: 3ms, rows: 1
Jan 28, 2011 8:57:26 AM org.hibernate.stat.ConcurrentStatisticsImpl queryExecute
d
INFO: HQL: null, time: 3ms, rows: 1
Jan 28, 2011 8:57:26 AM org.hibernate.stat.ConcurrentStatisticsImpl queryExecute
d
INFO: HQL: null, time: 4ms, rows: 1
Jan 28, 2011 8:57:26 AM org.hibernate.stat.ConcurrentStatisticsImpl queryExecute
d
INFO: HQL: null, time: 4ms, rows: 1
Jan 28, 2011 8:57:26 AM org.hibernate.stat.ConcurrentStatisticsImpl queryExecute
d
INFO: HQL: null, time: 3ms, rows: 0
Jan 28, 2011 8:57:26 AM org.hibernate.stat.ConcurrentStatisticsImpl queryExecute
d
INFO: HQL: null, time: 3ms, rows: 0
Jan 28, 2011 8:57:26 AM org.hibernate.stat.ConcurrentStatisticsImpl queryExecute
d
INFO: HQL: null, time: 3ms, rows: 0


-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+260974901293