← Back to team overview

dhis2-devs team mailing list archive

[Bug 637996] [NEW] An Exception in Data Completeness Report

 

Public bug reported:

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

** Affects: dhis2
     Importance: Undecided
         Status: New

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

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





Follow ups

References