Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 70.95 KB | None | 0 0
  1. [INFO] Running TestSuite
  2. DEBUG: com.cognitran.cms.web.job.JobControllerTest$1 - Looking for exception mappings: org.springframework.test.web.servlet.setup.StubWebApplicationContext@6ac9e665
  3. DEBUG: com.cognitran.cms.web.job.JobControllerTest$1 - Resolving exception from handler [public java.util.Map<java.lang.String, java.lang.String> com.cognitran.cms.web.job.JobController.moveJobToTop(java.lang.String,long)]: com.cognitran.core.service.ObjectNotFoundException: object with id 1 not found
  4. DEBUG: com.cognitran.cms.web.job.JobControllerTest$1 - Invoking @ExceptionHandler method: public java.lang.Object com.cognitran.cms.web.job.JobControllerTest$TestAdvice.exceptionHandler(java.lang.Exception)
  5. DEBUG: com.cognitran.cms.web.job.JobControllerTest$1 - Resolving exception from handler [public java.util.Map<java.lang.String, java.lang.String> com.cognitran.cms.web.job.JobController.moveJobToTop(java.lang.String,long)]: org.apache.velocity.exception.ResourceNotFoundException: TEST
  6. DEBUG: com.cognitran.cms.web.job.JobControllerTest$1 - Invoking @ExceptionHandler method: public java.lang.Object com.cognitran.cms.web.job.JobControllerTest$TestAdvice.exceptionHandler(java.lang.Exception)
  7. DEBUG: com.cognitran.cms.web.job.JobControllerTest$1 - Resolving exception from handler [public java.util.Map<java.lang.String, java.lang.String> com.cognitran.cms.web.job.JobController.delete(java.lang.String,long,javax.servlet.http.HttpServletRequest)]: com.cognitran.core.service.ObjectNotFoundException: object with id 1 not found
  8. DEBUG: com.cognitran.cms.web.job.JobControllerTest$1 - Invoking @ExceptionHandler method: public java.lang.Object com.cognitran.cms.web.job.JobControllerTest$TestAdvice.exceptionHandler(java.lang.Exception)
  9. DEBUG: com.cognitran.cms.web.job.JobControllerTest$1 - Resolving exception from handler [public org.springframework.web.servlet.ModelAndView com.cognitran.cms.web.job.JobController.list(java.lang.String,javax.servlet.http.HttpServletRequest)]: com.cognitran.core.service.ObjectNotFoundException: object with id TEST not found
  10. DEBUG: com.cognitran.cms.web.job.JobControllerTest$1 - Invoking @ExceptionHandler method: public java.lang.Object com.cognitran.cms.web.job.JobControllerTest$TestAdvice.exceptionHandler(java.lang.Exception)
  11. ERROR: com.cognitran.cms.web.job.JobController - Reorder failed. Job type: TEST
  12. ERROR: com.cognitran.cms.web.job.JobController - Reorder failed. Job type not found for: TEST
  13. ERROR: com.cognitran.blaise.web.quality.ContentQualityController - com.cognitran.core.service.ValidationException: error: help
  14. ERROR: com.cognitran.cms.web.publication.media.MediaController - create() error: Unsupported media details class null
  15. java.lang.RuntimeException: Unsupported media details class null
  16.     at com.cognitran.cms.web.publication.PublicationServiceController.getMediaClass(PublicationServiceController.java:1496) ~[classes/:?]
  17.     at com.cognitran.cms.web.publication.media.MediaController.validatePermissions(MediaController.java:1086) [classes/:?]
  18.     at com.cognitran.cms.web.publication.media.MediaController.create(MediaController.java:560) [classes/:?]
  19.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  20.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  21.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  22.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  23.     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  24.     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  25.     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  26.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  27.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  28.     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  29.     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  30.     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  31.     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  32.     at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  33.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0]
  34.     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  35.     at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:71) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  36.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
  37.     at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:166) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  38.     at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:133) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  39.     at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:165) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  40.     at com.cognitran.cms.web.publication.media.MediaControllerTest.testCreate(MediaControllerTest.java:274) [test-classes/:?]
  41.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  42.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  43.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  44.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  45.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) [testng-6.8.21.jar:?]
  46.     at org.testng.internal.Invoker.invokeMethod(Invoker.java:696) [testng-6.8.21.jar:?]
  47.     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) [testng-6.8.21.jar:?]
  48.     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) [testng-6.8.21.jar:?]
  49.     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) [testng-6.8.21.jar:?]
  50.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) [testng-6.8.21.jar:?]
  51.     at org.testng.TestRunner.privateRun(TestRunner.java:767) [testng-6.8.21.jar:?]
  52.     at org.testng.TestRunner.run(TestRunner.java:617) [testng-6.8.21.jar:?]
  53.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) [testng-6.8.21.jar:?]
  54.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) [testng-6.8.21.jar:?]
  55.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) [testng-6.8.21.jar:?]
  56.     at org.testng.SuiteRunner.run(SuiteRunner.java:254) [testng-6.8.21.jar:?]
  57.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng-6.8.21.jar:?]
  58.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng-6.8.21.jar:?]
  59.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [testng-6.8.21.jar:?]
  60.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [testng-6.8.21.jar:?]
  61.     at org.testng.TestNG.run(TestNG.java:1057) [testng-6.8.21.jar:?]
  62.     at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) [surefire-testng-2.20.1.jar:2.20.1]
  63.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) [surefire-testng-2.20.1.jar:2.20.1]
  64.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) [surefire-testng-2.20.1.jar:2.20.1]
  65.     at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) [surefire-testng-2.20.1.jar:2.20.1]
  66.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) [surefire-booter-2.20.1.jar:2.20.1]
  67.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) [surefire-booter-2.20.1.jar:2.20.1]
  68.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) [surefire-booter-2.20.1.jar:2.20.1]
  69.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) [surefire-booter-2.20.1.jar:2.20.1]
  70. ERROR: com.cognitran.cms.web.publication.media.MediaController - create() error: null
  71. java.lang.NullPointerException: null
  72.     at com.cognitran.cms.web.publication.media.MediaController.create(MediaController.java:561) [classes/:?]
  73.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  74.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  75.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  76.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  77.     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  78.     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  79.     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  80.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  81.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  82.     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  83.     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  84.     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  85.     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  86.     at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  87.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0]
  88.     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  89.     at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:71) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  90.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
  91.     at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:166) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  92.     at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:133) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  93.     at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:165) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  94.     at com.cognitran.cms.web.publication.media.MediaControllerTest.testCreate(MediaControllerTest.java:278) [test-classes/:?]
  95.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  96.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  97.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  98.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  99.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) [testng-6.8.21.jar:?]
  100.     at org.testng.internal.Invoker.invokeMethod(Invoker.java:696) [testng-6.8.21.jar:?]
  101.     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) [testng-6.8.21.jar:?]
  102.     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) [testng-6.8.21.jar:?]
  103.     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) [testng-6.8.21.jar:?]
  104.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) [testng-6.8.21.jar:?]
  105.     at org.testng.TestRunner.privateRun(TestRunner.java:767) [testng-6.8.21.jar:?]
  106.     at org.testng.TestRunner.run(TestRunner.java:617) [testng-6.8.21.jar:?]
  107.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) [testng-6.8.21.jar:?]
  108.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) [testng-6.8.21.jar:?]
  109.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) [testng-6.8.21.jar:?]
  110.     at org.testng.SuiteRunner.run(SuiteRunner.java:254) [testng-6.8.21.jar:?]
  111.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng-6.8.21.jar:?]
  112.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng-6.8.21.jar:?]
  113.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [testng-6.8.21.jar:?]
  114.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [testng-6.8.21.jar:?]
  115.     at org.testng.TestNG.run(TestNG.java:1057) [testng-6.8.21.jar:?]
  116.     at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) [surefire-testng-2.20.1.jar:2.20.1]
  117.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) [surefire-testng-2.20.1.jar:2.20.1]
  118.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) [surefire-testng-2.20.1.jar:2.20.1]
  119.     at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) [surefire-testng-2.20.1.jar:2.20.1]
  120.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) [surefire-booter-2.20.1.jar:2.20.1]
  121.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) [surefire-booter-2.20.1.jar:2.20.1]
  122.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) [surefire-booter-2.20.1.jar:2.20.1]
  123.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) [surefire-booter-2.20.1.jar:2.20.1]
  124. ERROR: com.cognitran.cms.web.publication.media.MediaController - create() error: null
  125. java.lang.NullPointerException: null
  126.     at com.cognitran.cms.web.publication.media.MediaController.create(MediaController.java:582) [classes/:?]
  127.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  128.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  129.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  130.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  131.     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  132.     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  133.     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  134.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  135.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  136.     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  137.     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  138.     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  139.     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  140.     at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  141.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0]
  142.     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  143.     at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:71) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  144.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
  145.     at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:166) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  146.     at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:133) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  147.     at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:165) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  148.     at com.cognitran.cms.web.publication.media.MediaControllerTest.testCreate(MediaControllerTest.java:284) [test-classes/:?]
  149.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  150.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  151.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  152.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  153.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) [testng-6.8.21.jar:?]
  154.     at org.testng.internal.Invoker.invokeMethod(Invoker.java:696) [testng-6.8.21.jar:?]
  155.     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) [testng-6.8.21.jar:?]
  156.     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) [testng-6.8.21.jar:?]
  157.     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) [testng-6.8.21.jar:?]
  158.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) [testng-6.8.21.jar:?]
  159.     at org.testng.TestRunner.privateRun(TestRunner.java:767) [testng-6.8.21.jar:?]
  160.     at org.testng.TestRunner.run(TestRunner.java:617) [testng-6.8.21.jar:?]
  161.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) [testng-6.8.21.jar:?]
  162.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) [testng-6.8.21.jar:?]
  163.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) [testng-6.8.21.jar:?]
  164.     at org.testng.SuiteRunner.run(SuiteRunner.java:254) [testng-6.8.21.jar:?]
  165.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng-6.8.21.jar:?]
  166.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng-6.8.21.jar:?]
  167.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [testng-6.8.21.jar:?]
  168.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [testng-6.8.21.jar:?]
  169.     at org.testng.TestNG.run(TestNG.java:1057) [testng-6.8.21.jar:?]
  170.     at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) [surefire-testng-2.20.1.jar:2.20.1]
  171.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) [surefire-testng-2.20.1.jar:2.20.1]
  172.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) [surefire-testng-2.20.1.jar:2.20.1]
  173.     at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) [surefire-testng-2.20.1.jar:2.20.1]
  174.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) [surefire-booter-2.20.1.jar:2.20.1]
  175.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) [surefire-booter-2.20.1.jar:2.20.1]
  176.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) [surefire-booter-2.20.1.jar:2.20.1]
  177.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) [surefire-booter-2.20.1.jar:2.20.1]
  178. ERROR: com.cognitran.cms.web.publication.media.MediaController - create() error: null
  179. java.lang.NullPointerException: null
  180.     at com.cognitran.cms.web.publication.media.MediaController.update(MediaController.java:718) [classes/:?]
  181.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  182.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  183.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  184.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  185.     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  186.     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  187.     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  188.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  189.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  190.     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  191.     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  192.     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  193.     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  194.     at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  195.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0]
  196.     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  197.     at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:71) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  198.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
  199.     at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:166) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  200.     at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:133) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  201.     at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:165) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  202.     at com.cognitran.cms.web.publication.media.MediaControllerTest.testUpdate(MediaControllerTest.java:303) [test-classes/:?]
  203.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  204.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  205.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  206.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  207.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) [testng-6.8.21.jar:?]
  208.     at org.testng.internal.Invoker.invokeMethod(Invoker.java:696) [testng-6.8.21.jar:?]
  209.     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) [testng-6.8.21.jar:?]
  210.     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) [testng-6.8.21.jar:?]
  211.     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) [testng-6.8.21.jar:?]
  212.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) [testng-6.8.21.jar:?]
  213.     at org.testng.TestRunner.privateRun(TestRunner.java:767) [testng-6.8.21.jar:?]
  214.     at org.testng.TestRunner.run(TestRunner.java:617) [testng-6.8.21.jar:?]
  215.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) [testng-6.8.21.jar:?]
  216.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) [testng-6.8.21.jar:?]
  217.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) [testng-6.8.21.jar:?]
  218.     at org.testng.SuiteRunner.run(SuiteRunner.java:254) [testng-6.8.21.jar:?]
  219.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng-6.8.21.jar:?]
  220.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng-6.8.21.jar:?]
  221.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [testng-6.8.21.jar:?]
  222.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [testng-6.8.21.jar:?]
  223.     at org.testng.TestNG.run(TestNG.java:1057) [testng-6.8.21.jar:?]
  224.     at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) [surefire-testng-2.20.1.jar:2.20.1]
  225.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) [surefire-testng-2.20.1.jar:2.20.1]
  226.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) [surefire-testng-2.20.1.jar:2.20.1]
  227.     at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) [surefire-testng-2.20.1.jar:2.20.1]
  228.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) [surefire-booter-2.20.1.jar:2.20.1]
  229.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) [surefire-booter-2.20.1.jar:2.20.1]
  230.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) [surefire-booter-2.20.1.jar:2.20.1]
  231.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) [surefire-booter-2.20.1.jar:2.20.1]
  232. WARN : org.springframework.validation.DataBinder - Skipping URI variable 'type' since the request contains a bind value with the same name.
  233. WARN : org.springframework.validation.DataBinder - Skipping URI variable 'type' since the request contains a bind value with the same name.
  234. WARN : org.springframework.validation.DataBinder - Skipping URI variable 'type' since the request contains a bind value with the same name.
  235. WARN : org.springframework.web.context.support.GenericWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'connectionPool' defined in class path resource [context.xml]: Could not resolve placeholder 'core.datasource.driverClassName' in value "${core.datasource.driverClassName}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'core.datasource.driverClassName' in value "${core.datasource.driverClassName}"
  236. ERROR: org.springframework.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener@2a610a8d] to prepare test instance [com.cognitran.blaise.web.favourites.FavouriteServiceTest@35e7cdb2]
  237. java.lang.IllegalStateException: Failed to load ApplicationContext
  238.     at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:125) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  239.     at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:108) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  240.     at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  241.     at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  242.     at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:246) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  243.     at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance(AbstractTestNGSpringContextTests.java:145) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  244.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  245.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  246.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  247.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  248.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) [testng-6.8.21.jar:?]
  249.     at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:552) [testng-6.8.21.jar:?]
  250.     at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215) [testng-6.8.21.jar:?]
  251.     at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140) [testng-6.8.21.jar:?]
  252.     at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170) [testng-6.8.21.jar:?]
  253.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104) [testng-6.8.21.jar:?]
  254.     at org.testng.TestRunner.privateRun(TestRunner.java:767) [testng-6.8.21.jar:?]
  255.     at org.testng.TestRunner.run(TestRunner.java:617) [testng-6.8.21.jar:?]
  256.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) [testng-6.8.21.jar:?]
  257.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) [testng-6.8.21.jar:?]
  258.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) [testng-6.8.21.jar:?]
  259.     at org.testng.SuiteRunner.run(SuiteRunner.java:254) [testng-6.8.21.jar:?]
  260.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng-6.8.21.jar:?]
  261.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng-6.8.21.jar:?]
  262.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [testng-6.8.21.jar:?]
  263.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [testng-6.8.21.jar:?]
  264.     at org.testng.TestNG.run(TestNG.java:1057) [testng-6.8.21.jar:?]
  265.     at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) [surefire-testng-2.20.1.jar:2.20.1]
  266.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) [surefire-testng-2.20.1.jar:2.20.1]
  267.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) [surefire-testng-2.20.1.jar:2.20.1]
  268.     at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) [surefire-testng-2.20.1.jar:2.20.1]
  269.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) [surefire-booter-2.20.1.jar:2.20.1]
  270.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) [surefire-booter-2.20.1.jar:2.20.1]
  271.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) [surefire-booter-2.20.1.jar:2.20.1]
  272.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) [surefire-booter-2.20.1.jar:2.20.1]
  273. Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'connectionPool' defined in class path resource [context.xml]: Could not resolve placeholder 'core.datasource.driverClassName' in value "${core.datasource.driverClassName}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'core.datasource.driverClassName' in value "${core.datasource.driverClassName}"
  274.     at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:228) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  275.     at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.processProperties(PropertySourcesPlaceholderConfigurer.java:182) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  276.     at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:157) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  277.     at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  278.     at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:164) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  279.     at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:694) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  280.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  281.     at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:129) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  282.     at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:61) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  283.     at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:107) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  284.     at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  285.     at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  286.     at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:117) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  287.     ... 34 more
  288. Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'core.datasource.driverClassName' in value "${core.datasource.driverClassName}"
  289.     at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  290.     at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  291.     at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:237) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  292.     at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:211) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  293.     at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  294.     at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:296) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  295.     at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:217) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  296.     at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:147) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  297.     at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:85) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  298.     at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:225) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  299.     at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.processProperties(PropertySourcesPlaceholderConfigurer.java:182) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  300.     at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:157) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  301.     at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  302.     at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:164) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  303.     at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:694) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  304.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  305.     at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:129) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  306.     at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:61) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  307.     at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:107) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  308.     at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  309.     at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  310.     at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:117) ~[spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  311.     ... 34 more
  312. INFO : com.cognitran.blaise.web.fitness.FitnessReportWebService - Adding to fitnessReportCache: 1
  313. INFO : com.cognitran.blaise.web.fitness.FitnessReportWebService - Adding to fitnessReportCache: 1
  314. INFO : com.cognitran.blaise.web.fitness.FitnessReportWebService - Adding to fitnessReportCache: -1
  315. INFO : com.cognitran.blaise.web.fitness.FitnessReportWebService - Adding to treeLoaderCache: (Mock for FitnessReport, hashCode: 1887385424,validation)
  316. INFO : com.cognitran.blaise.web.fitness.FitnessReportWebService - Adding to treeLoaderCache: (Mock for FitnessReport, hashCode: 1228721899,a-bad-code)
  317. Jul 19, 2018 8:52:48 AM com.google.common.cache.LocalCache$Segment$1 run
  318. WARNING: Exception thrown during refresh
  319. java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Tree loader not found for page: a-bad-code
  320.     at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:500)
  321.     at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:459)
  322.     at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:76)
  323.     at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:142)
  324.     at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2373)
  325.     at com.google.common.cache.LocalCache$Segment$1.run(LocalCache.java:2351)
  326.     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:435)
  327.     at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:900)
  328.     at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:634)
  329.     at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:98)
  330.     at com.google.common.cache.LocalCache$Segment.loadAsync(LocalCache.java:2346)
  331.     at com.google.common.cache.LocalCache$Segment.refresh(LocalCache.java:2420)
  332.     at com.google.common.cache.LocalCache.refresh(LocalCache.java:4206)
  333.     at com.google.common.cache.LocalCache$LocalLoadingCache.refresh(LocalCache.java:5005)
  334.     at com.cognitran.blaise.web.fitness.FitnessReportWebService.getNestedPublicationTreeLoader(FitnessReportWebService.java:131)
  335.     at com.cognitran.blaise.web.fitness.FitnessReportWebServiceTest.testGetNestedPublicationTreeLoaderWhenNotFound(FitnessReportWebServiceTest.java:103)
  336.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  337.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  338.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  339.     at java.lang.reflect.Method.invoke(Method.java:498)
  340.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
  341.     at org.testng.internal.Invoker.invokeMethod(Invoker.java:696)
  342.     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882)
  343.     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189)
  344.     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
  345.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
  346.     at org.testng.TestRunner.privateRun(TestRunner.java:767)
  347.     at org.testng.TestRunner.run(TestRunner.java:617)
  348.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
  349.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
  350.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
  351.     at org.testng.SuiteRunner.run(SuiteRunner.java:254)
  352.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
  353.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
  354.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
  355.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
  356.     at org.testng.TestNG.run(TestNG.java:1057)
  357.     at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
  358.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
  359.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
  360.     at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
  361.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373)
  362.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334)
  363.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119)
  364.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407)
  365. Caused by: java.lang.IllegalStateException: Tree loader not found for page: a-bad-code
  366.     at com.cognitran.blaise.web.fitness.FitnessReportWebService.lambda$buildNestedPublicationTreeLoader$1(FitnessReportWebService.java:157)
  367.     at java.util.Optional.orElseThrow(Optional.java:290)
  368.     at com.cognitran.blaise.web.fitness.FitnessReportWebService.buildNestedPublicationTreeLoader(FitnessReportWebService.java:157)
  369.     at com.cognitran.blaise.web.fitness.FitnessReportWebService$2.load(FitnessReportWebService.java:82)
  370.     at com.cognitran.blaise.web.fitness.FitnessReportWebService$2.load(FitnessReportWebService.java:77)
  371.     at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3628)
  372.     at com.google.common.cache.LocalCache$Segment.loadAsync(LocalCache.java:2345)
  373.     ... 34 more
  374.  
  375. INFO : com.cognitran.blaise.web.fitness.FitnessReportWebService - Adding to treeLoaderCache: (Mock for FitnessReport, hashCode: 1228721899,a-bad-code)
  376. ERROR: com.cognitran.cms.web.publication.composite.ProcedureController - java.lang.NullPointerException
  377. ERROR: com.cognitran.cms.web.workflow.WorkflowController - addAttachments() error: Inbox entry 1 not found
  378. java.lang.Exception: Inbox entry 1 not found
  379.     at com.cognitran.cms.web.workflow.WorkflowController.addAttachments(WorkflowController.java:792) [classes/:?]
  380.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  381.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  382.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  383.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  384.     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  385.     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  386.     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  387.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  388.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  389.     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  390.     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  391.     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  392.     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  393.     at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  394.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0]
  395.     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  396.     at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:71) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  397.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
  398.     at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:166) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  399.     at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:133) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  400.     at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:165) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  401.     at com.cognitran.cms.web.workflow.WorkflowControllerTest.testAddAttachments(WorkflowControllerTest.java:300) [test-classes/:?]
  402.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  403.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  404.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  405.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  406.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) [testng-6.8.21.jar:?]
  407.     at org.testng.internal.Invoker.invokeMethod(Invoker.java:696) [testng-6.8.21.jar:?]
  408.     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) [testng-6.8.21.jar:?]
  409.     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) [testng-6.8.21.jar:?]
  410.     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) [testng-6.8.21.jar:?]
  411.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) [testng-6.8.21.jar:?]
  412.     at org.testng.TestRunner.privateRun(TestRunner.java:767) [testng-6.8.21.jar:?]
  413.     at org.testng.TestRunner.run(TestRunner.java:617) [testng-6.8.21.jar:?]
  414.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) [testng-6.8.21.jar:?]
  415.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) [testng-6.8.21.jar:?]
  416.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) [testng-6.8.21.jar:?]
  417.     at org.testng.SuiteRunner.run(SuiteRunner.java:254) [testng-6.8.21.jar:?]
  418.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng-6.8.21.jar:?]
  419.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng-6.8.21.jar:?]
  420.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [testng-6.8.21.jar:?]
  421.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [testng-6.8.21.jar:?]
  422.     at org.testng.TestNG.run(TestNG.java:1057) [testng-6.8.21.jar:?]
  423.     at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) [surefire-testng-2.20.1.jar:2.20.1]
  424.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) [surefire-testng-2.20.1.jar:2.20.1]
  425.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) [surefire-testng-2.20.1.jar:2.20.1]
  426.     at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) [surefire-testng-2.20.1.jar:2.20.1]
  427.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) [surefire-booter-2.20.1.jar:2.20.1]
  428.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) [surefire-booter-2.20.1.jar:2.20.1]
  429.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) [surefire-booter-2.20.1.jar:2.20.1]
  430.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) [surefire-booter-2.20.1.jar:2.20.1]
  431. ERROR: com.cognitran.cms.web.workflow.WorkflowController - launchWorkflow() error: For input string: "AUTHOR"
  432. java.lang.NumberFormatException: For input string: "AUTHOR"
  433.     at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_171]
  434.     at java.lang.Long.parseLong(Long.java:589) ~[?:1.8.0_171]
  435.     at java.lang.Long.parseLong(Long.java:631) ~[?:1.8.0_171]
  436.     at com.cognitran.cms.web.workflow.WorkflowController.launchAuthorReviewWorkflow(WorkflowController.java:427) [classes/:?]
  437.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  438.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  439.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  440.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  441.     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  442.     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  443.     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  444.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  445.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  446.     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  447.     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  448.     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  449.     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  450.     at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  451.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0]
  452.     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  453.     at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:71) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  454.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
  455.     at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:166) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  456.     at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:133) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  457.     at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:165) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  458.     at com.cognitran.cms.web.workflow.WorkflowControllerTest.testLaunchAuthorReviewWorkflowPost(WorkflowControllerTest.java:386) [test-classes/:?]
  459.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  460.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  461.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  462.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  463.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) [testng-6.8.21.jar:?]
  464.     at org.testng.internal.Invoker.invokeMethod(Invoker.java:696) [testng-6.8.21.jar:?]
  465.     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) [testng-6.8.21.jar:?]
  466.     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) [testng-6.8.21.jar:?]
  467.     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) [testng-6.8.21.jar:?]
  468.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) [testng-6.8.21.jar:?]
  469.     at org.testng.TestRunner.privateRun(TestRunner.java:767) [testng-6.8.21.jar:?]
  470.     at org.testng.TestRunner.run(TestRunner.java:617) [testng-6.8.21.jar:?]
  471.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) [testng-6.8.21.jar:?]
  472.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) [testng-6.8.21.jar:?]
  473.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) [testng-6.8.21.jar:?]
  474.     at org.testng.SuiteRunner.run(SuiteRunner.java:254) [testng-6.8.21.jar:?]
  475.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng-6.8.21.jar:?]
  476.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng-6.8.21.jar:?]
  477.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [testng-6.8.21.jar:?]
  478.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [testng-6.8.21.jar:?]
  479.     at org.testng.TestNG.run(TestNG.java:1057) [testng-6.8.21.jar:?]
  480.     at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) [surefire-testng-2.20.1.jar:2.20.1]
  481.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) [surefire-testng-2.20.1.jar:2.20.1]
  482.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) [surefire-testng-2.20.1.jar:2.20.1]
  483.     at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) [surefire-testng-2.20.1.jar:2.20.1]
  484.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) [surefire-booter-2.20.1.jar:2.20.1]
  485.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) [surefire-booter-2.20.1.jar:2.20.1]
  486.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) [surefire-booter-2.20.1.jar:2.20.1]
  487.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) [surefire-booter-2.20.1.jar:2.20.1]
  488. Cannot find CatalogManager.properties
  489. ERROR: com.cognitran.cms.web.publication.PublicationController - CheckinFailureException: An unexpected error has occurred whilst performing a checkin.
  490. The admin staff have been informed, please quote this reference: Unexpected error when reporting the error.
  491. com.cognitran.publication.client.CheckinFailureException: An unexpected error has occurred whilst performing a checkin.
  492. The admin staff have been informed, please quote this reference: Unexpected error when reporting the error.
  493.     at com.cognitran.cms.web.publication.PublicationController.checkin(PublicationController.java:513) [classes/:?]
  494.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  495.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  496.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  497.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  498.     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  499.     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  500.     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  501.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  502.     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  503.     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  504.     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  505.     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  506.     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  507.     at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  508.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0]
  509.     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) [spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  510.     at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:71) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  511.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
  512.     at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:166) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  513.     at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:133) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  514.     at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:165) [spring-test-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  515.     at com.cognitran.cms.web.publication.PublicationControllerTest.testCheckinFormThrowsUnexpectedException(PublicationControllerTest.java:126) [test-classes/:?]
  516.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171]
  517.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_171]
  518.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
  519.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
  520.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85) [testng-6.8.21.jar:?]
  521.     at org.testng.internal.Invoker.invokeMethod(Invoker.java:696) [testng-6.8.21.jar:?]
  522.     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882) [testng-6.8.21.jar:?]
  523.     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189) [testng-6.8.21.jar:?]
  524.     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124) [testng-6.8.21.jar:?]
  525.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) [testng-6.8.21.jar:?]
  526.     at org.testng.TestRunner.privateRun(TestRunner.java:767) [testng-6.8.21.jar:?]
  527.     at org.testng.TestRunner.run(TestRunner.java:617) [testng-6.8.21.jar:?]
  528.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) [testng-6.8.21.jar:?]
  529.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) [testng-6.8.21.jar:?]
  530.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) [testng-6.8.21.jar:?]
  531.     at org.testng.SuiteRunner.run(SuiteRunner.java:254) [testng-6.8.21.jar:?]
  532.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng-6.8.21.jar:?]
  533.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng-6.8.21.jar:?]
  534.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [testng-6.8.21.jar:?]
  535.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [testng-6.8.21.jar:?]
  536.     at org.testng.TestNG.run(TestNG.java:1057) [testng-6.8.21.jar:?]
  537.     at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) [surefire-testng-2.20.1.jar:2.20.1]
  538.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) [surefire-testng-2.20.1.jar:2.20.1]
  539.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) [surefire-testng-2.20.1.jar:2.20.1]
  540.     at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146) [surefire-testng-2.20.1.jar:2.20.1]
  541.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) [surefire-booter-2.20.1.jar:2.20.1]
  542.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) [surefire-booter-2.20.1.jar:2.20.1]
  543.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) [surefire-booter-2.20.1.jar:2.20.1]
  544.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) [surefire-booter-2.20.1.jar:2.20.1]
  545. [ERROR] Tests run: 599, Failures: 1, Errors: 0, Skipped: 32, Time elapsed: 24.838 s <<< FAILURE! - in TestSuite
  546. [ERROR] springTestContextPrepareTestInstance(com.cognitran.blaise.web.favourites.FavouriteServiceTest)  Time elapsed: 3.517 s  <<< FAILURE!
  547. java.lang.IllegalStateException: Failed to load ApplicationContext
  548.     at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:125)
  549.     at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:108)
  550.     at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190)
  551.     at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132)
  552.     at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:246)
  553.     at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance(AbstractTestNGSpringContextTests.java:145)
  554.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  555.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  556.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  557.     at java.lang.reflect.Method.invoke(Method.java:498)
  558.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
  559.     at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:552)
  560.     at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
  561.     at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:140)
  562.     at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:170)
  563.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
  564.     at org.testng.TestRunner.privateRun(TestRunner.java:767)
  565.     at org.testng.TestRunner.run(TestRunner.java:617)
  566.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
  567.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
  568.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
  569.     at org.testng.SuiteRunner.run(SuiteRunner.java:254)
  570.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
  571.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
  572.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
  573.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
  574.     at org.testng.TestNG.run(TestNG.java:1057)
  575.     at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
  576.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
  577.     at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
  578.     at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
  579.     at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373)
  580.     at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334)
  581.     at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119)
  582.     at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407)
  583. Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'connectionPool' defined in class path resource [context.xml]: Could not resolve placeholder 'core.datasource.driverClassName' in value "${core.datasource.driverClassName}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'core.datasource.driverClassName' in value "${core.datasource.driverClassName}"
  584.     at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:228)
  585.     at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.processProperties(PropertySourcesPlaceholderConfigurer.java:182)
  586.     at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:157)
  587.     at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284)
  588.     at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:164)
  589.     at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:694)
  590.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532)
  591.     at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:129)
  592.     at org.springframework.test.context.web.AbstractGenericWebContextLoader.loadContext(AbstractGenericWebContextLoader.java:61)
  593.     at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:107)
  594.     at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243)
  595.     at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
  596.     at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:117)
  597.     ... 34 more
  598. Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'core.datasource.driverClassName' in value "${core.datasource.driverClassName}"
  599.     at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172)
  600.     at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124)
  601.     at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:237)
  602.     at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:211)
  603.     at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175)
  604.     at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:296)
  605.     at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:217)
  606.     at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:147)
  607.     at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:85)
  608.     at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:225)
  609.     ... 46 more
  610.  
  611. [INFO]
  612. [INFO] Results:
  613. [INFO]
  614. [ERROR] Failures:
  615. [ERROR]   FavouriteServiceTest>AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance:145 » IllegalState
  616. [INFO]
  617. [ERROR] Tests run: 589, Failures: 1, Errors: 0, Skipped: 22
  618. [INFO]
  619. [INFO] ------------------------------------------------------------------------
  620. [INFO] BUILD FAILURE
  621. [INFO] ------------------------------------------------------------------------
  622. [INFO] Total time: 03:32 min
  623. [INFO] Finished at: 2018-07-19T08:52:53+01:00
  624. [INFO] ------------------------------------------------------------------------
  625. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project blaise-web-core: There are test failures.
  626. [ERROR]
  627. [ERROR] Please refer to /Users/rob/Projects/blaise-core/blaise-web-core/target/surefire-reports for the individual test results.
  628. [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
  629. [ERROR] -> [Help 1]
  630. [ERROR]
  631. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  632. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  633. [ERROR]
  634. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  635. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement