Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- surefire:2.22.1:test (default-test) @ webservices.rest-omod-common ---
- [INFO]
- [INFO] -------------------------------------------------------
- [INFO] T E S T S
- [INFO] -------------------------------------------------------
- [INFO] Running org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest
- [ERROR] Tests run: 53, Failures: 0, Errors: 39, Skipped: 0, Time elapsed: 0.538 s <<< FAILURE! - in org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest
- [ERROR] getResourceByName_shouldReturnResourceForGivenNameAndIgnoreUnannotatedResources(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0.351 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceByName_shouldReturnResourceForGivenNameAndIgnoreUnannotatedResources(RestServiceImplTest.java:208)
- [ERROR] getResourceBySupportedClass_shouldReturnResourceSupportingGivenClassAndCurrentOpenmrsVersion(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceBySupportedClass_shouldReturnResourceSupportingGivenClassAndCurrentOpenmrsVersion(RestServiceImplTest.java:367)
- [ERROR] initialize_shouldClearCachedResourcesAndSearchHandlersAndReinitializeThem(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.initialize_shouldClearCachedResourcesAndSearchHandlersAndReinitializeThem(RestServiceImplTest.java:1137)
- [ERROR] getResourceByName_shouldReturnResourceForGivenName(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0.016 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceByName_shouldReturnResourceForGivenName(RestServiceImplTest.java:190)
- [ERROR] getSearchHandler_shouldReturnNullIfParametersDoNotContainASearchHandlerIdAndNoOtherNonSpecialRequestParameters(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandler_shouldReturnNullIfParametersDoNotContainASearchHandlerIdAndNoOtherNonSpecialRequestParameters(RestServiceImplTest.java:618)
- [ERROR] getSearchHandlers_shouldReturnNullIfNoSearchHandlerIsFoundForGivenResourceName(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandlers_shouldReturnNullIfNoSearchHandlerIsFoundForGivenResourceName(RestServiceImplTest.java:1023)
- [ERROR] getResourceByName_shouldFailIfResourceForGivenNameDoesNotSupportTheCurrentOpenmrsVersion(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceByName_shouldFailIfResourceForGivenNameDoesNotSupportTheCurrentOpenmrsVersion(RestServiceImplTest.java:271)
- [ERROR] getSearchHandler_shouldReturnSearchHandlerProvidingAllRequestParametersAndParametersSatisfyingItsRequiredParameters(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandler_shouldReturnSearchHandlerProvidingAllRequestParametersAndParametersSatisfyingItsRequiredParameters(RestServiceImplTest.java:648)
- [ERROR] getSearchHandler_shouldReturnNullIfGivenParametersAreMissingAParameterRequiredBySearchHandlersEligibleForGivenResourceNameAndParameters(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandler_shouldReturnNullIfGivenParametersAreMissingAParameterRequiredBySearchHandlersEligibleForGivenResourceNameAndParameters(RestServiceImplTest.java:680)
- [ERROR] getResourceBySupportedClass_shouldReturnResourceWithLowerOrderValueIfTwoResourcesWithTheSameNameAreFoundForGivenClass(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceBySupportedClass_shouldReturnResourceWithLowerOrderValueIfTwoResourcesWithTheSameNameAreFoundForGivenClass(RestServiceImplTest.java:521)
- [ERROR] getResourceByName_shouldReturnResourceWithLowerOrderValueIfTwoResourcesWithTheSameNameAreFoundForGivenName(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0.015 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceByName_shouldReturnResourceWithLowerOrderValueIfTwoResourcesWithTheSameNameAreFoundForGivenName(RestServiceImplTest.java:350)
- [ERROR] getSearchHandlers_shouldFailIfTwoSearchHandlersForTheSameResourceHaveTheSameId(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandlers_shouldFailIfTwoSearchHandlersForTheSameResourceHaveTheSameId(RestServiceImplTest.java:1080)
- [ERROR] getSearchHandler_shouldReturnDefaultSearchHandlerIfDefaultAndCustomSearchHandlersMatchGivenResourceAndParametersAndNoSearchHandlerIdIsSpecified(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandler_shouldReturnDefaultSearchHandlerIfDefaultAndCustomSearchHandlersMatchGivenResourceAndParametersAndNoSearchHandlerIdIsSpecified(RestServiceImplTest.java:711)
- [ERROR] getResourceBySupportedClass_shouldFailIfNoResourceSupportingGivenClassAndCurrentOpenmrsVersionWasFound(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceBySupportedClass_shouldFailIfNoResourceSupportingGivenClassAndCurrentOpenmrsVersionWasFound(RestServiceImplTest.java:385)
- [ERROR] getResourceHandlers_shouldReturnListWithDelegatingResourceWithLowerOrderValueIfTwoResourcesWithTheSameNameAreFoundForGivenName(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceHandlers_shouldReturnListWithDelegatingResourceWithLowerOrderValueIfTwoResourcesWithTheSameNameAreFoundForGivenName(RestServiceImplTest.java:876)
- [ERROR] getResourceBySupportedClass_shouldFailIfTwoResourcesWithSameNameAndOrderAreFoundForGivenClass(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceBySupportedClass_shouldFailIfTwoResourcesWithSameNameAndOrderAreFoundForGivenClass(RestServiceImplTest.java:500)
- [ERROR] getSearchHandlers_shouldReturnNullIfNoSearchHandlerIsFoundForCurrentOpenmrsVersion(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandlers_shouldReturnNullIfNoSearchHandlerIsFoundForCurrentOpenmrsVersion(RestServiceImplTest.java:1044)
- [ERROR] getResourceHandlers_shouldReturnListOfDelegatingResourceHandlersIncludingSubclassHandlers(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0.016 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceHandlers_shouldReturnListOfDelegatingResourceHandlersIncludingSubclassHandlers(RestServiceImplTest.java:850)
- [ERROR] getResourceBySupportedClass_shouldReturnResourceSupportingDirectSuperclassOfGivenClassIfNoResourceSupportingGivenClassWasFoundButMultipleResourcesSupportingMultipleSuperclassesExist(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceBySupportedClass_shouldReturnResourceSupportingDirectSuperclassOfGivenClassIfNoResourceSupportingGivenClassWasFoundButMultipleResourcesSupportingMultipleSuperclassesExist(RestServiceImplTest.java:465)
- [ERROR] getResourceBySupportedClass_shouldReturnResourceSupportingSuperclassOfGivenClassIfGivenClassIsAHibernateProxy(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceBySupportedClass_shouldReturnResourceSupportingSuperclassOfGivenClassIfGivenClassIsAHibernateProxy(RestServiceImplTest.java:425)
- [ERROR] getAllSearchHandlers_shouldReturnAllSearchHandlersIfSearchHandlersHaveBeenInitialized(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getAllSearchHandlers_shouldReturnAllSearchHandlersIfSearchHandlersHaveBeenInitialized(RestServiceImplTest.java:945)
- [ERROR] getResourceBySupportedClass_shouldReturnResourceSupportingSuperclassOfGivenClassIfNoResourceSupportingGivenClassWasFound(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceBySupportedClass_shouldReturnResourceSupportingSuperclassOfGivenClassIfNoResourceSupportingGivenClassWasFound(RestServiceImplTest.java:444)
- [ERROR] initialize_shouldFailIfTwoSearchHandlersForTheSameResourceHaveTheSameId(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.initialize_shouldFailIfTwoSearchHandlersForTheSameResourceHaveTheSameId(RestServiceImplTest.java:1234)
- [ERROR] initialize_shouldFailIfTwoResourcesWithSameNameAndOrderAreFound(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.initialize_shouldFailIfTwoResourcesWithSameNameAndOrderAreFound(RestServiceImplTest.java:1210)
- [ERROR] getSearchHandler_shouldReturnNullIfNoSearchHandlerIsFoundForGivenResourceName(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandler_shouldReturnNullIfNoSearchHandlerIsFoundForGivenResourceName(RestServiceImplTest.java:796)
- [ERROR] getSearchHandler_shouldReturnNullIfANonSpecialRequestParameterInGivenParametersCannotBeFoundInAnySearchHandler(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandler_shouldReturnNullIfANonSpecialRequestParameterInGivenParametersCannotBeFoundInAnySearchHandler(RestServiceImplTest.java:772)
- [ERROR] getSearchHandler_shouldFailIfTwoSearchHandlersMatchGivenResourceAndParametersAndNoSearchHandlerIdIsSpecified(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandler_shouldFailIfTwoSearchHandlersMatchGivenResourceAndParametersAndNoSearchHandlerIdIsSpecified(RestServiceImplTest.java:738)
- [ERROR] getResourceByName_shouldFailIfSubresourceForGivenNameDoesNotSupportTheCurrentOpenmrsVersion(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceByName_shouldFailIfSubresourceForGivenNameDoesNotSupportTheCurrentOpenmrsVersion(RestServiceImplTest.java:310)
- [ERROR] getResourceBySupportedClass_shouldFailIfNoResourceSupportingGivenClassWasFound(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceBySupportedClass_shouldFailIfNoResourceSupportingGivenClassWasFound(RestServiceImplTest.java:404)
- [ERROR] getResourceByName_shouldReturnSubresourceForGivenName(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceByName_shouldReturnSubresourceForGivenName(RestServiceImplTest.java:291)
- [ERROR] getSearchHandler_shouldFailIfTwoSearchHandlersForTheSameResourceHaveTheSameId(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0.016 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandler_shouldFailIfTwoSearchHandlersForTheSameResourceHaveTheSameId(RestServiceImplTest.java:588)
- [ERROR] getSearchHandler_shouldFailIfParametersContainASearchHandlerIdWhichCannotBeFound(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandler_shouldFailIfParametersContainASearchHandlerIdWhichCannotBeFound(RestServiceImplTest.java:559)
- [ERROR] getSearchHandler_shouldReturnNullIfNoSearchHandlerIsFoundForCurrentOpenmrsVersion(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandler_shouldReturnNullIfNoSearchHandlerIsFoundForCurrentOpenmrsVersion(RestServiceImplTest.java:820)
- [ERROR] getResourceHandlers_shouldFailIfTwoResourcesWithSameNameAndOrderAreFoundForAClass(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceHandlers_shouldFailIfTwoResourcesWithSameNameAndOrderAreFoundForAClass(RestServiceImplTest.java:911)
- [ERROR] getResourceByName_shouldFailIfTwoResourcesWithSameNameAndOrderAreFoundForGivenName(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getResourceByName_shouldFailIfTwoResourcesWithSameNameAndOrderAreFoundForGivenName(RestServiceImplTest.java:329)
- [ERROR] initialize_shouldFailIfFailedToInstantiateAResource(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.initialize_shouldFailIfFailedToInstantiateAResource(RestServiceImplTest.java:1191)
- [ERROR] getSearchHandlers_shouldReturnSearchHandlersForGivenResourceName(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandlers_shouldReturnSearchHandlersForGivenResourceName(RestServiceImplTest.java:998)
- [ERROR] getSearchHandler_shouldReturnSearchHandlerMatchingIdSetInGivenParameters(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.getSearchHandler_shouldReturnSearchHandlerMatchingIdSetInGivenParameters(RestServiceImplTest.java:539)
- [ERROR] initialize_shouldInitializeResourcesAndSearchHandlers(org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest) Time elapsed: 0 s <<< ERROR!
- java.lang.IllegalAccessException: Can not set static final java.lang.String field org.openmrs.util.OpenmrsConstants.OPENMRS_VERSION_SHORT to java.lang.String
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.setCurrentOpenmrsVersion(RestServiceImplTest.java:227)
- at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImplTest.initialize_shouldInitializeResourcesAndSearchHandlers(RestServiceImplTest.java:1110)
- [INFO] Running org.openmrs.module.webservices.rest.web.api.RestServiceTest
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:12:49,200| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:13:13,274| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:13:13,330| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:13:37,467| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:14:01,534| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:14:25,670| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:14:49,773| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:15:13,889| Connections could not be acquired from the underlying database!
- [ERROR] Tests run: 12, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 221.9 s <<< FAILURE! - in org.openmrs.module.webservices.rest.web.api.RestServiceTest
- [ERROR] getRepresentation_shouldGetFullRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 101.284 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getRepresentation_shouldGetFullRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 101.284 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] getRepresentation_shouldGetFullRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 101.285 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getRepresentation_shouldGetDefaultRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 24.192 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getRepresentation_shouldGetDefaultRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 24.193 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] getRepresentation_shouldGetDefaultRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 24.194 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getRepresentation_shouldGetANamedRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 48.199 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getRepresentation_shouldGetANamedRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 48.199 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] getRepresentation_shouldGetANamedRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 48.199 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getRepresentation_shouldGetRefRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 48.219 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getRepresentation_shouldGetRefRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 48.219 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] getRepresentation_shouldGetRefRepresentationWhenSpecified(org.openmrs.module.webservices.rest.web.api.RestServiceTest) Time elapsed: 48.219 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [INFO] Running org.openmrs.module.webservices.rest.web.ConversionUtilTest
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:15:37,984| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:16:02,076| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:16:26,178| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:16:50,266| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:17:14,382| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:17:38,492| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:18:02,587| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:18:26,670| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:18:50,778| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:19:14,891| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:19:39,001| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:20:03,105| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:20:27,192| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:20:51,306| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:21:15,398| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:21:39,534| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:22:03,622| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:22:27,718| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:22:27,742| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:22:51,843| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:23:15,942| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:23:40,050| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:24:04,112| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:24:28,252| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:24:52,346| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:25:16,462| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:25:40,532| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:26:04,604| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:26:28,656| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:26:52,824| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:27:16,910| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:27:41,033| Connections could not be acquired from the underlying database!
- [ERROR] Tests run: 48, Failures: 0, Errors: 48, Skipped: 0, Time elapsed: 747.124 s <<< FAILURE! - in org.openmrs.module.webservices.rest.web.ConversionUtilTest
- [ERROR] getTypeVariableClass_shouldThrowIllegalArgumentExceptionWhenInstanceClassIsNull(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.165 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getTypeVariableClass_shouldThrowIllegalArgumentExceptionWhenInstanceClassIsNull(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.165 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] getTypeVariableClass_shouldThrowIllegalArgumentExceptionWhenInstanceClassIsNull(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.165 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getTypeVariableClass_shouldReturnTheActualTypeIfDefinedOnTheGrandparentClass(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.194 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getTypeVariableClass_shouldReturnTheActualTypeIfDefinedOnTheGrandparentClass(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.194 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] getTypeVariableClass_shouldReturnTheActualTypeIfDefinedOnTheGrandparentClass(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.195 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldConvertSimpleObjectToCustomRepresentation(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.221 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldConvertSimpleObjectToCustomRepresentation(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.222 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] convert_shouldConvertSimpleObjectToCustomRepresentation(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.222 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldConvertToAnArray(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.177 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldConvertToAnArray(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.177 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] convert_shouldConvertToAnArray(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.177 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldSConvertStringsToEnumsValues(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.221 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldSConvertStringsToEnumsValues(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.221 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] convert_shouldSConvertStringsToEnumsValues(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.221 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldReturnFalseOnIncorrectDateFromString(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.216 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldReturnFalseOnIncorrectDateFromString(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.217 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] convert_shouldReturnFalseOnIncorrectDateFromString(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.217 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getTypeVariableClass_shouldReturnNullWhenActualTypeCannotBeFound(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.197 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getTypeVariableClass_shouldReturnNullWhenActualTypeCannotBeFound(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.197 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] getTypeVariableClass_shouldReturnNullWhenActualTypeCannotBeFound(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.197 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getTypeVariableClass_shouldThrowIllegalArgumentExceptionWhenTypeVariableIsNull(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.23 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getTypeVariableClass_shouldThrowIllegalArgumentExceptionWhenTypeVariableIsNull(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.231 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] getTypeVariableClass_shouldThrowIllegalArgumentExceptionWhenTypeVariableIsNull(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.231 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldReturnCorrectDateWhenParsingStringHavingTimeZone(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.184 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldReturnCorrectDateWhenParsingStringHavingTimeZone(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.184 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] convert_shouldReturnCorrectDateWhenParsingStringHavingTimeZone(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.185 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldConvertStringsToLocales(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 24.122 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldConvertStringsToLocales(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 24.122 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] convert_shouldConvertStringsToLocales(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 24.123 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getTypeVariableClass_shouldReturnTheActualTypeIfDefinedOnTheParentClass(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.206 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getTypeVariableClass_shouldReturnTheActualTypeIfDefinedOnTheParentClass(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.206 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] getTypeVariableClass_shouldReturnTheActualTypeIfDefinedOnTheParentClass(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.206 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convertToRepresentation_shouldReturnSameStringForToday(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.201 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convertToRepresentation_shouldReturnSameStringForToday(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.201 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] convertToRepresentation_shouldReturnSameStringForToday(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.201 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldResolveTypeVariablesToActualType(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.212 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldResolveTypeVariablesToActualType(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.212 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] convert_shouldResolveTypeVariablesToActualType(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.212 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldConvertToAClass(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.141 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldConvertToAClass(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.141 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] convert_shouldConvertToAClass(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.141 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getTypeVariableClass_shouldReturnTheCorrectActualTypeIfThereAreMultipleGenericTypes(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.22 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] getTypeVariableClass_shouldReturnTheCorrectActualTypeIfThereAreMultipleGenericTypes(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.22 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] getTypeVariableClass_shouldReturnTheCorrectActualTypeIfThereAreMultipleGenericTypes(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.22 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldReturnEqualsDateFromString(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.209 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [ERROR] convert_shouldReturnEqualsDateFromString(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.209 s <<< ERROR!
- java.lang.NullPointerException
- [ERROR] convert_shouldReturnEqualsDateFromString(org.openmrs.module.webservices.rest.web.ConversionUtilTest) Time elapsed: 48.209 s <<< ERROR!
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
- Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
- [INFO] Running org.openmrs.module.webservices.rest.web.filter.ContentTypeFilterTest
- [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.openmrs.module.webservices.rest.web.filter.ContentTypeFilterTest
- [INFO] Running org.openmrs.module.webservices.rest.web.RequestContextTest
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:28:05,217| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:28:29,305| Connections could not be acquired from the underlying database!
- ERROR - JDBCExceptionReporter.logExceptions(234) |2025-07-06 10:28:53,423| Connections could not be acquired from the underlying database!
Add Comment
Please, Sign In to add comment