Build: #141 failed Changes by Daniel Kayiwa

Test results

  • 2,184 tests in total
  • 4 tests failed
  • 4 failures are new
  • 7 minutes taken in total.
New test failures 4
Status Test View job Duration
Collapse Failed ProgramWorkflowServiceTest saveProgram_shouldUpdateDetachedProgram History
Default Job < 1 sec
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.openmrs.Program#1]
	at org.hibernate.engine.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:638)
	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performUpdate(DefaultSaveOrUpdateEventListener.java:305)
	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsDetached(DefaultSaveOrUpdateEventListener.java:246)
	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:112)
	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
	at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:685)
	at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:677)
(78 more lines...)
Collapse Failed ProgramValidatorTest validate_shouldFailValidationIfProgramNameAlreadyInUse History
Default Job < 1 sec
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at org.openmrs.validator.ProgramValidatorTest.validate_shouldFailValidationIfProgramNameAlreadyInUse(ProgramValidatorTest.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
(32 more lines...)
Collapse Failed ProgramValidatorTest validate_shouldFailValidationIfNameIsNullOrEmptyOrWhitespace History
Default Job < 1 sec
java.lang.NullPointerException
	at org.openmrs.Concept.isNamed(Concept.java:1033)
	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.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
	at org.openmrs.Concept_$$_javassist_16.isNamed(Concept_$$_javassist_16.java)
(77 more lines...)
Collapse Failed ProgramValidatorTest validate_shouldFailValidationIfDescriptionIsNullOrEmptyOrWhitespace History
Default Job < 1 sec
java.lang.NullPointerException
	at org.openmrs.Concept.isNamed(Concept.java:1033)
	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.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
	at org.openmrs.Concept_$$_javassist_16.isNamed(Concept_$$_javassist_16.java)
(77 more lines...)