Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4864

NullPointerException at PatientSetService#getPatientsHavingDrugOrder(java.util.Collection, java.util.Collection, GroupMethod, Date, Date)

    XMLWordPrintable

Details

    Description

      If we call method PatientSetService#getPatientsHavingDrugOrder(java.util.Collection, java.util.Collection, GroupMethod, Date, Date) with following parameters, it will throw NullPointerException.

      Parameters:
      patientIds = null
      takingIds = a collection list with number of element larger than zero
      groupMethod = GroupMethod.NONE
      fromDate = null
      toDate = null

      PR: https://github.com/openmrs/openmrs-core/pull/1790

      Gliffy Diagrams

        Attachments

          Activity

            People

              ldf92 Dengfeng Li
              ldf92 Dengfeng Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 20 minutes
                  20m
                  Remaining:
                  Remaining Estimate - 20 minutes
                  20m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified