Build: #271 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Deploy

  3. Release

    Requires a user to start manually

Test results

  • 2,254 tests in total
  • 13 tests failed
  • 12 failures are new
  • 26 tests were quarantined / skipped
  • 3 minutes taken in total.

Build 271 has the following 13 errors: 12 new failure(s) occurred since the previous build.

New test failures 12
Status Test Duration
Collapse Failed SchedulerServiceTest saveTask_shouldSaveTaskToTheDatabase History
< 1 sec
org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.openmrs.scheduler.TaskDefinition]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
	at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262)
	at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
	at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:727)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
	at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99)
	at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:226)
(146 more lines...)
Collapse Failed SchedulerServiceTest shouldNotAllowTaskExecuteToRunBeforeInitializationIsComplete History
< 1 sec
org.openmrs.scheduler.SchedulerException: Failed to schedule task
	at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.scheduleTask(TimerSchedulerServiceImpl.java:257)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
(152 more lines...)
Collapse Failed SchedulerServiceTest shouldNotThrowExceptionWhenTaskDefinitionIsNull History
< 1 sec
org.openmrs.scheduler.SchedulerException: Failed to schedule task
	at org.openmrs.scheduler.timer.TimerSchedulerServiceImpl.scheduleTask(TimerSchedulerServiceImpl.java:257)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
(149 more lines...)
Collapse Failed SchedulerServiceTest shouldSaveLastExecutionTime History
< 1 sec
org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.openmrs.scheduler.TaskDefinition]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
	at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262)
	at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
	at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:727)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
	at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99)
	at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:226)
(148 more lines...)
Collapse Failed SchedulerFormValidatorTest validate_shouldFailValidationIfClassCannotBeInstantiated History
< 1 sec
org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.openmrs.scheduler.TaskDefinition]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
	at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262)
	at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
	at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:727)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
	at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99)
	at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:226)
(40 more lines...)
Collapse Failed SchedulerFormValidatorTest validate_shouldFailValidationIfClassIsNotAccessible History
< 1 sec
org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.openmrs.scheduler.TaskDefinition]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
	at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262)
	at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
	at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:727)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
	at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99)
	at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:226)
(40 more lines...)
Collapse Failed SchedulerFormValidatorTest validate_shouldFailValidationIfClassIsNotInstanceOfTask History
< 1 sec
org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.openmrs.scheduler.TaskDefinition]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
	at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262)
	at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
	at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:727)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
	at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99)
	at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:226)
(40 more lines...)
Collapse Failed SchedulerFormValidatorTest validate_shouldFailValidationIfClassNotFound History
< 1 sec
org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.openmrs.scheduler.TaskDefinition]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
	at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262)
	at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
	at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:727)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
	at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99)
	at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:226)
(40 more lines...)
Collapse Failed SchedulerFormValidatorTest validate_shouldFailValidationIfNameIsNullOrEmptyOrWhitespace History
< 1 sec
org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.openmrs.scheduler.TaskDefinition]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
	at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262)
	at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
	at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:727)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
	at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99)
	at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:226)
(40 more lines...)
Collapse Failed SchedulerFormValidatorTest validate_shouldFailValidationIfRepeatIntervalIsNullOrEmptyOrWhitespace History
< 1 sec
org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.openmrs.scheduler.TaskDefinition]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
	at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262)
	at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
	at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:727)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
	at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99)
	at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:226)
(40 more lines...)
Collapse Failed SchedulerFormValidatorTest validate_shouldFailValidationIfTaskClassIsEmptyOrWhitespace History
< 1 sec
org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.openmrs.scheduler.TaskDefinition]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
	at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262)
	at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
	at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:727)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
	at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99)
	at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:226)
(40 more lines...)
Collapse Failed SchedulerFormValidatorTest validate_shouldPassValidationIfAllRequiredFieldsHaveProperValues History
< 1 sec
org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.openmrs.scheduler.TaskDefinition]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
	at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262)
	at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
	at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:727)
	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
	at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:99)
	at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:226)
(40 more lines...)
Existing test failures 1
Status Test Failing since Duration
java.lang.NullPointerException
	at java.lang.String.startsWith(String.java:1405)
	at java.lang.String.startsWith(String.java:1434)
	at org.openmrs.api.context.ServiceContext.getModuleOpenmrsServices(ServiceContext.java:1023)
	at org.openmrs.api.context.Context.getModuleOpenmrsServices(Context.java:1246)
	at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1009)
	at org.openmrs.module.ModuleUtil.shutdown(ModuleUtil.java:154)
	at org.openmrs.test.BaseContextSensitiveTest.closeSessionAfterEachClass(BaseContextSensitiveTest.java:779)
(20 more lines...)