-
Type:
Bug
-
Status: Closed
-
Priority:
Should
-
Resolution: Fixed
-
Affects Version/s: Platform 2.0.1
-
Fix Version/s: Platform 2.0.1, Core 2.1.0
-
Component/s: None
-
Labels:None
-
Complexity:Low
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()