Build: #186 failed Changes by Wyclif Luyima

Build result summary

Details

Completed
Queue duration
1 second
Duration
9 minutes
Labels
None
Revision
30fe90d26c76dbe41b557ab22d39483f56a42589 30fe90d26c76dbe41b557ab22d39483f56a42589
Total tests
2556
Fixed in
#187 (Changes by Wyclif Luyima)

Tests

Code commits

Author Commit Message Commit date
Wyclif Luyima Wyclif Luyima 30fe90d26c76dbe41b557ab22d39483f56a42589 30fe90d26c76dbe41b557ab22d39483f56a42589 Updated OrderFrequencyValidator to implement spring Validator and added tests to ensure that frequency and order type validators get invoked when their supported types get saved

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Restarting failed/incomplete builds only is not possible as some of the affected jobs no longer exist.

Tests

New test failures 2
Status Test View job Duration
Collapse Failed OrderServiceTest saveOrderFrequency_shouldEditAnExistingOrderFrequencyThatIsNotInUse History
Unit and Component Tests < 1 sec
org.openmrs.api.APIException: 'COUGH SYRUP' failed to validate with reason: concept: OrderFrequency.concept.shouldBeClassFrequency
	at org.openmrs.validator.ValidateUtil.validate(ValidateUtil.java:85)
	at org.openmrs.aop.RequiredDataAdvice.before(RequiredDataAdvice.java:136)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
(39 more lines...)
Collapse Failed OrderServiceTest saveOrderFrequency_shouldAddANewOrderFrequencyToTheDatabase History
Unit and Component Tests < 1 sec
java.lang.NullPointerException
	at org.openmrs.validator.OrderFrequencyValidator.validate(OrderFrequencyValidator.java:71)
	at org.openmrs.api.db.hibernate.HibernateAdministrationDAO.validate(HibernateAdministrationDAO.java:372)
	at org.openmrs.api.impl.AdministrationServiceImpl.validate(AdministrationServiceImpl.java:1227)
	at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
(78 more lines...)