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

Encounter with complex obs throws NullPointerException on save

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Should
    • Resolution: Fixed
    • Platform 2.0.1
    • Platform 2.0.1, Core 2.1.0
    • None
    • None

    Description

      When encounter with complex obs is added with new obs, it throws NullPointerException at https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/api/impl/ObsServiceImpl.java#L222 . This happens because complex data is not loaded by default for complex obs but the check happens obs.getComplexData().getData()

      Gliffy Diagrams

        Attachments

          Activity

            People

              preethi.s Preethi S
              preethi.s Preethi S
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: