Advertisement
Guest User

OpenMrs Project Build Error log Legacy UI

a guest
Aug 22nd, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 162.36 KB | None | 0 0
  1. F:\GitProjects\openmrs-module-legacyui>mvn clean install
  2. [INFO] Scanning for projects...
  3. [INFO] ------------------------------------------------------------------------
  4. [INFO] Reactor Build Order:
  5. [INFO]
  6. [INFO] Legacy UI Module
  7. [INFO] Legacy UI Module API
  8. [INFO] Legacy UI Module OMOD
  9. [INFO]
  10. [INFO] ------------------------------------------------------------------------
  11. [INFO] Building Legacy UI Module 1.3.3-SNAPSHOT
  12. [INFO] ------------------------------------------------------------------------
  13. Downloading: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
  14. Downloaded: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1021 B at 0.3 KB/sec)
  15. Downloading: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml
  16. Downloaded: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml (770 B at 0.6 KB/sec)
  17. [INFO]
  18. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ legacyui ---
  19. [INFO]
  20. [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ legacyui ---
  21. [INFO] Updating license headers...
  22. [INFO]
  23. [INFO] --- maven-install-plugin:2.4:install (default-install) @ legacyui ---
  24. [INFO] Installing F:\GitProjects\openmrs-module-legacyui\pom.xml to C:\Users\atishaya jain\.m2\repository\org\openmrs\module\legacyui\1.3.3-SNAPSHOT\legacyui-1.3.3-SNAPSHOT.pom
  25. [INFO]
  26. [INFO] ------------------------------------------------------------------------
  27. [INFO] Building Legacy UI Module API 1.3.3-SNAPSHOT
  28. [INFO] ------------------------------------------------------------------------
  29. [INFO]
  30. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ legacyui-api ---
  31. [INFO] Deleting F:\GitProjects\openmrs-module-legacyui\api\target
  32. [INFO]
  33. [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ legacyui-api ---
  34. [INFO] Updating license headers...
  35. [INFO]
  36. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ legacyui-api ---
  37. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  38. [INFO] Copying 3 resources
  39. [INFO]
  40. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ legacyui-api ---
  41. [INFO] Changes detected - recompiling the module!
  42. [INFO] Compiling 1 source file to F:\GitProjects\openmrs-module-legacyui\api\target\classes
  43. [INFO]
  44. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ legacyui-api ---
  45. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  46. [INFO] skip non existing resourceDirectory F:\GitProjects\openmrs-module-legacyui\api\src\test\resources
  47. [INFO]
  48. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ legacyui-api ---
  49. [INFO] No sources to compile
  50. [INFO]
  51. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ legacyui-api ---
  52. [INFO] No tests to run.
  53. [INFO]
  54. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ legacyui-api ---
  55. [INFO] Building jar: F:\GitProjects\openmrs-module-legacyui\api\target\legacyui-api-1.3.3-SNAPSHOT.jar
  56. [INFO]
  57. [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ legacyui-api ---
  58. [WARNING] JAR will be empty - no content was marked for inclusion!
  59. [INFO] Building jar: F:\GitProjects\openmrs-module-legacyui\api\target\legacyui-api-1.3.3-SNAPSHOT-tests.jar
  60. [INFO]
  61. [INFO] --- maven-install-plugin:2.4:install (default-install) @ legacyui-api ---
  62. [INFO] Installing F:\GitProjects\openmrs-module-legacyui\api\target\legacyui-api-1.3.3-SNAPSHOT.jar to C:\Users\atishaya jain\.m2\repository\org\openmrs\module\legacyui-api\1.3.3-SNAPSHOT\legacyui-api-1.3.3-SNAPSHOT.jar
  63. [INFO] Installing F:\GitProjects\openmrs-module-legacyui\api\pom.xml to C:\Users\atishaya jain\.m2\repository\org\openmrs\module\legacyui-api\1.3.3-SNAPSHOT\legacyui-api-1.3.3-SNAPSHOT.pom
  64. [INFO] Installing F:\GitProjects\openmrs-module-legacyui\api\target\legacyui-api-1.3.3-SNAPSHOT-tests.jar to C:\Users\atishaya jain\.m2\repository\org\openmrs\module\legacyui-api\1.3.3-SNAPSHOT\legacyui-api-1.3.3-SNAPSHOT-tests.jar
  65. [INFO]
  66. [INFO] ------------------------------------------------------------------------
  67. [INFO] Building Legacy UI Module OMOD 1.3.3-SNAPSHOT
  68. [INFO] ------------------------------------------------------------------------
  69. [INFO]
  70. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ legacyui-omod ---
  71. [INFO] Deleting F:\GitProjects\openmrs-module-legacyui\omod\target
  72. [INFO]
  73. [INFO] --- maven-openmrs-plugin:1.0.1:initialize-module (init) @ legacyui-omod ---
  74. [INFO]
  75. [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (prepare-agent) @ legacyui-omod ---
  76. [INFO] argLine set to "-javaagent:C:\\Users\\atishaya jain\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.7.7.201606060606\\org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=F:\\GitProjects\\openmrs-module-legacyui\\omod\\target\\jacoco.exec,includes=org/openmrs/**"
  77. [INFO]
  78. [INFO] --- license-maven-plugin:3.0:format (format-license-header) @ legacyui-omod ---
  79. [INFO] Updating license headers...
  80. [INFO]
  81. [INFO] --- maven-dependency-plugin:2.4:unpack-dependencies (Expand moduleApplicationContext and messages) @ legacyui-omod ---
  82. [INFO] Unpacking F:\GitProjects\openmrs-module-legacyui\api\target\legacyui-api-1.3.3-SNAPSHOT.jar to F:\GitProjects\openmrs-module-legacyui\omod\target\classes with includes "**/*" and excludes ""
  83. [INFO]
  84. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ legacyui-omod ---
  85. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  86. [INFO] Copying 7 resources
  87. [INFO] Copying 759 resources to web/module
  88. [INFO] Copying 0 resource to web/module
  89. [INFO] Copying 759 resources to web/module
  90. [INFO]
  91. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ legacyui-omod ---
  92. [INFO] Changes detected - recompiling the module!
  93. [INFO] Compiling 304 source files to F:\GitProjects\openmrs-module-legacyui\omod\target\classes
  94. [WARNING] /F:/GitProjects/openmrs-module-legacyui/omod/src/main/java/org/openmrs/web/controller/maintenance/ServerLogController.java: Some input files use or override a deprecated API.
  95. [WARNING] /F:/GitProjects/openmrs-module-legacyui/omod/src/main/java/org/openmrs/web/controller/maintenance/ServerLogController.java: Recompile with -Xlint:deprecation for details.
  96. [WARNING] /F:/GitProjects/openmrs-module-legacyui/omod/src/main/java/org/springframework/web/servlet/mvc/BaseCommandController.java: Some input files use unchecked or unsafe operations.
  97. [WARNING] /F:/GitProjects/openmrs-module-legacyui/omod/src/main/java/org/springframework/web/servlet/mvc/BaseCommandController.java: Recompile with -Xlint:unchecked for details.
  98. [INFO]
  99. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ legacyui-omod ---
  100. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  101. [INFO] Copying 26 resources
  102. [INFO]
  103. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ legacyui-omod ---
  104. [INFO] Changes detected - recompiling the module!
  105. [INFO] Compiling 73 source files to F:\GitProjects\openmrs-module-legacyui\omod\target\test-classes
  106. [WARNING] /F:/GitProjects/openmrs-module-legacyui/omod/src/test/java/org/openmrs/web/controller/provider/ProviderFormControllerTest.java: Some input files use or override a deprecated API.
  107. [WARNING] /F:/GitProjects/openmrs-module-legacyui/omod/src/test/java/org/openmrs/web/controller/provider/ProviderFormControllerTest.java: Recompile with -Xlint:deprecation for details.
  108. [WARNING] /F:/GitProjects/openmrs-module-legacyui/omod/src/test/java/org/openmrs/web/dwr/DeprecationCheckTest.java: Some input files use unchecked or unsafe operations.
  109. [WARNING] /F:/GitProjects/openmrs-module-legacyui/omod/src/test/java/org/openmrs/web/dwr/DeprecationCheckTest.java: Recompile with -Xlint:unchecked for details.
  110. [INFO]
  111. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ legacyui-omod ---
  112. [INFO] Surefire report directory: F:\GitProjects\openmrs-module-legacyui\omod\target\surefire-reports
  113.  
  114. -------------------------------------------------------
  115. T E S T S
  116. -------------------------------------------------------
  117. Running org.openmrs.layout.AddressSupportTest
  118. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.361 sec
  119. Running org.openmrs.layout.NameSupportTest
  120. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.096 sec
  121. Running org.openmrs.module.web.controller.ModuleListControllerTest
  122. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
  123. Running org.openmrs.module.web.extension.ExtensionUtilTest
  124. SLF4J: Class path contains multiple SLF4J bindings.
  125. SLF4J: Found binding in [jar:file:/C:/Users/atishaya%20jain/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  126. SLF4J: Found binding in [jar:file:/C:/Users/atishaya%20jain/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  127. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  128. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.74 sec
  129. Running org.openmrs.scheduler.web.controller.SchedulerFormControllerTest
  130. ERROR - BatchingBatch.performExecution(141) |2017-08-22 18:33:53,393| HHH000315: Exception executing batch [Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1]
  131. Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.276 sec
  132. Running org.openmrs.scheduler.web.controller.SchedulerFormTest
  133. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 sec
  134. Running org.openmrs.scheduler.web.controller.TaskHelperTest
  135. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.905 sec
  136. Running org.openmrs.web.attribute.handler.BaseMetadataFieldGenDatatypeHandlerTest
  137. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
  138. Running org.openmrs.web.attribute.handler.RegexValidatedTextDatatypeHandlerTest
  139. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
  140. Running org.openmrs.web.attribute.handler.SerializingFieldGenDatatypeHandlerTest
  141. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
  142. Running org.openmrs.web.controller.concept.ConceptDrugFormControllerTest
  143. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
  144. Running org.openmrs.web.controller.concept.ConceptFormControllerTest
  145. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 sec
  146. Running org.openmrs.web.controller.concept.ConceptProposalFormControllerTest
  147. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.531 sec
  148. Running org.openmrs.web.controller.concept.ConceptSourceFormControllerTest
  149. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
  150. Running org.openmrs.web.controller.concept.ConceptStopWordFormControllerTest
  151. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.101 sec
  152. Running org.openmrs.web.controller.concept.ConceptStopWordListControllerTest
  153. Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.161 sec
  154. Running org.openmrs.web.controller.ConceptFormControllerTest
  155. WARN - HibernateConceptDAO.getConceptByName(1713) |2017-08-22 18:34:03,971| Multiple concepts found for 'new concept'
  156. WARN - HibernateConceptDAO.getConceptByName(1713) |2017-08-22 18:34:07,435| Multiple concepts found for 'no such concept'
  157. WARN - HibernateConceptDAO.getConceptByName(1713) |2017-08-22 18:34:09,826| Multiple concepts found for 'no such concept'
  158. WARN - HibernateConceptDAO.getConceptByName(1713) |2017-08-22 18:34:13,612| Multiple concepts found for 'no such concept'
  159. WARN - HibernateConceptDAO.getConceptByName(1713) |2017-08-22 18:34:24,619| Multiple concepts found for 'no such concept'
  160. WARN - HibernateConceptDAO.getConceptByName(1713) |2017-08-22 18:34:26,597| Multiple concepts found for 'no such concept'
  161. WARN - HibernateConceptDAO.getConceptByName(1713) |2017-08-22 18:34:27,203| Multiple concepts found for 'no such concept'
  162. WARN - HibernateConceptDAO.getConceptByName(1713) |2017-08-22 18:34:27,919| Multiple concepts found for 'concept with attribute'
  163. WARN - HibernateConceptDAO.getConceptByName(1713) |2017-08-22 18:34:32,596| Multiple concepts found for 'no such concept'
  164. Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.49 sec
  165. Running org.openmrs.web.controller.encounter.EncounterFormControllerTest
  166. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.23 sec
  167. Running org.openmrs.web.controller.encounter.EncounterRoleFormControllerTest
  168. Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.415 sec
  169. Running org.openmrs.web.controller.encounter.EncounterTypeFormControllerTest
  170. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec
  171. Running org.openmrs.web.controller.encounter.EncounterTypeListControllerTest
  172. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec
  173. Running org.openmrs.web.controller.encounter.LocationFormControllerTest
  174. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 sec
  175. Running org.openmrs.web.controller.ForgotPasswordFormControllerTest
  176. WARN - HibernateUserDAO.getUserByUsername(102) |2017-08-22 18:34:33,643| request for username 'invaliduser' not found
  177. WARN - HibernateUserDAO.getUserByUsername(102) |2017-08-22 18:34:33,645| request for username 'invaliduser' not found
  178. WARN - HibernateUserDAO.getUserByUsername(102) |2017-08-22 18:34:33,648| request for username 'invaliduser' not found
  179. WARN - HibernateUserDAO.getUserByUsername(102) |2017-08-22 18:34:33,649| request for username 'invaliduser' not found
  180. WARN - HibernateUserDAO.getUserByUsername(102) |2017-08-22 18:34:33,718| request for username 'invaliduser' not found
  181. WARN - HibernateUserDAO.getUserByUsername(102) |2017-08-22 18:34:33,719| request for username 'invaliduser' not found
  182. WARN - HibernateUserDAO.getUserByUsername(102) |2017-08-22 18:34:33,721| request for username 'invaliduser' not found
  183. WARN - HibernateUserDAO.getUserByUsername(102) |2017-08-22 18:34:33,722| request for username 'invaliduser' not found
  184. WARN - HibernateUserDAO.getUserByUsername(102) |2017-08-22 18:34:33,807| request for username 'invaliduser' not found
  185. Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.311 sec
  186. Running org.openmrs.web.controller.form.FieldFormControllerTest
  187. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 sec
  188. Running org.openmrs.web.controller.form.FieldTypeListControllerTest
  189. ERROR - SqlExceptionHelper.logExceptions(146) |2017-08-22 18:34:33,998| Referential integrity constraint violation: "FK_4L23H7EJO4FVGO1323ENCO7QO: PUBLIC.FIELD FOREIGN KEY(FIELD_TYPE) REFERENCES PUBLIC.FIELD_TYPE(FIELD_TYPE_ID) (1)"; SQL statement:
  190. delete from field_type where field_type_id=? [23503-187]
  191. ERROR - SqlExceptionHelper.logExceptions(146) |2017-08-22 18:34:33,999| Referential integrity constraint violation: "FK_4L23H7EJO4FVGO1323ENCO7QO: PUBLIC.FIELD FOREIGN KEY(FIELD_TYPE) REFERENCES PUBLIC.FIELD_TYPE(FIELD_TYPE_ID) (1)"; SQL statement:
  192. delete from field_type where field_type_id=? [23503-187]
  193. ERROR - BatchingBatch.performExecution(141) |2017-08-22 18:34:34,002| HHH000315: Exception executing batch [could not execute batch]
  194. ERROR - FieldTypeListController.onSubmit(85) |2017-08-22 18:34:34,007| Unable to delete a field type because it is in use. fieldTypeId: 1
  195. org.springframework.dao.DataIntegrityViolationException: could not execute batch; SQL [delete from field_type where field_type_id=?]; constraint ["FK_4L23H7EJO4FVGO1323ENCO7QO: PUBLIC.FIELD FOREIGN KEY(FIELD_TYPE) REFERENCES PUBLIC.FIELD_TYPE(FIELD_TYPE_ID) (1)"; SQL statement:
  196. delete from field_type where field_type_id=? [23503-187]]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute batch
  197. at org.springframework.orm.hibernate4.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:163)
  198. at org.springframework.orm.hibernate4.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:730)
  199. at org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:592)
  200. at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757)
  201. at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:726)
  202. at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:515)
  203. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)
  204. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  205. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  206. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  207. at com.sun.proxy.$Proxy74.purgeFieldType(Unknown Source)
  208. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  209. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  210. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  211. at java.lang.reflect.Method.invoke(Method.java:498)
  212. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  213. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  214. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  215. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  216. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  217. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  218. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  219. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  220. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  221. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  222. at com.sun.proxy.$Proxy75.purgeFieldType(Unknown Source)
  223. at org.openmrs.web.controller.form.FieldTypeListController.onSubmit(FieldTypeListController.java:71)
  224. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  225. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  226. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  227. at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)
  228. at org.openmrs.web.test.WebTestHelper.handle(WebTestHelper.java:127)
  229. at org.openmrs.web.controller.form.FieldTypeListControllerTest.onSubmit_shouldDisplayAUserFriendlyErrorMessage(FieldTypeListControllerTest.java:45)
  230. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  231. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  232. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  233. at java.lang.reflect.Method.invoke(Method.java:498)
  234. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  235. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  236. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  237. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  238. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  239. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  240. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  241. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  242. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  243. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  244. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  245. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  246. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  247. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  248. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  249. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  250. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  251. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  252. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  253. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  254. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  255. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  256. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  257. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  258. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  259. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  260. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  261. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  262. at java.lang.reflect.Method.invoke(Method.java:498)
  263. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  264. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  265. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  266. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  267. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  268. Caused by: org.hibernate.exception.ConstraintViolationException: could not execute batch
  269. at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:129)
  270. at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
  271. at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126)
  272. at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:136)
  273. at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:114)
  274. at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:163)
  275. at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:226)
  276. at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:484)
  277. at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
  278. at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
  279. at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
  280. at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1258)
  281. at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:425)
  282. at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)
  283. at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:177)
  284. at org.springframework.orm.hibernate4.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:584)
  285. ... 68 more
  286. Caused by: org.h2.jdbc.JdbcBatchUpdateException: Referential integrity constraint violation: "FK_4L23H7EJO4FVGO1323ENCO7QO: PUBLIC.FIELD FOREIGN KEY(FIELD_TYPE) REFERENCES PUBLIC.FIELD_TYPE(FIELD_TYPE_ID) (1)"; SQL statement:
  287. delete from field_type where field_type_id=? [23503-187]
  288. at org.h2.jdbc.JdbcPreparedStatement.executeBatch(JdbcPreparedStatement.java:1198)
  289. at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1135)
  290. at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:127)
  291. ... 80 more
  292. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.274 sec
  293. Running org.openmrs.web.controller.form.FormFormControllerTest
  294. ERROR - FormFormController.onSubmit(92) |2017-08-22 18:34:34,747| Error while saving form null
  295. org.openmrs.api.FormsLockedException: forms.locked
  296. at org.openmrs.api.impl.FormServiceImpl.checkIfFormsAreLocked(FormServiceImpl.java:788)
  297. at org.openmrs.api.impl.FormServiceImpl.saveForm(FormServiceImpl.java:520)
  298. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  299. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  300. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  301. at java.lang.reflect.Method.invoke(Method.java:498)
  302. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  303. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  304. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  305. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  306. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  307. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  308. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  309. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  310. at com.sun.proxy.$Proxy74.saveForm(Unknown Source)
  311. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  312. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  313. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  314. at java.lang.reflect.Method.invoke(Method.java:498)
  315. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  316. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  317. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  318. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  319. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  320. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  321. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  322. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  323. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  324. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  325. at com.sun.proxy.$Proxy75.saveForm(Unknown Source)
  326. at org.openmrs.web.controller.form.FormFormController.onSubmit(FormFormController.java:88)
  327. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  328. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  329. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  330. at org.openmrs.web.controller.form.FormFormControllerTest.shouldNotSaveAFormWhenFormsAreLocked(FormFormControllerTest.java:61)
  331. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  332. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  333. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  334. at java.lang.reflect.Method.invoke(Method.java:498)
  335. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  336. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  337. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  338. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  339. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  340. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  341. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  342. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  343. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  344. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  345. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  346. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  347. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  348. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  349. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  350. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  351. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  352. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  353. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  354. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  355. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  356. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  357. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  358. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  359. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  360. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  361. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  362. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  363. at java.lang.reflect.Method.invoke(Method.java:498)
  364. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  365. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  366. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  367. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  368. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  369. ERROR - FormFormController.onSubmit(133) |2017-08-22 18:34:34,776| Error while duplicating form null
  370. org.openmrs.api.FormsLockedException: forms.locked
  371. at org.openmrs.api.impl.FormServiceImpl.checkIfFormsAreLocked(FormServiceImpl.java:788)
  372. at org.openmrs.api.impl.FormServiceImpl.duplicateForm(FormServiceImpl.java:106)
  373. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  374. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  375. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  376. at java.lang.reflect.Method.invoke(Method.java:498)
  377. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  378. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  379. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  380. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  381. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  382. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  383. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  384. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  385. at com.sun.proxy.$Proxy74.duplicateForm(Unknown Source)
  386. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  387. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  388. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  389. at java.lang.reflect.Method.invoke(Method.java:498)
  390. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  391. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  392. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  393. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  394. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  395. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  396. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  397. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  398. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  399. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  400. at com.sun.proxy.$Proxy75.duplicateForm(Unknown Source)
  401. at org.openmrs.web.controller.form.FormFormController.onSubmit(FormFormController.java:129)
  402. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  403. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  404. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  405. at org.openmrs.web.controller.form.FormFormControllerTest.shouldNotDuplicateAFormWhenFormsAreLocked(FormFormControllerTest.java:81)
  406. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  407. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  408. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  409. at java.lang.reflect.Method.invoke(Method.java:498)
  410. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  411. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  412. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  413. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  414. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  415. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  416. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  417. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  418. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  419. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  420. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  421. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  422. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  423. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  424. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  425. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  426. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  427. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  428. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  429. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  430. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  431. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  432. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  433. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  434. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  435. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  436. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  437. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  438. at java.lang.reflect.Method.invoke(Method.java:498)
  439. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  440. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  441. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  442. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  443. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  444. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.738 sec
  445. Running org.openmrs.web.controller.GlobalPropertyPortletControllerTest
  446. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.917 sec
  447. Running org.openmrs.web.controller.LoginControllerTest
  448. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.717 sec
  449. Running org.openmrs.web.controller.maintenance.GlobalPropertyControllerTest
  450. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.778 sec
  451. Running org.openmrs.web.controller.maintenance.SearchIndexControllerTest
  452. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.257 sec
  453. Running org.openmrs.web.controller.maintenance.SystemInformationControllerTest
  454. Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.578 sec
  455. Running org.openmrs.web.controller.observation.ObsFormControllerTest
  456. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.696 sec
  457. Running org.openmrs.web.controller.OptionsFormControllerTest
  458. Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.262 sec
  459. Running org.openmrs.web.controller.patient.PatientDashboardControllerTest
  460. Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.77 sec
  461. Running org.openmrs.web.controller.patient.PatientFormControllerTest
  462. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.726 sec
  463. Running org.openmrs.web.controller.patient.PatientIdentifierTypeFormControllerTest
  464. ERROR - PatientIdentifierTypeFormController.onSubmit(118) |2017-08-22 18:34:47,232| PatientIdentifierType.locked
  465. org.openmrs.api.PatientIdentifierTypeLockedException: PatientIdentifierType.locked
  466. at org.openmrs.api.impl.PatientServiceImpl.checkIfPatientIdentifierTypesAreLocked(PatientServiceImpl.java:1587)
  467. at org.openmrs.api.impl.PatientServiceImpl.savePatientIdentifierType(PatientServiceImpl.java:390)
  468. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  469. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  470. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  471. at java.lang.reflect.Method.invoke(Method.java:498)
  472. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  473. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  474. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  475. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  476. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  477. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  478. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  479. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  480. at com.sun.proxy.$Proxy58.savePatientIdentifierType(Unknown Source)
  481. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  482. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  483. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  484. at java.lang.reflect.Method.invoke(Method.java:498)
  485. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  486. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  487. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  488. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  489. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  490. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  491. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  492. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  493. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  494. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  495. at com.sun.proxy.$Proxy59.savePatientIdentifierType(Unknown Source)
  496. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.onSubmit(PatientIdentifierTypeFormController.java:83)
  497. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  498. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  499. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  500. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormControllerTest.shouldNotSavePatientIdentifierTypeWhenPatientIdentifierTypesAreLocked(PatientIdentifierTypeFormControllerTest.java:53)
  501. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  502. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  503. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  504. at java.lang.reflect.Method.invoke(Method.java:498)
  505. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  506. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  507. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  508. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  509. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  510. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  511. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  512. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  513. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  514. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  515. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  516. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  517. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  518. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  519. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  520. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  521. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  522. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  523. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  524. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  525. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  526. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  527. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  528. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  529. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  530. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  531. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  532. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  533. at java.lang.reflect.Method.invoke(Method.java:498)
  534. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  535. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  536. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  537. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  538. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  539. ERROR - PatientServiceImpl.getDefaultIdentifierValidator(1221) |2017-08-22 18:34:47,235| Global Property patient.defaultPatientIdentifierValidator not set to an actual class.
  540. java.lang.ClassNotFoundException:
  541. at java.lang.Class.forName0(Native Method)
  542. at java.lang.Class.forName(Class.java:264)
  543. at org.openmrs.api.impl.PatientServiceImpl.getDefaultIdentifierValidator(PatientServiceImpl.java:1218)
  544. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  545. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  546. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  547. at java.lang.reflect.Method.invoke(Method.java:498)
  548. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  549. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  550. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  551. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  552. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  553. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  554. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  555. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  556. at com.sun.proxy.$Proxy58.getDefaultIdentifierValidator(Unknown Source)
  557. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  558. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  559. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  560. at java.lang.reflect.Method.invoke(Method.java:498)
  561. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  562. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  563. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  564. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  565. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  566. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  567. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  568. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  569. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  570. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  571. at com.sun.proxy.$Proxy59.getDefaultIdentifierValidator(Unknown Source)
  572. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.referenceData(PatientIdentifierTypeFormController.java:169)
  573. at org.springframework.web.servlet.mvc.AbstractFormController.showForm(AbstractFormController.java:578)
  574. at org.springframework.web.servlet.mvc.SimpleFormController.showForm(SimpleFormController.java:207)
  575. at org.springframework.web.servlet.mvc.SimpleFormController.showForm(SimpleFormController.java:185)
  576. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.onSubmit(PatientIdentifierTypeFormController.java:121)
  577. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  578. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  579. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  580. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormControllerTest.shouldNotSavePatientIdentifierTypeWhenPatientIdentifierTypesAreLocked(PatientIdentifierTypeFormControllerTest.java:53)
  581. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  582. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  583. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  584. at java.lang.reflect.Method.invoke(Method.java:498)
  585. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  586. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  587. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  588. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  589. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  590. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  591. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  592. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  593. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  594. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  595. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  596. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  597. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  598. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  599. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  600. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  601. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  602. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  603. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  604. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  605. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  606. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  607. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  608. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  609. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  610. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  611. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  612. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  613. at java.lang.reflect.Method.invoke(Method.java:498)
  614. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  615. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  616. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  617. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  618. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  619. ERROR - PatientIdentifierTypeFormController.onSubmit(118) |2017-08-22 18:34:47,253| PatientIdentifierType.locked
  620. org.openmrs.api.PatientIdentifierTypeLockedException: PatientIdentifierType.locked
  621. at org.openmrs.api.impl.PatientServiceImpl.checkIfPatientIdentifierTypesAreLocked(PatientServiceImpl.java:1587)
  622. at org.openmrs.api.impl.PatientServiceImpl.purgePatientIdentifierType(PatientServiceImpl.java:477)
  623. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  624. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  625. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  626. at java.lang.reflect.Method.invoke(Method.java:498)
  627. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  628. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  629. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  630. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  631. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  632. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  633. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  634. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  635. at com.sun.proxy.$Proxy58.purgePatientIdentifierType(Unknown Source)
  636. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  637. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  638. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  639. at java.lang.reflect.Method.invoke(Method.java:498)
  640. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  641. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  642. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  643. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  644. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  645. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  646. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  647. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  648. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  649. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  650. at com.sun.proxy.$Proxy59.purgePatientIdentifierType(Unknown Source)
  651. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.onSubmit(PatientIdentifierTypeFormController.java:101)
  652. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  653. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  654. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  655. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormControllerTest.shouldNotDeletePatientIdentifierTypeWhenPatientIdentifierTypesAreLocked(PatientIdentifierTypeFormControllerTest.java:84)
  656. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  657. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  658. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  659. at java.lang.reflect.Method.invoke(Method.java:498)
  660. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  661. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  662. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  663. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  664. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  665. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  666. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  667. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  668. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  669. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  670. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  671. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  672. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  673. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  674. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  675. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  676. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  677. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  678. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  679. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  680. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  681. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  682. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  683. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  684. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  685. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  686. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  687. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  688. at java.lang.reflect.Method.invoke(Method.java:498)
  689. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  690. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  691. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  692. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  693. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  694. ERROR - PatientServiceImpl.getDefaultIdentifierValidator(1221) |2017-08-22 18:34:47,256| Global Property patient.defaultPatientIdentifierValidator not set to an actual class.
  695. java.lang.ClassNotFoundException:
  696. at java.lang.Class.forName0(Native Method)
  697. at java.lang.Class.forName(Class.java:264)
  698. at org.openmrs.api.impl.PatientServiceImpl.getDefaultIdentifierValidator(PatientServiceImpl.java:1218)
  699. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  700. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  701. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  702. at java.lang.reflect.Method.invoke(Method.java:498)
  703. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  704. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  705. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  706. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  707. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  708. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  709. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  710. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  711. at com.sun.proxy.$Proxy58.getDefaultIdentifierValidator(Unknown Source)
  712. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  713. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  714. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  715. at java.lang.reflect.Method.invoke(Method.java:498)
  716. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  717. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  718. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  719. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  720. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  721. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  722. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  723. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  724. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  725. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  726. at com.sun.proxy.$Proxy59.getDefaultIdentifierValidator(Unknown Source)
  727. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.referenceData(PatientIdentifierTypeFormController.java:169)
  728. at org.springframework.web.servlet.mvc.AbstractFormController.showForm(AbstractFormController.java:578)
  729. at org.springframework.web.servlet.mvc.SimpleFormController.showForm(SimpleFormController.java:207)
  730. at org.springframework.web.servlet.mvc.SimpleFormController.showForm(SimpleFormController.java:185)
  731. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.onSubmit(PatientIdentifierTypeFormController.java:121)
  732. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  733. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  734. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  735. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormControllerTest.shouldNotDeletePatientIdentifierTypeWhenPatientIdentifierTypesAreLocked(PatientIdentifierTypeFormControllerTest.java:84)
  736. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  737. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  738. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  739. at java.lang.reflect.Method.invoke(Method.java:498)
  740. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  741. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  742. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  743. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  744. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  745. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  746. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  747. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  748. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  749. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  750. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  751. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  752. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  753. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  754. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  755. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  756. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  757. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  758. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  759. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  760. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  761. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  762. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  763. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  764. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  765. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  766. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  767. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  768. at java.lang.reflect.Method.invoke(Method.java:498)
  769. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  770. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  771. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  772. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  773. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  774. ERROR - PatientIdentifierTypeFormController.onSubmit(118) |2017-08-22 18:34:47,273| PatientIdentifierType.locked
  775. org.openmrs.api.PatientIdentifierTypeLockedException: PatientIdentifierType.locked
  776. at org.openmrs.api.impl.PatientServiceImpl.checkIfPatientIdentifierTypesAreLocked(PatientServiceImpl.java:1587)
  777. at org.openmrs.api.impl.PatientServiceImpl.unretirePatientIdentifierType(PatientServiceImpl.java:465)
  778. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  779. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  780. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  781. at java.lang.reflect.Method.invoke(Method.java:498)
  782. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  783. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  784. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  785. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  786. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  787. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  788. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  789. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  790. at com.sun.proxy.$Proxy58.unretirePatientIdentifierType(Unknown Source)
  791. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  792. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  793. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  794. at java.lang.reflect.Method.invoke(Method.java:498)
  795. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  796. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  797. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  798. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  799. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  800. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  801. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  802. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  803. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  804. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  805. at com.sun.proxy.$Proxy59.unretirePatientIdentifierType(Unknown Source)
  806. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.onSubmit(PatientIdentifierTypeFormController.java:112)
  807. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  808. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  809. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  810. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormControllerTest.shouldNotUnretirePatientIdentifierTypeWhenPatientIdentifierTypesAreLocked(PatientIdentifierTypeFormControllerTest.java:74)
  811. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  812. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  813. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  814. at java.lang.reflect.Method.invoke(Method.java:498)
  815. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  816. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  817. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  818. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  819. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  820. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  821. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  822. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  823. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  824. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  825. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  826. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  827. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  828. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  829. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  830. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  831. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  832. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  833. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  834. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  835. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  836. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  837. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  838. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  839. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  840. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  841. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  842. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  843. at java.lang.reflect.Method.invoke(Method.java:498)
  844. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  845. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  846. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  847. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  848. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  849. ERROR - PatientServiceImpl.getDefaultIdentifierValidator(1221) |2017-08-22 18:34:47,281| Global Property patient.defaultPatientIdentifierValidator not set to an actual class.
  850. java.lang.ClassNotFoundException:
  851. at java.lang.Class.forName0(Native Method)
  852. at java.lang.Class.forName(Class.java:264)
  853. at org.openmrs.api.impl.PatientServiceImpl.getDefaultIdentifierValidator(PatientServiceImpl.java:1218)
  854. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  855. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  856. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  857. at java.lang.reflect.Method.invoke(Method.java:498)
  858. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  859. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  860. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  861. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  862. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  863. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  864. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  865. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  866. at com.sun.proxy.$Proxy58.getDefaultIdentifierValidator(Unknown Source)
  867. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  868. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  869. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  870. at java.lang.reflect.Method.invoke(Method.java:498)
  871. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  872. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  873. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  874. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  875. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  876. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  877. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  878. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  879. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  880. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  881. at com.sun.proxy.$Proxy59.getDefaultIdentifierValidator(Unknown Source)
  882. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.referenceData(PatientIdentifierTypeFormController.java:169)
  883. at org.springframework.web.servlet.mvc.AbstractFormController.showForm(AbstractFormController.java:578)
  884. at org.springframework.web.servlet.mvc.SimpleFormController.showForm(SimpleFormController.java:207)
  885. at org.springframework.web.servlet.mvc.SimpleFormController.showForm(SimpleFormController.java:185)
  886. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.onSubmit(PatientIdentifierTypeFormController.java:121)
  887. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  888. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  889. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  890. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormControllerTest.shouldNotUnretirePatientIdentifierTypeWhenPatientIdentifierTypesAreLocked(PatientIdentifierTypeFormControllerTest.java:74)
  891. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  892. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  893. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  894. at java.lang.reflect.Method.invoke(Method.java:498)
  895. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  896. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  897. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  898. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  899. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  900. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  901. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  902. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  903. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  904. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  905. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  906. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  907. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  908. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  909. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  910. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  911. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  912. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  913. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  914. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  915. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  916. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  917. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  918. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  919. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  920. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  921. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  922. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  923. at java.lang.reflect.Method.invoke(Method.java:498)
  924. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  925. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  926. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  927. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  928. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  929. ERROR - PatientIdentifierTypeFormController.onSubmit(118) |2017-08-22 18:34:47,304| PatientIdentifierType.locked
  930. org.openmrs.api.PatientIdentifierTypeLockedException: PatientIdentifierType.locked
  931. at org.openmrs.api.impl.PatientServiceImpl.checkIfPatientIdentifierTypesAreLocked(PatientServiceImpl.java:1587)
  932. at org.openmrs.api.impl.PatientServiceImpl.retirePatientIdentifierType(PatientServiceImpl.java:448)
  933. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  934. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  935. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  936. at java.lang.reflect.Method.invoke(Method.java:498)
  937. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  938. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  939. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  940. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  941. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  942. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  943. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  944. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  945. at com.sun.proxy.$Proxy58.retirePatientIdentifierType(Unknown Source)
  946. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  947. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  948. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  949. at java.lang.reflect.Method.invoke(Method.java:498)
  950. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  951. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  952. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  953. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  954. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  955. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  956. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  957. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  958. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  959. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  960. at com.sun.proxy.$Proxy59.retirePatientIdentifierType(Unknown Source)
  961. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.onSubmit(PatientIdentifierTypeFormController.java:94)
  962. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  963. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  964. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  965. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormControllerTest.shouldNotRetirePatientIdentifierTypeWhenPatientIdentifierTypesAreLocked(PatientIdentifierTypeFormControllerTest.java:64)
  966. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  967. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  968. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  969. at java.lang.reflect.Method.invoke(Method.java:498)
  970. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  971. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  972. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  973. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  974. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  975. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  976. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  977. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  978. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  979. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  980. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  981. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  982. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  983. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  984. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  985. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  986. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  987. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  988. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  989. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  990. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  991. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  992. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  993. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  994. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  995. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  996. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  997. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  998. at java.lang.reflect.Method.invoke(Method.java:498)
  999. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  1000. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  1001. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  1002. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  1003. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  1004. ERROR - PatientServiceImpl.getDefaultIdentifierValidator(1221) |2017-08-22 18:34:47,306| Global Property patient.defaultPatientIdentifierValidator not set to an actual class.
  1005. java.lang.ClassNotFoundException:
  1006. at java.lang.Class.forName0(Native Method)
  1007. at java.lang.Class.forName(Class.java:264)
  1008. at org.openmrs.api.impl.PatientServiceImpl.getDefaultIdentifierValidator(PatientServiceImpl.java:1218)
  1009. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1010. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1011. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1012. at java.lang.reflect.Method.invoke(Method.java:498)
  1013. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1014. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1015. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1016. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  1017. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  1018. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  1019. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1020. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1021. at com.sun.proxy.$Proxy58.getDefaultIdentifierValidator(Unknown Source)
  1022. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1023. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1024. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1025. at java.lang.reflect.Method.invoke(Method.java:498)
  1026. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1027. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1028. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1029. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  1030. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1031. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1032. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1033. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1034. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1035. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1036. at com.sun.proxy.$Proxy59.getDefaultIdentifierValidator(Unknown Source)
  1037. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.referenceData(PatientIdentifierTypeFormController.java:169)
  1038. at org.springframework.web.servlet.mvc.AbstractFormController.showForm(AbstractFormController.java:578)
  1039. at org.springframework.web.servlet.mvc.SimpleFormController.showForm(SimpleFormController.java:207)
  1040. at org.springframework.web.servlet.mvc.SimpleFormController.showForm(SimpleFormController.java:185)
  1041. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormController.onSubmit(PatientIdentifierTypeFormController.java:121)
  1042. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  1043. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  1044. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  1045. at org.openmrs.web.controller.patient.PatientIdentifierTypeFormControllerTest.shouldNotRetirePatientIdentifierTypeWhenPatientIdentifierTypesAreLocked(PatientIdentifierTypeFormControllerTest.java:64)
  1046. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1047. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1048. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1049. at java.lang.reflect.Method.invoke(Method.java:498)
  1050. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  1051. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  1052. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  1053. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  1054. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  1055. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  1056. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1057. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1058. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  1059. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  1060. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  1061. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  1062. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  1063. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  1064. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  1065. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  1066. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  1067. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1068. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1069. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  1070. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  1071. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  1072. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  1073. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  1074. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  1075. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1076. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1077. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1078. at java.lang.reflect.Method.invoke(Method.java:498)
  1079. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  1080. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  1081. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  1082. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  1083. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  1084. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.625 sec
  1085. Running org.openmrs.web.controller.patient.ShortPatientFormControllerTest
  1086. Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.72 sec
  1087. Running org.openmrs.web.controller.patient.ShortPatientFormValidatorTest
  1088. Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.233 sec
  1089. Running org.openmrs.web.controller.person.AddPersonControllerTest
  1090. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.899 sec
  1091. Running org.openmrs.web.controller.person.PersonAttributeTypeFormControllerTest
  1092. ERROR - PersonAttributeTypeFormController.onSubmit(120) |2017-08-22 18:34:51,905| PersonAttributeType.locked
  1093. org.openmrs.api.PersonAttributeTypeLockedException: PersonAtttributeType.locked
  1094. at org.openmrs.api.impl.PersonServiceImpl.checkIfPersonAttributeTypesAreLocked(PersonServiceImpl.java:936)
  1095. at org.openmrs.api.impl.PersonServiceImpl.unretirePersonAttributeType(PersonServiceImpl.java:200)
  1096. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1097. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1098. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1099. at java.lang.reflect.Method.invoke(Method.java:498)
  1100. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1101. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1102. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1103. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  1104. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  1105. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  1106. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1107. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1108. at com.sun.proxy.$Proxy61.unretirePersonAttributeType(Unknown Source)
  1109. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1110. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1111. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1112. at java.lang.reflect.Method.invoke(Method.java:498)
  1113. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1114. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1115. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1116. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  1117. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1118. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1119. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1120. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1121. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1122. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1123. at com.sun.proxy.$Proxy62.unretirePersonAttributeType(Unknown Source)
  1124. at org.openmrs.web.controller.person.PersonAttributeTypeFormController.onSubmit(PersonAttributeTypeFormController.java:114)
  1125. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  1126. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  1127. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  1128. at org.openmrs.web.controller.person.PersonAttributeTypeFormControllerTest.shouldNotUnretirePersonAttributeTypeWhenPersonAttributeTypesAreLocked(PersonAttributeTypeFormControllerTest.java:85)
  1129. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1130. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1131. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1132. at java.lang.reflect.Method.invoke(Method.java:498)
  1133. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  1134. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  1135. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  1136. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  1137. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  1138. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  1139. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1140. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1141. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  1142. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  1143. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  1144. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  1145. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  1146. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  1147. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  1148. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  1149. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  1150. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1151. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1152. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  1153. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  1154. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  1155. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  1156. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  1157. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  1158. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1159. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1160. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1161. at java.lang.reflect.Method.invoke(Method.java:498)
  1162. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  1163. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  1164. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  1165. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  1166. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  1167. ERROR - PersonAttributeTypeFormController.onSubmit(120) |2017-08-22 18:34:51,944| PersonAttributeType.locked
  1168. org.openmrs.api.PersonAttributeTypeLockedException: PersonAtttributeType.locked
  1169. at org.openmrs.api.impl.PersonServiceImpl.checkIfPersonAttributeTypesAreLocked(PersonServiceImpl.java:936)
  1170. at org.openmrs.api.impl.PersonServiceImpl.purgePersonAttributeType(PersonServiceImpl.java:126)
  1171. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1172. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1173. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1174. at java.lang.reflect.Method.invoke(Method.java:498)
  1175. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1176. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1177. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1178. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  1179. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  1180. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  1181. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1182. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1183. at com.sun.proxy.$Proxy61.purgePersonAttributeType(Unknown Source)
  1184. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1185. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1186. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1187. at java.lang.reflect.Method.invoke(Method.java:498)
  1188. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1189. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1190. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1191. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  1192. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1193. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1194. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1195. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1196. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1197. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1198. at com.sun.proxy.$Proxy62.purgePersonAttributeType(Unknown Source)
  1199. at org.openmrs.web.controller.person.PersonAttributeTypeFormController.onSubmit(PersonAttributeTypeFormController.java:105)
  1200. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  1201. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  1202. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  1203. at org.openmrs.web.controller.person.PersonAttributeTypeFormControllerTest.shouldNotDeletePersonAttributeTypeWhenPersonAttributeTypesAreLocked(PersonAttributeTypeFormControllerTest.java:64)
  1204. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1205. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1206. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1207. at java.lang.reflect.Method.invoke(Method.java:498)
  1208. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  1209. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  1210. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  1211. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  1212. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  1213. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  1214. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1215. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1216. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  1217. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  1218. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  1219. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  1220. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  1221. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  1222. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  1223. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  1224. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  1225. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1226. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1227. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  1228. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  1229. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  1230. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  1231. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  1232. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  1233. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1234. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1235. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1236. at java.lang.reflect.Method.invoke(Method.java:498)
  1237. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  1238. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  1239. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  1240. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  1241. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  1242. ERROR - PersonAttributeTypeFormController.onSubmit(120) |2017-08-22 18:34:51,973| PersonAttributeType.locked
  1243. org.openmrs.api.PersonAttributeTypeLockedException: PersonAtttributeType.locked
  1244. at org.openmrs.api.impl.PersonServiceImpl.checkIfPersonAttributeTypesAreLocked(PersonServiceImpl.java:936)
  1245. at org.openmrs.api.impl.PersonServiceImpl.savePersonAttributeType(PersonServiceImpl.java:134)
  1246. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1247. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1248. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1249. at java.lang.reflect.Method.invoke(Method.java:498)
  1250. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1251. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1252. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1253. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  1254. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  1255. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  1256. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1257. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1258. at com.sun.proxy.$Proxy61.savePersonAttributeType(Unknown Source)
  1259. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1260. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1261. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1262. at java.lang.reflect.Method.invoke(Method.java:498)
  1263. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1264. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1265. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1266. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  1267. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1268. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1269. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1270. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1271. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1272. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1273. at com.sun.proxy.$Proxy62.savePersonAttributeType(Unknown Source)
  1274. at org.openmrs.web.controller.person.PersonAttributeTypeFormController.onSubmit(PersonAttributeTypeFormController.java:87)
  1275. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  1276. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  1277. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  1278. at org.openmrs.web.controller.person.PersonAttributeTypeFormControllerTest.shouldNotSavePersonAttributeTypeWhenPersonAttributeTypesAreLocked(PersonAttributeTypeFormControllerTest.java:54)
  1279. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1280. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1281. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1282. at java.lang.reflect.Method.invoke(Method.java:498)
  1283. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  1284. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  1285. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  1286. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  1287. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  1288. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  1289. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1290. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1291. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  1292. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  1293. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  1294. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  1295. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  1296. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  1297. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  1298. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  1299. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  1300. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1301. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1302. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  1303. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  1304. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  1305. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  1306. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  1307. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  1308. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1309. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1310. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1311. at java.lang.reflect.Method.invoke(Method.java:498)
  1312. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  1313. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  1314. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  1315. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  1316. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  1317. ERROR - PersonAttributeTypeFormController.onSubmit(120) |2017-08-22 18:34:52,019| PersonAttributeType.locked
  1318. org.openmrs.api.PersonAttributeTypeLockedException: PersonAtttributeType.locked
  1319. at org.openmrs.api.impl.PersonServiceImpl.checkIfPersonAttributeTypesAreLocked(PersonServiceImpl.java:936)
  1320. at org.openmrs.api.impl.PersonServiceImpl.retirePersonAttributeType(PersonServiceImpl.java:176)
  1321. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1322. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1323. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1324. at java.lang.reflect.Method.invoke(Method.java:498)
  1325. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1326. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1327. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1328. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  1329. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  1330. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  1331. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1332. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1333. at com.sun.proxy.$Proxy61.retirePersonAttributeType(Unknown Source)
  1334. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1335. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1336. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1337. at java.lang.reflect.Method.invoke(Method.java:498)
  1338. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1339. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1340. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1341. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  1342. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1343. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1344. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1345. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1346. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1347. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1348. at com.sun.proxy.$Proxy62.retirePersonAttributeType(Unknown Source)
  1349. at org.openmrs.web.controller.person.PersonAttributeTypeFormController.onSubmit(PersonAttributeTypeFormController.java:98)
  1350. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  1351. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  1352. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  1353. at org.openmrs.web.controller.person.PersonAttributeTypeFormControllerTest.shouldNotRetirePersonAttributeTypeWhenPersonAttributeTypesAreLocked(PersonAttributeTypeFormControllerTest.java:75)
  1354. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1355. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1356. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1357. at java.lang.reflect.Method.invoke(Method.java:498)
  1358. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  1359. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  1360. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  1361. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  1362. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  1363. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  1364. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1365. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1366. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  1367. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  1368. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  1369. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  1370. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  1371. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  1372. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  1373. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  1374. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  1375. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1376. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1377. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  1378. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  1379. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  1380. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  1381. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  1382. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  1383. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1384. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1385. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1386. at java.lang.reflect.Method.invoke(Method.java:498)
  1387. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  1388. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  1389. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  1390. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  1391. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  1392. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.952 sec
  1393. Running org.openmrs.web.controller.person.PersonAttributeTypeListControllerTest
  1394. Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.017 sec
  1395. Running org.openmrs.web.controller.PortletControllerTest
  1396. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.691 sec
  1397. Running org.openmrs.web.controller.program.ProgramFormControllerTest
  1398. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.744 sec
  1399. Running org.openmrs.web.controller.program.WorkflowFormControllerTest
  1400. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.604 sec
  1401. Running org.openmrs.web.controller.provider.ProviderFormControllerTest
  1402. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.649 sec
  1403. Running org.openmrs.web.controller.user.ChangePasswordFormControllerTest
  1404. Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.014 sec
  1405. Running org.openmrs.web.controller.user.RoleFormControllerTest
  1406. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.75 sec
  1407. Running org.openmrs.web.controller.user.UserFormControllerTest
  1408. ERROR - UserFormController.formBackingObject(77) |2017-08-22 18:34:58,267| Error while getting user
  1409. java.lang.NumberFormatException: null
  1410. at java.lang.Integer.parseInt(Integer.java:542)
  1411. at java.lang.Integer.valueOf(Integer.java:766)
  1412. at org.openmrs.web.controller.user.UserFormController.formBackingObject(UserFormController.java:75)
  1413. at org.openmrs.web.controller.user.UserFormControllerTest.handleSubmission_shouldWorkForAnExample(UserFormControllerTest.java:46)
  1414. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1415. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1416. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1417. at java.lang.reflect.Method.invoke(Method.java:498)
  1418. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  1419. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  1420. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  1421. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  1422. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  1423. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  1424. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1425. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1426. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  1427. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  1428. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  1429. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  1430. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  1431. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  1432. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  1433. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  1434. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  1435. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1436. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1437. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  1438. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  1439. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  1440. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  1441. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  1442. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  1443. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1444. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1445. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1446. at java.lang.reflect.Method.invoke(Method.java:498)
  1447. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  1448. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  1449. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  1450. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  1451. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  1452. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.743 sec
  1453. Running org.openmrs.web.controller.user.UserListControllerTest
  1454. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.938 sec
  1455. Running org.openmrs.web.controller.UserPropertiesTest
  1456. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
  1457. Running org.openmrs.web.dwr.ConceptListItemTest
  1458. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
  1459. Running org.openmrs.web.dwr.DeprecationCheckTest
  1460. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
  1461. Running org.openmrs.web.dwr.DWRConceptServiceTest
  1462. ERROR - DWRConceptService.findBatchOfConcepts(221) |2017-08-22 18:35:04,794| Error while finding concepts + null
  1463. java.lang.NullPointerException
  1464. at org.openmrs.api.db.hibernate.HibernateConceptDAO.transformToIds(HibernateConceptDAO.java:1392)
  1465. at org.openmrs.api.db.hibernate.HibernateConceptDAO.newConceptNameLuceneQuery(HibernateConceptDAO.java:1361)
  1466. at org.openmrs.api.db.hibernate.HibernateConceptDAO.getConcepts(HibernateConceptDAO.java:1314)
  1467. at org.openmrs.api.impl.ConceptServiceImpl.getConcepts(ConceptServiceImpl.java:1363)
  1468. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1469. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1470. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1471. at java.lang.reflect.Method.invoke(Method.java:498)
  1472. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1473. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1474. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1475. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  1476. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  1477. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  1478. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1479. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1480. at com.sun.proxy.$Proxy63.getConcepts(Unknown Source)
  1481. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1482. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1483. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1484. at java.lang.reflect.Method.invoke(Method.java:498)
  1485. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1486. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1487. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1488. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  1489. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1490. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1491. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1492. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1493. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1494. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1495. at com.sun.proxy.$Proxy64.getConcepts(Unknown Source)
  1496. at org.openmrs.web.dwr.DWRConceptService.findBatchOfConcepts(DWRConceptService.java:198)
  1497. at org.openmrs.web.dwr.DWRConceptServiceTest.findBatchOfConcepts_shouldNotReturnConceptByGivenIdIfDatatypeIsNotIncluded(DWRConceptServiceTest.java:151)
  1498. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1499. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1500. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1501. at java.lang.reflect.Method.invoke(Method.java:498)
  1502. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  1503. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  1504. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  1505. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  1506. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  1507. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  1508. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1509. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1510. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  1511. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  1512. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  1513. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  1514. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  1515. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  1516. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  1517. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  1518. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  1519. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1520. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1521. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  1522. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  1523. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  1524. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  1525. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  1526. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  1527. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1528. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1529. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1530. at java.lang.reflect.Method.invoke(Method.java:498)
  1531. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  1532. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  1533. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  1534. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  1535. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  1536. ERROR - DWRConceptService.findBatchOfConcepts(221) |2017-08-22 18:35:05,682| Error while finding concepts + null
  1537. java.lang.NullPointerException
  1538. at org.openmrs.api.db.hibernate.HibernateConceptDAO.transformToIds(HibernateConceptDAO.java:1392)
  1539. at org.openmrs.api.db.hibernate.HibernateConceptDAO.newConceptNameLuceneQuery(HibernateConceptDAO.java:1359)
  1540. at org.openmrs.api.db.hibernate.HibernateConceptDAO.getConcepts(HibernateConceptDAO.java:1314)
  1541. at org.openmrs.api.impl.ConceptServiceImpl.getConcepts(ConceptServiceImpl.java:1363)
  1542. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1543. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1544. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1545. at java.lang.reflect.Method.invoke(Method.java:498)
  1546. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1547. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1548. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1549. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  1550. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  1551. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  1552. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1553. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1554. at com.sun.proxy.$Proxy63.getConcepts(Unknown Source)
  1555. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1556. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1557. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1558. at java.lang.reflect.Method.invoke(Method.java:498)
  1559. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  1560. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  1561. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  1562. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  1563. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1564. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1565. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1566. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  1567. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  1568. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  1569. at com.sun.proxy.$Proxy64.getConcepts(Unknown Source)
  1570. at org.openmrs.web.dwr.DWRConceptService.findBatchOfConcepts(DWRConceptService.java:198)
  1571. at org.openmrs.web.dwr.DWRConceptServiceTest.findBatchOfConcepts_shouldNotReturnConceptByGivenIdIfClassnameIsNotIncluded(DWRConceptServiceTest.java:96)
  1572. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1573. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1574. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1575. at java.lang.reflect.Method.invoke(Method.java:498)
  1576. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  1577. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  1578. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  1579. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  1580. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  1581. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  1582. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1583. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1584. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  1585. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  1586. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  1587. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  1588. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  1589. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  1590. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  1591. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  1592. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  1593. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1594. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1595. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  1596. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  1597. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  1598. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  1599. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  1600. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  1601. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1602. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1603. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1604. at java.lang.reflect.Method.invoke(Method.java:498)
  1605. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  1606. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  1607. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  1608. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  1609. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  1610. Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.665 sec
  1611. Running org.openmrs.web.dwr.DWRObservationServiceTest
  1612. Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.138 sec
  1613. Running org.openmrs.web.dwr.DWRPatientServiceTest
  1614. Tests run: 7, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 1.192 sec
  1615. Running org.openmrs.web.dwr.DWRPersonServiceTest
  1616. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.903 sec
  1617. Running org.openmrs.web.dwr.DWRProgramWorkflowServiceTest
  1618. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.881 sec
  1619. Running org.openmrs.web.dwr.DWRProviderServiceTest
  1620. Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.882 sec
  1621. Running org.openmrs.web.dwr.PersonListItemTest
  1622. Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.715 sec
  1623. Running org.openmrs.web.dwr.ProviderListItemTest
  1624. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
  1625. Running org.openmrs.web.patient.PatientDashboardGraphControllerTest
  1626. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.832 sec
  1627. Running org.openmrs.web.servlet.DownloadDictionaryServletTest
  1628. Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.917 sec
  1629. Running org.openmrs.web.servlet.LoginServletTest
  1630. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.855 sec
  1631. Running org.openmrs.web.servlet.ShowGraphServletTest
  1632. Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.836 sec
  1633. Running org.openmrs.web.taglib.ForEachEncounterTagTest
  1634. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.12 sec
  1635. Running org.openmrs.web.taglib.FormatTagTest
  1636. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.069 sec
  1637. Running org.openmrs.web.taglib.OpenmrsHtmlEscapingAwareTagTest
  1638. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.478 sec
  1639. Running org.openmrs.web.taglib.OpenmrsMessageTagTest
  1640. ERROR - OpenmrsRequestContextAwareBodyTag.doEndTag(71) |2017-08-22 18:35:21,305| Attribute value "this is *only* a test." is neither a JSP EL expression nor assignable to result class [org.springframework.context.MessageSourceResolvable]
  1641. javax.servlet.jsp.JspException: Attribute value "this is *only* a test." is neither a JSP EL expression nor assignable to result class [org.springframework.context.MessageSourceResolvable]
  1642. at org.openmrs.web.taglib.OpenmrsMessageTag.resolveMessage(OpenmrsMessageTag.java:226)
  1643. at org.openmrs.web.taglib.OpenmrsMessageTag.doEndTagInternal(OpenmrsMessageTag.java:188)
  1644. at org.openmrs.web.taglib.OpenmrsRequestContextAwareBodyTag.doEndTag(OpenmrsRequestContextAwareBodyTag.java:68)
  1645. at org.openmrs.web.taglib.OpenmrsMessageTagTest.checkDoEndTagEvaluationException(OpenmrsMessageTagTest.java:262)
  1646. at org.openmrs.web.taglib.OpenmrsMessageTagTest.doEndTag_shouldFailEvaluateRandomObjectMessage(OpenmrsMessageTagTest.java:97)
  1647. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1648. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1649. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1650. at java.lang.reflect.Method.invoke(Method.java:498)
  1651. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  1652. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  1653. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  1654. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  1655. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  1656. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
  1657. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1658. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  1659. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
  1660. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  1661. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217)
  1662. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
  1663. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  1664. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  1665. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  1666. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  1667. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  1668. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  1669. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  1670. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
  1671. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  1672. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
  1673. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  1674. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  1675. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  1676. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  1677. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  1678. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  1679. at java.lang.reflect.Method.invoke(Method.java:498)
  1680. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  1681. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  1682. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  1683. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  1684. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
  1685. Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.241 sec
  1686. Running org.openmrs.web.taglib.PortletTagTest
  1687. SLF4J: Class path contains multiple SLF4J bindings.
  1688. SLF4J: Found binding in [jar:file:/C:/Users/atishaya%20jain/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  1689. SLF4J: Found binding in [jar:file:/C:/Users/atishaya%20jain/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  1690. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  1691. Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.982 sec
  1692. Running org.openmrs.web.taglib.PrivilegeTagTest
  1693. Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.451 sec
  1694. Running org.openmrs.web.taglib.RequireTagTest
  1695. Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.333 sec
  1696.  
  1697. Results :
  1698.  
  1699. Tests run: 343, Failures: 0, Errors: 0, Skipped: 3
  1700.  
  1701. [INFO]
  1702. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ legacyui-omod ---
  1703. [INFO] Building jar: F:\GitProjects\openmrs-module-legacyui\omod\target\legacyui-1.3.3-SNAPSHOT.jar
  1704. [INFO]
  1705. [INFO] --- maven-openmrs-plugin:1.0.1:package-module (pack) @ legacyui-omod ---
  1706. [INFO] Packaging OpenMRS module
  1707. [INFO] Building jar: F:\GitProjects\openmrs-module-legacyui\omod\target\legacyui-1.3.3-SNAPSHOT.omod
  1708. [INFO]
  1709. [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ legacyui-omod ---
  1710. [INFO] Building jar: F:\GitProjects\openmrs-module-legacyui\omod\target\legacyui-1.3.3-SNAPSHOT-tests.jar
  1711. [INFO]
  1712. [INFO] --- maven-install-plugin:2.4:install (default-install) @ legacyui-omod ---
  1713. [INFO] Installing F:\GitProjects\openmrs-module-legacyui\omod\target\legacyui-1.3.3-SNAPSHOT.omod to C:\Users\atishaya jain\.m2\repository\org\openmrs\module\legacyui-omod\1.3.3-SNAPSHOT\legacyui-omod-1.3.3-SNAPSHOT.jar
  1714. [INFO] Installing F:\GitProjects\openmrs-module-legacyui\omod\pom.xml to C:\Users\atishaya jain\.m2\repository\org\openmrs\module\legacyui-omod\1.3.3-SNAPSHOT\legacyui-omod-1.3.3-SNAPSHOT.pom
  1715. [INFO] Installing F:\GitProjects\openmrs-module-legacyui\omod\target\legacyui-1.3.3-SNAPSHOT-tests.jar to C:\Users\atishaya jain\.m2\repository\org\openmrs\module\legacyui-omod\1.3.3-SNAPSHOT\legacyui-omod-1.3.3-SNAPSHOT-tests.jar
  1716. [INFO] ------------------------------------------------------------------------
  1717. [INFO] Reactor Summary:
  1718. [INFO]
  1719. [INFO] Legacy UI Module ................................... SUCCESS [ 14.114 s]
  1720. [INFO] Legacy UI Module API ............................... SUCCESS [ 8.457 s]
  1721. [INFO] Legacy UI Module OMOD .............................. SUCCESS [04:14 min]
  1722. [INFO] ------------------------------------------------------------------------
  1723. [INFO] BUILD SUCCESS
  1724. [INFO] ------------------------------------------------------------------------
  1725. [INFO] Total time: 04:39 min
  1726. [INFO] Finished at: 2017-08-22T18:35:30+05:30
  1727. [INFO] Final Memory: 44M/343M
  1728. [INFO] ------------------------------------------------------------------------
  1729.  
  1730. F:\GitProjects\openmrs-module-legacyui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement