Builds and runs unit tests. More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #1706 failed
Job: Default Job failed
Job result summary
- Completed
- Duration
- 3 minutes
- Agent
- xindi.openmrs.org
- Revision
-
251837b1c92fe517a7ca55c8d1ee6b7a9fa16f77
- Total tests
- 1806
- Failing since
- #1705 (Changes by Daniel Kayiwa – )
Tests
- 1,806 tests in total
- 13 tests failed
- 13 failures are new
- 14 tests were quarantined / skipped
- 1 minute taken in total.
Status | Test | Duration | |
---|---|---|---|
Collapse |
EncounterController1_9Test
createEncounter_shouldEditVisitPropertyForAnExisitingEncounter
|
< 1 sec | |
org.openmrs.api.APIException at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs1_9.EncounterController1_9Test.createEncounter_shouldEditVisitPropertyForAnExisitingEncounter(EncounterController1_9Test.java:351) |
|||
Collapse |
VisitController1_9Test
shouldNotReturnVoidedEncounters
|
< 1 sec | |
org.openmrs.api.APIException at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs1_9.VisitController1_9Test.shouldNotReturnVoidedEncounters(VisitController1_9Test.java:269) |
|||
Collapse |
AddressTemplateController2_0Test
shouldGetAddressTemplate
|
< 1 sec | |
java.lang.AssertionError: Expected: is <{displayName=null, codeName=default, country=null, lines=[[{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.address1, codeName=address1, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.address2, codeName=address2, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.cityVillage, codeName=cityVillage, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.stateProvince, codeName=stateProvince, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.country, codeName=country, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.postalCode, codeName=postalCode, displaySize=10}]], lineByLineFormat=[address1, address2, cityVillage stateProvince country postalCode], nameMappings={stateProvince=Location.stateProvince, country=Location.country, cityVillage=Location.cityVillage, address2=Location.address2, address1=Location.address1, postalCode=Location.postalCode}, sizeMappings={address2=40, stateProvince=10, address1=40, postalCode=10, cityVillage=10, country=10}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}> but: was <{displayName=null, codeName=default, country=null, lines=[[{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=address1, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=address2, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=cityVillage, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=stateProvince, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=country, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=postalCode, displaySize=10}]], lineByLineFormat=[address1, address2, cityVillage stateProvince country postalCode], nameMappings={stateProvince=null, country=null, cityVillage=null, address2=null, address1=null, postalCode=null}, sizeMappings={address2=40, stateProvince=10, address1=40, postalCode=10, cityVillage=10, country=10}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}> java.lang.AssertionError: Expected: is <{displayName=null, codeName=default, country=null, lines=[[{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.address1, codeName=address1, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.address2, codeName=address2, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=Location.cityVillage, codeName=cityVillage, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.stateProvince, codeName=stateProvince, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.country, codeName=country, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=Location.postalCode, codeName=postalCode, displaySize=10}]], lineByLineFormat=[address1, address2, cityVillage stateProvince country postalCode], nameMappings={stateProvince=Location.stateProvince, country=Location.country, cityVillage=Location.cityVillage, address2=Location.address2, address1=Location.address1, postalCode=Location.postalCode}, sizeMappings={address2=40, stateProvince=10, address1=40, postalCode=10, cityVillage=10, country=10}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}> but: was <{displayName=null, codeName=default, country=null, lines=[[{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=address1, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=address2, displaySize=40}], [{isToken=IS_NOT_ADDR_TOKEN, displayText=}, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=cityVillage, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=stateProvince, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=country, displaySize=10}, {isToken=IS_NOT_ADDR_TOKEN, displayText= }, {isToken=IS_ADDR_TOKEN, displayText=null, codeName=postalCode, displaySize=10}]], lineByLineFormat=[address1, address2, cityVillage stateProvince country postalCode], nameMappings={stateProvince=null, country=null, cityVillage=null, address2=null, address1=null, postalCode=null}, sizeMappings={address2=40, stateProvince=10, address1=40, postalCode=10, cityVillage=10, country=10}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}> at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.AddressTemplateController2_0Test.shouldGetAddressTemplate(AddressTemplateController2_0Test.java:47) |
|||
Collapse |
AdministrationLinksController2_0Test
shouldReturnListOfLinksForInstalledModules
|
< 1 sec | |
java.lang.AssertionError: expected:<WS-links> but was:<null> at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.AdministrationLinksController2_0Test.assertCorrectWsModuleLinks(AdministrationLinksController2_0Test.java:96) at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.AdministrationLinksController2_0Test.shouldReturnListOfLinksForInstalledModules(AdministrationLinksController2_0Test.java:81) |
|||
Collapse |
AdministrationLinksController2_0Test
shouldReturnListOfLinksForOneModuleByUuid
|
< 1 sec | |
java.lang.AssertionError: expected:<WS-links> but was:<null> at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.AdministrationLinksController2_0Test.assertCorrectWsModuleLinks(AdministrationLinksController2_0Test.java:96) at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.AdministrationLinksController2_0Test.shouldReturnListOfLinksForOneModuleByUuid(AdministrationLinksController2_0Test.java:90) |
|||
Collapse |
ConceptProposalController2_0Test
shouldIgnoreProposal
|
< 1 sec | |
org.openmrs.api.ValidationException: 'Alert: #null' failed to validate with reason: text: null at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.ConceptProposalController2_0Test.shouldIgnoreProposal(ConceptProposalController2_0Test.java:65) |
|||
Collapse |
ConceptProposalController2_0Test
shouldSaveAsMapped
|
< 1 sec | |
org.openmrs.api.ValidationException: 'Alert: #null' failed to validate with reason: text: null at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.ConceptProposalController2_0Test.shouldSaveAsMapped(ConceptProposalController2_0Test.java:93) |
|||
Collapse |
ConceptProposalController2_0Test
shouldSaveAsSynonym
|
< 1 sec | |
org.openmrs.api.ValidationException: 'Alert: #null' failed to validate with reason: text: null at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.ConceptProposalController2_0Test.shouldSaveAsSynonym(ConceptProposalController2_0Test.java:103) |
|||
Collapse |
NameTemplateController2_0Test
shouldGetAll
|
< 1 sec | |
java.lang.AssertionError: Expected: a collection containing <{displayName=Long Name Format, codeName=long, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.prefix, codeName=prefix, displaySize=5}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.givenName, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.middleName, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyNamePrefix, codeName=familyNamePrefix, displaySize=8}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyName, codeName=familyName, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyName2, codeName=familyName2, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyNameSuffix, codeName=familyNameSuffix, displaySize=8}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.degree, codeName=degree, displaySize=5}]], lineByLineFormat=[prefix, givenName, middleName, familyNamePrefix familyName familyName2 familyNameSuffix, degree], nameMappings={familyName2=PersonName.familyName2, prefix=PersonName.prefix, familyNamePrefix=PersonName.familyNamePrefix, givenName=PersonName.givenName, familyName=PersonName.familyName, degree=PersonName.degree, middleName=PersonName.middleName, familyNameSuffix=PersonName.familyNameSuffix}, sizeMappings={familyName2=25, prefix=5, familyNamePrefix=8, givenName=30, familyName=25, degree=5, middleName=30, familyNameSuffix=8}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}> but: mismatches were: [was <{displayName=Formato de Nombres en Espana, codeName=spain, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=25}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName2, displaySize=25}]], lineByLineFormat=[givenName, familyName, familyName2], nameMappings={familyName2=null, familyName=null, givenName=null}, sizeMappings={familyName=25, givenName=30, familyName2=25}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}>, was <{displayName=Formato de Nombres en Latino America, codeName=latinamerica, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName2, displaySize=30}]], lineByLineFormat=[givenName, middleName, familyName, familyName2], nameMappings={middleName=null, familyName2=null, familyName=null, givenName=null}, sizeMappings={familyName=30, middleName=30, givenName=30, familyName2=30}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}>, was <{displayName="Given Family" Format, codeName=givenfamily, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=30}]], lineByLineFormat=[givenName, familyName], nameMappings={familyName=null, givenName=null}, sizeMappings={familyName=30, givenName=30}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}>, was <{displayName=Short Name Format, codeName=short, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=30}]], lineByLineFormat=[givenName, middleName, familyName], nameMappings={middleName=null, familyName=null, givenName=null}, sizeMappings={familyName=30, middleName=30, givenName=30}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}>, was <{displayName=Long Name Format, codeName=long, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=prefix, displaySize=5}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyNamePrefix, displaySize=8}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName2, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyNameSuffix, displaySize=8}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=degree, displaySize=5}]], lineByLineFormat=[prefix, givenName, middleName, familyNamePrefix familyName familyName2 familyNameSuffix, degree], nameMappings={familyName2=null, prefix=null, familyName=null, givenName=null, familyNamePrefix=null, degree=null, middleName=null, familyNameSuffix=null}, sizeMappings={familyName=25, middleName=30, givenName=30, familyNamePrefix=8, prefix=5, familyNameSuffix=8, degree=5, familyName2=25}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}>] java.lang.AssertionError: Expected: a collection containing <{displayName=Long Name Format, codeName=long, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.prefix, codeName=prefix, displaySize=5}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.givenName, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.middleName, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyNamePrefix, codeName=familyNamePrefix, displaySize=8}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyName, codeName=familyName, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyName2, codeName=familyName2, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyNameSuffix, codeName=familyNameSuffix, displaySize=8}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.degree, codeName=degree, displaySize=5}]], lineByLineFormat=[prefix, givenName, middleName, familyNamePrefix familyName familyName2 familyNameSuffix, degree], nameMappings={familyName2=PersonName.familyName2, prefix=PersonName.prefix, familyNamePrefix=PersonName.familyNamePrefix, givenName=PersonName.givenName, familyName=PersonName.familyName, degree=PersonName.degree, middleName=PersonName.middleName, familyNameSuffix=PersonName.familyNameSuffix}, sizeMappings={familyName2=25, prefix=5, familyNamePrefix=8, givenName=30, familyName=25, degree=5, middleName=30, familyNameSuffix=8}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}> but: mismatches were: [was <{displayName=Formato de Nombres en Espana, codeName=spain, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=25}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName2, displaySize=25}]], lineByLineFormat=[givenName, familyName, familyName2], nameMappings={familyName2=null, familyName=null, givenName=null}, sizeMappings={familyName=25, givenName=30, familyName2=25}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}>, was <{displayName=Formato de Nombres en Latino America, codeName=latinamerica, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName2, displaySize=30}]], lineByLineFormat=[givenName, middleName, familyName, familyName2], nameMappings={middleName=null, familyName2=null, familyName=null, givenName=null}, sizeMappings={familyName=30, middleName=30, givenName=30, familyName2=30}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}>, was <{displayName="Given Family" Format, codeName=givenfamily, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=30}]], lineByLineFormat=[givenName, familyName], nameMappings={familyName=null, givenName=null}, sizeMappings={familyName=30, givenName=30}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}>, was <{displayName=Short Name Format, codeName=short, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=30}]], lineByLineFormat=[givenName, middleName, familyName], nameMappings={middleName=null, familyName=null, givenName=null}, sizeMappings={familyName=30, middleName=30, givenName=30}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}>, was <{displayName=Long Name Format, codeName=long, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=prefix, displaySize=5}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyNamePrefix, displaySize=8}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName2, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyNameSuffix, displaySize=8}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=degree, displaySize=5}]], lineByLineFormat=[prefix, givenName, middleName, familyNamePrefix familyName familyName2 familyNameSuffix, degree], nameMappings={familyName2=null, prefix=null, familyName=null, givenName=null, familyNamePrefix=null, degree=null, middleName=null, familyNameSuffix=null}, sizeMappings={familyName=25, middleName=30, givenName=30, familyNamePrefix=8, prefix=5, familyNameSuffix=8, degree=5, familyName2=25}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null}>] at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.NameTemplateController2_0Test.shouldGetAll(NameTemplateController2_0Test.java:86) |
|||
Collapse |
NameTemplateController2_0Test
shouldGetGlobalNameTemplate
|
< 1 sec | |
java.lang.AssertionError: Expected: is <{displayName=Short Name Format, codeName=short, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.givenName, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.middleName, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyName, codeName=familyName, displaySize=30}]], lineByLineFormat=[givenName, middleName, familyName], nameMappings={middleName=PersonName.middleName, familyName=PersonName.familyName, givenName=PersonName.givenName}, sizeMappings={familyName=30, middleName=30, givenName=30}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null, resourceVersion=2.0}> but: was <{displayName=Short Name Format, codeName=short, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=30}]], lineByLineFormat=[givenName, middleName, familyName], nameMappings={middleName=null, familyName=null, givenName=null}, sizeMappings={familyName=30, middleName=30, givenName=30}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null, resourceVersion=2.0}> java.lang.AssertionError: Expected: is <{displayName=Short Name Format, codeName=short, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.givenName, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.middleName, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyName, codeName=familyName, displaySize=30}]], lineByLineFormat=[givenName, middleName, familyName], nameMappings={middleName=PersonName.middleName, familyName=PersonName.familyName, givenName=PersonName.givenName}, sizeMappings={familyName=30, middleName=30, givenName=30}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null, resourceVersion=2.0}> but: was <{displayName=Short Name Format, codeName=short, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=30}]], lineByLineFormat=[givenName, middleName, familyName], nameMappings={middleName=null, familyName=null, givenName=null}, sizeMappings={familyName=30, middleName=30, givenName=30}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null, resourceVersion=2.0}> at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.NameTemplateController2_0Test.shouldGetGlobalNameTemplate(NameTemplateController2_0Test.java:96) |
|||
Collapse |
NameTemplateController2_0Test
shouldGetNameTemplateByCodename
|
< 1 sec | |
java.lang.AssertionError: Expected: is <{displayName=Long Name Format, codeName=long, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.prefix, codeName=prefix, displaySize=5}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.givenName, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.middleName, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyNamePrefix, codeName=familyNamePrefix, displaySize=8}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyName, codeName=familyName, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyName2, codeName=familyName2, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyNameSuffix, codeName=familyNameSuffix, displaySize=8}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.degree, codeName=degree, displaySize=5}]], lineByLineFormat=[prefix, givenName, middleName, familyNamePrefix familyName familyName2 familyNameSuffix, degree], nameMappings={familyName2=PersonName.familyName2, prefix=PersonName.prefix, familyNamePrefix=PersonName.familyNamePrefix, givenName=PersonName.givenName, familyName=PersonName.familyName, degree=PersonName.degree, middleName=PersonName.middleName, familyNameSuffix=PersonName.familyNameSuffix}, sizeMappings={familyName2=25, prefix=5, familyNamePrefix=8, givenName=30, familyName=25, degree=5, middleName=30, familyNameSuffix=8}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null, resourceVersion=2.0}> but: was <{displayName=Long Name Format, codeName=long, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=prefix, displaySize=5}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyNamePrefix, displaySize=8}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName2, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyNameSuffix, displaySize=8}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=degree, displaySize=5}]], lineByLineFormat=[prefix, givenName, middleName, familyNamePrefix familyName familyName2 familyNameSuffix, degree], nameMappings={familyName2=null, prefix=null, familyName=null, givenName=null, familyNamePrefix=null, degree=null, middleName=null, familyNameSuffix=null}, sizeMappings={familyName=25, middleName=30, givenName=30, familyNamePrefix=8, prefix=5, familyNameSuffix=8, degree=5, familyName2=25}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null, resourceVersion=2.0}> java.lang.AssertionError: Expected: is <{displayName=Long Name Format, codeName=long, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.prefix, codeName=prefix, displaySize=5}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.givenName, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.middleName, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyNamePrefix, codeName=familyNamePrefix, displaySize=8}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyName, codeName=familyName, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyName2, codeName=familyName2, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=PersonName.familyNameSuffix, codeName=familyNameSuffix, displaySize=8}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=PersonName.degree, codeName=degree, displaySize=5}]], lineByLineFormat=[prefix, givenName, middleName, familyNamePrefix familyName familyName2 familyNameSuffix, degree], nameMappings={familyName2=PersonName.familyName2, prefix=PersonName.prefix, familyNamePrefix=PersonName.familyNamePrefix, givenName=PersonName.givenName, familyName=PersonName.familyName, degree=PersonName.degree, middleName=PersonName.middleName, familyNameSuffix=PersonName.familyNameSuffix}, sizeMappings={familyName2=25, prefix=5, familyNamePrefix=8, givenName=30, familyName=25, degree=5, middleName=30, familyNameSuffix=8}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null, resourceVersion=2.0}> but: was <{displayName=Long Name Format, codeName=long, country=null, lines=[[{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=prefix, displaySize=5}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=givenName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=middleName, displaySize=30}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyNamePrefix, displaySize=8}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyName2, displaySize=25}, {isToken=IS_NOT_NAME_TOKEN, displayText= }, {isToken=IS_NAME_TOKEN, displayText=null, codeName=familyNameSuffix, displaySize=8}], [{isToken=IS_NOT_NAME_TOKEN, displayText=}, {isToken=IS_NAME_TOKEN, displayText=null, codeName=degree, displaySize=5}]], lineByLineFormat=[prefix, givenName, middleName, familyNamePrefix familyName familyName2 familyNameSuffix, degree], nameMappings={familyName2=null, prefix=null, familyName=null, givenName=null, familyNamePrefix=null, degree=null, middleName=null, familyNameSuffix=null}, sizeMappings={familyName=25, middleName=30, givenName=30, familyNamePrefix=8, prefix=5, familyNameSuffix=8, degree=5, familyName2=25}, elementDefaults=null, elementRegex=null, elementRegexFormats=null, requiredElements=null, resourceVersion=2.0}> at org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs2_0.NameTemplateController2_0Test.shouldGetNameTemplateByCodename(NameTemplateController2_0Test.java:106) |
|||
Collapse |
PasswordResetController2_2Test
requestPasswordReset_shouldCreateUserActivationKeyGivenEmail
|
< 1 sec | |
java.lang.AssertionError: Expected: an instance of org.openmrs.notification.MessageException but: <java.lang.NullPointerException> is a java.lang.NullPointerException Stacktrace was: java.lang.NullPointerException at org.openmrs.api.impl.UserServiceImpl.setUserActivationKey(UserServiceImpl.java:744) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) (205 more lines...) |
|||
Collapse |
PasswordResetController2_2Test
requestPasswordReset_shouldCreateUserActivationKeyGivenUsername
|
< 1 sec | |
java.lang.AssertionError: Expected: an instance of org.openmrs.notification.MessageException but: <java.lang.NullPointerException> is a java.lang.NullPointerException Stacktrace was: java.lang.NullPointerException at org.openmrs.api.impl.UserServiceImpl.setUserActivationKey(UserServiceImpl.java:744) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) (205 more lines...) |
Error summary
The build generated some errors. See the full build log for more details.
java.lang.NullPointerException
at org.openmrs.web.WebComponentRegistrar.addMappings(WebComponentRegistrar.java:70)
at org.openmrs.web.WebComponentRegistrar.setServletContext(WebComponentRegistrar.java:35)
at org.springframework.web.context.support.ServletContextAwareProcessor.postProcessBeforeInitialization(ServletContextAwareProcessor.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:415)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:129)
at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:61)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:275)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:123)
at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190)
at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:98)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$6(ClassBasedTestDescriptor.java:350)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:355)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$7(ClassBasedTestDescriptor.java:350)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:313)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:647)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:349)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$4(ClassBasedTestDescriptor.java:270)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:269)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$2(ClassBasedTestDescriptor.java:259)
at java.util.Optional.orElseGet(Optional.java:267)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$3(ClassBasedTestDescriptor.java:258)
at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:101)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:100)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:65)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$1(NodeTestTask.java:111)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:111)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:79)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Security framework of XStream not initialized, XStream is probably vulnerable.
at org.openmrs.web.WebComponentRegistrar.addMappings(WebComponentRegistrar.java:70)
at org.openmrs.web.WebComponentRegistrar.setServletContext(WebComponentRegistrar.java:35)
at org.springframework.web.context.support.ServletContextAwareProcessor.postProcessBeforeInitialization(ServletContextAwareProcessor.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:415)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:129)
at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:61)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:275)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:123)
at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190)
at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:98)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$6(ClassBasedTestDescriptor.java:350)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:355)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$7(ClassBasedTestDescriptor.java:350)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:313)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:647)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:349)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$4(ClassBasedTestDescriptor.java:270)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:269)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$2(ClassBasedTestDescriptor.java:259)
at java.util.Optional.orElseGet(Optional.java:267)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$3(ClassBasedTestDescriptor.java:258)
at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:101)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:100)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:65)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$1(NodeTestTask.java:111)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:111)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:79)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Security framework of XStream not initialized, XStream is probably vulnerable.