Build: #85 failed

Job: Build Module failed

Stages & jobs

  1. Build

  2. Package

Job result summary

Completed
Duration
1 minute
Revision
e447e3112f79546e6d4e16124877498b1f626734 e447e3112f79546e6d4e16124877498b1f626734
Total tests
5
Fixed in
#87 (Code changes detected)

Tests

  • 5 tests in total
  • 3 tests failed
  • 3 failures are new
  • 40 seconds taken in total.
New test failures 3
Status Test Duration
Collapse Failed EbolaTriagePostSubmissionActionTest testAdmitWhenUserSaysYes History
< 1 sec
java.lang.NullPointerException
	at org.openmrs.module.emrapi.visit.VisitDomainWrapper.isAdmitted(VisitDomainWrapper.java:359)
	at org.openmrs.module.ebolaexample.htmlformentry.EbolaTriagePostSubmissionAction.admit(EbolaTriagePostSubmissionAction.java:79)
	at org.openmrs.module.ebolaexample.htmlformentry.EbolaTriagePostSubmissionAction.doApplyAction(EbolaTriagePostSubmissionAction.java:55)
	at org.openmrs.module.ebolaexample.htmlformentry.EbolaTriagePostSubmissionActionTest.testAdmitWhenUserSaysYes(EbolaTriagePostSubmissionActionTest.java:91)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(27 more lines...)
Collapse Failed EbolaTriagePostSubmissionActionTest testDoesNotEnrollWhenAlreadyEnrolled History
< 1 sec
java.lang.NullPointerException
	at org.openmrs.module.emrapi.visit.VisitDomainWrapper.isAdmitted(VisitDomainWrapper.java:359)
	at org.openmrs.module.ebolaexample.htmlformentry.EbolaTriagePostSubmissionAction.admit(EbolaTriagePostSubmissionAction.java:79)
	at org.openmrs.module.ebolaexample.htmlformentry.EbolaTriagePostSubmissionAction.doApplyAction(EbolaTriagePostSubmissionAction.java:55)
	at org.openmrs.module.ebolaexample.htmlformentry.EbolaTriagePostSubmissionActionTest.testDoesNotEnrollWhenAlreadyEnrolled(EbolaTriagePostSubmissionActionTest.java:120)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(27 more lines...)
Collapse Failed EbolaTriagePostSubmissionActionTest testEnrollWhenUserSaysYes History
< 1 sec
java.lang.NullPointerException
	at org.openmrs.module.emrapi.visit.VisitDomainWrapper.isAdmitted(VisitDomainWrapper.java:359)
	at org.openmrs.module.ebolaexample.htmlformentry.EbolaTriagePostSubmissionAction.admit(EbolaTriagePostSubmissionAction.java:79)
	at org.openmrs.module.ebolaexample.htmlformentry.EbolaTriagePostSubmissionAction.doApplyAction(EbolaTriagePostSubmissionAction.java:55)
	at org.openmrs.module.ebolaexample.htmlformentry.EbolaTriagePostSubmissionActionTest.testEnrollWhenUserSaysYes(EbolaTriagePostSubmissionActionTest.java:103)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(27 more lines...)