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

Randomly failing tests in ShortPatientFormControllerTest

    XMLWordPrintable

    Details

      Description

      We observe these tests to fail randomly:

      ShortPatientFormControllerTest saveShortPatient_shouldVoidAddressIfItWasChanged

      ShortPatientFormControllerTest saveShortPatient_shouldNotVoidAddressIfItWasNotChanged

      java.lang.NullPointerException
      	at org.openmrs.web.controller.patient.ShortPatientFormValidator.validate(ShortPatientFormValidator.java:91)
      	at org.openmrs.web.controller.patient.ShortPatientFormController.saveShortPatient(ShortPatientFormController.java:217)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:622)
      	at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      (39 more lines...)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                raff Rafal Korytkowski
                Reporter:
                raff Rafal Korytkowski
                Designated Committer:
                Rafal Korytkowski Rafal Korytkowski
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 4 hours
                    4h
                    Remaining:
                    Remaining Estimate - 4 hours
                    4h
                    Logged:
                    Time Spent - Not Specified
                    Not Specified