dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #07426
[Bug 637996] Re: An Exception in Data Completeness Report
** Changed in: dhis2
Status: New => Fix Committed
** Changed in: dhis2
Assignee: (unassigned) => Hieu Duy Dang (hieu-hispvietnam)
--
An Exception in Data Completeness Report
https://bugs.launchpad.net/bugs/637996
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
Status in DHIS 2 - District Health Information Software: Fix Committed
Bug description:
There is an Exception in Data Completeness Reports when we generate PDF without assigning it to any organisation unit .
[-] Exception (java.lang.NullPointerException): null
* org.hisp.dhis.pdf.impl.ItextPdfService.writeDataSetCompletenessResult(ItextPdfService.java:275)
* sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown source)
* sun.reflect.NativeMethodAccessorImpl.invoke(Unknown source)
* sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown source)
* java.lang.reflect.Method.invoke(Unknown source)
* org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
* org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
* org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
* org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
* org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
* org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
* $Proxy89.writeDataSetCompletenessResult(Unknown source)
* org.hisp.dhis.reporting.completeness.action.GetDataCompletenessPDFAction.execute(GetDataCompletenessPDFAction.java:108)
* sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown source) cont ...........
References