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

NullPointerException is thrown when complex data for complex oba hasn't been loaded

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Must
    • Resolution: Duplicate
    • Platform 1.12.0, Platform 1.11.6, Platform 2.0.0
    • Platform 2.0.1
    • None
    • Low

    Description

      When a complex obs is loaded from the database and re-saved, a NullPointerException is throw in ObsService.saveObs() because the complex data hasn't been loaded yet. The if clause in ObsServiceImpl.saveObs(Order, String) that checks for a complex Obs needs to check if complexData isn't null before in turn checking if the actual data isn't too

      Gliffy Diagrams

        Attachments

          Activity

            People

              Unassigned Unassigned
              wyclif Wyclif Luyima
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: