dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19047
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8158: Fix bug Nullpointer in Person dashboard.
------------------------------------------------------------
revno: 8158
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-09-20 18:02:49 +0700
message:
Fix bug Nullpointer in Person dashboard.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/ShowAddRelationshipPatientAction.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 'dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/ShowAddRelationshipPatientAction.java'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/ShowAddRelationshipPatientAction.java 2012-09-05 14:30:23 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/patient/ShowAddRelationshipPatientAction.java 2012-09-20 11:02:49 +0000
@@ -88,9 +88,9 @@
private Patient patient;
- private Map<Integer, String> identiferMap;
+ private Map<Integer, String> identiferMap = new HashMap<Integer, String>();
- private Map<Integer, String> attributeMap;
+ private Map<Integer, String> attributeMap = new HashMap<Integer, String>();
private Map<PatientAttributeGroup, Collection<PatientAttribute>> attributeGroupsMap = new HashMap<PatientAttributeGroup, Collection<PatientAttribute>>();