Uploaded image for project: 'Open Concept Lab Module'
  1. Open Concept Lab Module
  2. OCLM-63

Fix NPE when changing subscription from snapshot to release

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.3
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      If you change subscription from snapshot to release you will get NPE upon next import:

      null caused by: java.lang.NullPointerException at org.openmrs.module.openconceptlab.client.OclClient.fetchLastReleaseVersion(OclClient.java:130) at org.openmrs.module.openconceptlab.importer.Importer$2.run(Importer.java:164) at org.openmrs.module.openconceptlab.importer.Importer.runAndHandleErrors(Importer.java:245) at org.openmrs.module.openconceptlab.importer.Importer.runTask(Importer.java:141) 

        Attachments

          Activity

            People

            Assignee:
            raff Rafal Korytkowski
            Reporter:
            raff Rafal Korytkowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: