← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1856: Bug fix in NBITS reports

 

------------------------------------------------------------
revno: 1856
committer: HISP <HISP@HISP-PC>
branch nick: trunk
timestamp: Sat 2010-05-15 13:22:20 +0530
message:
  Bug fix in NBITS reports
modified:
  local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/activeplan/action/ActivePlanReportsResultAction.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/activeplan/action/ActivePlanReportsResultAction.java'
--- local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/activeplan/action/ActivePlanReportsResultAction.java	2010-05-12 06:25:11 +0000
+++ local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/activeplan/action/ActivePlanReportsResultAction.java	2010-05-15 07:52:20 +0000
@@ -893,7 +893,7 @@
                                                             DataElement d1e = dataElementService.getDataElement( Integer.parseInt( deCodeString ) );
                                                             Collection<ProgramStageInstance> psisList = patientCompletedPSIList.get( patient );
                                                             String dename = d1e.getShortName();
-                                                            if ( psisList.size() != 0 )
+                                                            if ( psisList != null && psisList.size() != 0 )
                                                             {
                                                                 for ( ProgramStageInstance programStageInstanceName : psisList )
                                                                 {