[INFO] Scanning for projects... [INFO] [INFO] ------------------< org.folio:domain-models-runtime >------------------- [INFO] Building domain-models-runtime 29.5.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ domain-models-runtime --- [INFO] Deleting /home/adam/folio/raml-module-builder/domain-models-runtime/target [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ domain-models-runtime --- [INFO] [INFO] --- properties-maven-plugin:1.0.0:set-system-properties (default) @ domain-models-runtime --- [INFO] Set 1 system property [INFO] [INFO] --- exec-maven-plugin:1.6.0:exec (git submodule update) @ domain-models-runtime --- [INFO] [INFO] --- git-commit-id-plugin:2.2.1:revision (get-the-git-infos) @ domain-models-runtime --- [INFO] [INFO] --- exec-maven-plugin:1.6.0:java (generate_client) @ domain-models-runtime --- May 05, 2020 4:14:55 PM org.folio.rest.tools.AnnotationGrabber INFO: Mapping functions in org.folio.rest.jaxrs.resource.JsonSchemas class to appropriate urls org/folio/rest/client/JsonSchemasClient.java May 05, 2020 4:14:55 PM org.folio.rest.tools.AnnotationGrabber INFO: Mapping functions in org.folio.rest.jaxrs.resource.Jobs class to appropriate urls org/folio/rest/client/JobsClient.java May 05, 2020 4:14:55 PM org.folio.rest.tools.AnnotationGrabber INFO: Mapping functions in org.folio.rest.jaxrs.resource.Tenant class to appropriate urls org/folio/rest/client/TenantClient.java May 05, 2020 4:14:55 PM org.folio.rest.tools.AnnotationGrabber INFO: Mapping functions in org.folio.rest.jaxrs.resource.Admin class to appropriate urls org/folio/rest/client/AdminClient.java May 05, 2020 4:14:55 PM org.folio.rest.tools.AnnotationGrabber INFO: Mapping functions in org.folio.rest.jaxrs.resource.Rmbtests class to appropriate urls org/folio/rest/client/RmbtestsClient.java May 05, 2020 4:14:55 PM org.folio.rest.tools.AnnotationGrabber INFO: Mapping functions in org.folio.rest.jaxrs.resource.Ramls class to appropriate urls org/folio/rest/client/RamlsClient.java [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:add-source (add-raml-jaxrs-source) @ domain-models-runtime --- [INFO] Source directory: /home/adam/folio/raml-module-builder/domain-models-runtime/target/generated-sources/raml-jaxrs added. [INFO] [INFO] --- maven-resources-plugin:3.0.1:copy-resources (filter-properties-files) @ domain-models-runtime --- [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-other-resources) @ domain-models-runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 53 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ domain-models-runtime --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 83 source files to /home/adam/folio/raml-module-builder/domain-models-runtime/target/classes [WARNING] /home/adam/folio/raml-module-builder/domain-models-runtime/src/main/java/org/folio/rest/tools/parser/JsonPathParser.java:[155,42] unchecked cast required: java.util.List found: java.lang.Object [WARNING] /home/adam/folio/raml-module-builder/domain-models-runtime/src/main/java/org/folio/rest/tools/client/Response.java:[180,35] unchecked conversion required: java.util.ArrayList found: java.util.ArrayList [WARNING] /home/adam/folio/raml-module-builder/domain-models-runtime/src/main/java/org/folio/rest/persist/PostgresClient.java:[1763,52] unchecked conversion required: org.folio.rest.persist.PostgresClientStreamResult found: org.folio.rest.persist.PostgresClientStreamResult [WARNING] /home/adam/folio/raml-module-builder/domain-models-runtime/src/main/java/org/folio/rest/persist/PostgresClient.java:[1790,38] unchecked cast required: T found: java.lang.Object [WARNING] /home/adam/folio/raml-module-builder/domain-models-runtime/src/main/java/org/folio/rest/persist/PostgresClient.java:[2013,48] unchecked cast required: java.lang.Class found: java.lang.Class [WARNING] /home/adam/folio/raml-module-builder/domain-models-runtime/src/main/java/org/folio/rest/persist/PostgresClient.java:[2493,50] unchecked cast required: T found: java.lang.Object [INFO] /home/adam/folio/raml-module-builder/domain-models-runtime/target/generated-sources/raml-jaxrs/org/folio/rest/client/AdminClient.java: Some input files use or override a deprecated API. [INFO] /home/adam/folio/raml-module-builder/domain-models-runtime/target/generated-sources/raml-jaxrs/org/folio/rest/client/AdminClient.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- aspectj-maven-plugin:1.11:compile (default) @ domain-models-runtime --- [INFO] Showing AJC message detail for messages of types: [error, warning, fail] [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (verify-style) @ domain-models-runtime --- [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ domain-models-runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 38 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ domain-models-runtime --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 50 source files to /home/adam/folio/raml-module-builder/domain-models-runtime/target/test-classes [WARNING] /home/adam/folio/raml-module-builder/domain-models-runtime/src/test/java/org/folio/rest/persist/PostgresClientIT.java:[2561,55] unchecked conversion required: org.folio.rest.persist.PostgresClientStreamResult found: org.folio.rest.persist.PostgresClientStreamResult [INFO] /home/adam/folio/raml-module-builder/domain-models-runtime/src/test/java/org/folio/rest/tools/utils/TenantLoadingTest.java: Some input files use or override a deprecated API. [INFO] /home/adam/folio/raml-module-builder/domain-models-runtime/src/test/java/org/folio/rest/tools/utils/TenantLoadingTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- aspectj-maven-plugin:1.11:test-compile (default) @ domain-models-runtime --- [INFO] Showing AJC message detail for messages of types: [error, warning, fail] [INFO] [INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ domain-models-runtime --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.folio.rest.RestVerticleTest 05 May 2020 16:15:02:396 INFO Version [676eqId] HV000001: Hibernate Validator 5.2.4.Final [Tue May 05 16:15:02 CEST 2020] org.folio.rest.RestVerticle WARNING Invalid x-okapi-token: malformed java.lang.ArrayIndexOutOfBoundsException: 1 at org.folio.rest.RestVerticle.userIdFromToken(RestVerticle.java:1576) at org.folio.rest.RestVerticle.populateMetaData(RestVerticle.java:1601) at org.folio.rest.RestVerticleTest.populateMetaMalformedToken(RestVerticleTest.java:130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:686) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:205) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:201) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:137) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:71) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:135) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:02 CEST 2020] org.folio.rest.RestVerticle WARNING path = null, x-okapi-token = , userId = : null java.lang.NullPointerException at org.folio.rest.RestVerticle.populateMetaData(RestVerticle.java:1598) at org.folio.rest.RestVerticleTest.populateMetadataWithException(RestVerticleTest.java:149) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:686) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:205) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:201) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:137) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:71) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:135) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:02 CEST 2020] org.folio.rest.RestVerticle SEVERE NULL java.lang.NullPointerException at org.folio.rest.RestVerticle.route(RestVerticle.java:366) at org.folio.rest.RestVerticleTest.routeExceptionReturns500(RestVerticleTest.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:686) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:205) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:201) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:137) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:71) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:135) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.347 s - in org.folio.rest.RestVerticleTest [INFO] Running org.folio.rest.RestLauncherTest starting rest verticle service.......... SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. starting rest verticle service.......... starting rest verticle service.......... [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 s - in org.folio.rest.RestLauncherTest [INFO] Running org.folio.rest.tools.utils.ResourceUtilsTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.folio.rest.tools.utils.ResourceUtilsTest [INFO] Running org.folio.rest.tools.parser.JsonPathParserTest [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 s - in org.folio.rest.tools.parser.JsonPathParserTest [INFO] Running org.folio.rest.persist.criteria.CriteriaTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.folio.rest.persist.criteria.CriteriaTest [INFO] Running org.folio.rest.persist.ddlgen.SchemaMakerTest SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder". SLF4J: Defaulting to no-operation MDCAdapter implementation. SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details. Attempting to read in the module name from..../home/adam/.m2/repository/org/folio/domain-models-interface-extensions/29.5.0-SNAPSHOT/domain-models-interface-extensions-29.5.0-SNAPSHOT.jar [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.232 s - in org.folio.rest.persist.ddlgen.SchemaMakerTest [INFO] Running org.folio.rest.tools.utils.OutStreamTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.folio.rest.tools.utils.OutStreamTest [INFO] Running org.folio.rest.tools.utils.ValidationHelperTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 s - in org.folio.rest.tools.utils.ValidationHelperTest [INFO] Running org.folio.rest.tools.utils.BinaryOutStreamTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.folio.rest.tools.utils.BinaryOutStreamTest [INFO] Running org.folio.rest.tools.utils.ResponseTest {"arr2":[{"id":["1","2","3"],"a31":"1"},{"id":["1","2","3"],"a31":"2"},{"id":["1","2","3"],"a31":"3"},{"id":["1","2","3"],"a32":"4"},{"id":"4","a31":"4","a32":"5"}]} [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.folio.rest.tools.utils.ResponseTest [INFO] Running org.folio.rest.tools.utils.BuildCQLTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.folio.rest.tools.utils.BuildCQLTest [INFO] Running org.folio.rest.tools.utils.HTTPMockTest true -------------------------------------->{"id":"1","a31":"1"} [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.folio.rest.tools.utils.HTTPMockTest [INFO] Running org.folio.rest.tools.utils.TenantLoadingTest [Tue May 05 16:15:03 CEST 2020] org.folio.rest.tools.utils.TenantLoading SEVERE PUT http://localhost:51550/data returned status 405: [Tue May 05 16:15:03 CEST 2020] org.folio.rest.tools.utils.TenantLoading WARNING Missing property id for url=file:/home/adam/folio/raml-module-builder/domain-models-runtime/target/test-classes/tenant-load-ref/data-w-id/1.json [Tue May 05 16:15:03 CEST 2020] org.folio.rest.tools.utils.TenantLoading SEVERE PUT http://localhost:51550/data/1 returned status 500: [Tue May 05 16:15:03 CEST 2020] org.folio.rest.tools.utils.TenantLoading WARNING TenantLoading.perform No X-Okapi-Url-to header [Tue May 05 16:15:03 CEST 2020] org.folio.rest.tools.utils.TenantLoading WARNING TenantLoading.perform No X-Okapi-Url header [Tue May 05 16:15:03 CEST 2020] org.folio.rest.tools.utils.TenantLoading WARNING loadData getURLsFromClassPathDir returns empty list for path=tenant-load-none/data [Tue May 05 16:15:03 CEST 2020] org.folio.rest.tools.utils.TenantLoading SEVERE PUT http://localhost:51551/data/1: Connection refused: localhost/127.0.0.1:51551 io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:51551 Caused by: java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:714) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:688) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [Tue May 05 16:15:03 CEST 2020] org.folio.rest.tools.utils.TenantLoading WARNING loadData getURLsFromClassPathDir returns empty list for path=tenant-load-ref/data1 [Tue May 05 16:15:03 CEST 2020] org.folio.rest.tools.utils.TenantLoading SEVERE PUT http://localhost:51550/data1/1 returned status 404:

Resource not found

POST http://localhost:51550/data1 returned status 404:

Resource not found

[INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.456 s - in org.folio.rest.tools.utils.TenantLoadingTest [INFO] Running org.folio.rest.tools.utils.TenantToolTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.folio.rest.tools.utils.TenantToolTest [INFO] Running org.folio.rest.tools.utils.JsonParserTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.folio.rest.tools.utils.JsonParserTest [INFO] Running org.folio.rest.tools.messages.MessagesTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.folio.rest.tools.messages.MessagesTest [INFO] Running org.folio.rest.persist.PgExceptionUtilTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.folio.rest.persist.PgExceptionUtilTest [INFO] Running org.folio.rest.persist.PostgresClientTest [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING Instantiating test Postgres client! Only use with tests! [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING Instantiating test Postgres client! Only use with tests! [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING EXPLAIN ANALYZE SELECT id, foo, bar FROM test_jsonb_pojo LIMIT 30 OFFSET 1: io.vertx.core.impl.NoStackTraceThrowable: explain [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING Instantiating test Postgres client! Only use with tests! [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING Instantiating test Postgres client! Only use with tests! [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING Instantiating test Postgres client! Only use with tests! [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING Instantiating test Postgres client! Only use with tests! [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING Instantiating test Postgres client! Only use with tests! [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING Instantiating test Postgres client! Only use with tests! [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING EXPLAIN ANALYZE SELECT * FROM test_pojo 4fc3dc49-7a36-4a0b-becf-0931b78d739c f8ab98a6-4b2e-420f-bc6d-33b8e2df10e7 85871605-910f-4666-aeb9-827c91ace89b 7695c707-81b7-4451-a0ff-2ce14eb9232f d41efc49-22df-433c-878e-3c9c317b5226 b68602a9-9f4f-4757-a08c-5a4835fdc7bb 69f12f7d-53a2-4e7d-b391-d6409a13aa75 e5bf97ff-3efd-493c-ac95-b68f43415309 d358f748-fc83-45a2-ada3-e79db77f0076 30a6880d-a901-4d5f-8258-fe03a5245b36 [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING Instantiating test Postgres client! Only use with tests! [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE queryAndAnalyze: Bad query - SELECT foo io.vertx.core.impl.NoStackTraceThrowable: Bad query [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient WARNING Instantiating test Postgres client! Only use with tests! [Tue May 05 16:15:03 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.queryAndAnalyze(PostgresClient.java:2665) at org.folio.rest.persist.PostgresClient.processQuery(PostgresClient.java:1938) at org.folio.rest.persist.PostgresClientTest.testProcessQueryException(PostgresClientTest.java:347) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.244 s - in org.folio.rest.persist.PostgresClientTest [INFO] Running org.folio.rest.persist.facets.FacetTest with facets as ( SELECT jsonb FROM myuniversity_new1_mod_users.users where jsonb->>'username' like 'jha%' OR jsonb->>'username' like 'szeev%' LIMIT 10000 ) , count_on as ( SELECT .count_estimate_smart2(count(*) , 10000, '') AS count FROM facets ) , grouped_by as ( SELECT jsonb->'username[]'->'username2[]'->>'abc' as abc, count(*) as count FROM facets GROUP BY GROUPING SETS ( jsonb->'username[]'->'username2[]'->>'abc' ) ) , lst1 as( SELECT jsonb_build_object( 'type' , 'abc', 'facetValues', json_build_array( jsonb_build_object( 'value', abc, 'count', count) ) ) AS jsonb, count as count FROM grouped_by where abc is not null group by abc, count order by count desc ) , ret_records as ( select as , jsonb FROM facets ) (SELECT '00000000-0000-0000-0000-000000000000'::uuid as , jsonb FROM lst1 limit 1000) UNION (SELECT '00000000-0000-0000-0000-000000000000'::uuid as , jsonb_build_object('count' , count) FROM count_on) UNION ALL (select as , jsonb from ret_records ); [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.folio.rest.persist.facets.FacetTest [INFO] Running org.folio.rest.persist.cql.CQLWrapperTest [Tue May 05 16:15:03 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON SEVERE loadDbSchema loadDbSchema(): Table field NOT FOUND [Tue May 05 16:15:03 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON WARNING Doing FT search without index for field->>'author', CQL >>> SQL: author = abc >>> to_tsvector('simple', f_unaccent(field->>'author')) @@ tsquery_phrase(f_unaccent('abc')) [Tue May 05 16:15:03 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON WARNING Doing FT search without index for field->>'year', CQL >>> SQL: year = 1990 >>> to_tsvector('simple', f_unaccent(field->>'year')) @@ tsquery_phrase(f_unaccent('1990')) [Tue May 05 16:15:03 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON WARNING Doing FT search without index for field->>'author', CQL >>> SQL: author = abc >>> to_tsvector('simple', f_unaccent(field->>'author')) @@ tsquery_phrase(f_unaccent('abc')) [Tue May 05 16:15:03 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON WARNING Doing FT search without index for field->>'name', CQL >>> SQL: name = miller >>> to_tsvector('simple', f_unaccent(field->>'name')) @@ tsquery_phrase(f_unaccent('miller')) [Tue May 05 16:15:03 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON WARNING Doing FT search without index for field->>'name', CQL >>> SQL: name = miller >>> to_tsvector('simple', f_unaccent(field->>'name')) @@ tsquery_phrase(f_unaccent('miller')) [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in org.folio.rest.persist.cql.CQLWrapperTest [INFO] Running org.folio.rest.persist.criteria.UpdateSectionTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.folio.rest.persist.criteria.UpdateSectionTest [INFO] Running org.folio.DemoRamlRestTest [Tue May 05 16:15:03 CEST 2020] org.folio.rest.RestVerticle WARNING The following cmd line parameter was skipped, run. Expected format key=value If this is a JVM argument, pass it before the jar, not after [Tue May 05 16:15:03 CEST 2020] org.folio.rest.RestVerticle WARNING The following cmd line parameter was skipped, org.folio.rest.RestLauncherTest$TestVerticle. Expected format key=value If this is a JVM argument, pass it before the jar, not after no rules directory found, continuing... [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking putAdminLoglevel [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36660 PUT /admin/loglevel level=FINE&java_package=org& HTTP_1_1 200 6177 92 tid=abc OK { "data" : { "map" : { "org.hibernate.validator.internal.metadata.aggregated.ExecutableMetaData" : "DEBUG", "org.hibernate.validator.internal.metadata.aggregated.BeanMetaDataImpl" : "DEBUG", "org.hibernate.validator.internal.metadata.aggregated.GroupConversionHelper" : "DEBUG", "org.hibernate.validator.internal.engine.groups.ValidationOrderGenerator" : "DEBUG", "org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider" : "DEBUG", "org.hibernate.validator.internal.metadata.core.ConstraintHelper" : "DEBUG", "org.hibernate.validator.internal.xml.ResourceLoaderHelper" : "DEBUG", "org.hibernate.validator.resourceloading.PlatformResourceBundleLocator" : "DEBUG", "org.hibernate.validator.internal.engine.ConfigurationImpl" : "DEBUG", "org.hibernate.validator.messageinterpolation.AbstractMessageInterpolator" : "DEBUG", "org.hibernate.validator.internal.engine.groups.DefaultValidationOrder" : "DEBUG", "org.hibernate.validator.internal.engine.ValidationContext" : "DEBUG", "org.hibernate.validator.internal.xml.ValidationBootstrapParameters" : "DEBUG", "org.hibernate.validator.internal.engine.ValidatorImpl" : "DEBUG", "org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule" : "DEBUG", "org.hibernate.validator.internal.util.Contracts" : "DEBUG", "org.folio.rest.RestVerticle" : "FINE", "org.hibernate.validator.internal.xml.ValidationXmlParser" : "DEBUG", "org.hibernate.validator.internal.engine.groups.Sequence" : "DEBUG", "org.hibernate.validator.internal.util.ReflectionHelper" : "DEBUG", "org.hibernate.validator.internal.metadata.aggregated.MetaDataBuilder" : "DEBUG", "org.hibernate.validator.internal.metadata.provider.TypeAnnotationAwareMetaDataProvider" : "DEBUG", "org.hibernate.validator.internal.engine.ValidatorFactoryImpl" : "DEBUG", "org.hibernate.validator.internal.metadata.core.AnnotationProcessingOptionsImpl" : "DEBUG", "org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorManager" : "DEBUG", "org.hibernate.validator.internal.util.privilegedactions.LoadClass" : "DEBUG", "org.hibernate.validator.internal.metadata.raw.ConstrainedExecutable" : "DEBUG", "org.hibernate.validator.internal.metadata.aggregated.PropertyMetaData" : "DEBUG", "org.hibernate.validator.internal.util.Version" : "DEBUG", "org.hibernate.validator.internal.util.ExecutableHelper" : "DEBUG", "org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver" : "DEBUG", "org.jboss.logging" : "DEBUG", "org.hibernate.validator.internal.util.TypeHelper" : "DEBUG", "org.junit" : "FINE", "org.folio.rest.tools.messages.Messages" : "FINE", "org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollector" : "FINE", "org.folio.rulez.RuleTracker" : "FINE", "org.junit.jupiter.engine.execution.ConditionEvaluator" : "FINE", "org.junit.jupiter.engine.extension.TimeoutConfiguration" : "FINE", "org.junit.jupiter.engine.execution.JupiterEngineExecutionContext" : "FINE", "org.folio.rest.tools.utils.InterfaceToImpl" : "FINE", "org.junit.jupiter.engine.config.EnumConfigurationParameterConverter" : "FINE", "org.folio.rest.impl.JobsRunner" : "FINE", "org.junit.platform.engine.support.hierarchical.NodeTestTask" : "FINE", "org.glassfish.jersey.message.internal.HeaderUtils" : "FINE", "org.junit.jupiter.engine.descriptor.DisplayNameUtils" : "FINE", "org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry" : "FINE", "org.folio.rest.impl.AdminAPI" : "FINE", "org.folio.rest.tools.AnnotationGrabber" : "FINE", "org.junit.jupiter.engine.config.DisplayNameGeneratorParameterConverter" : "FINE", "org.folio.rest.annotations.RestValidator" : "FINE", "org.glassfish.jersey.internal.util.ReflectionHelper" : "FINE", "org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor" : "FINE", "org.glassfish.jersey.message.internal.LinkProvider" : "FINE", "org.folio.rest.tools.utils.TenantLoading" : "FINE", "org.junit.vintage.engine.descriptor.RunnerTestDescriptor" : "FINE", "org.folio.rest.persist.PgUtil" : "FINE", "org.folio.rest.impl.RamlsAPI" : "FINE", "org.folio.rest.impl.TenantAPI" : "FINE", "org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder" : "FINE", "org.folio.rest.tools.client.test.HttpClientMock2" : "FINE", "org.junit.jupiter.engine.discovery.MethodOrderingVisitor" : "FINE", "org.folio.rest.impl.ProcessUploads" : "FINE", "org.folio.cql2pgjson.CQL2PgJSON" : "FINE", "org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation" : "FINE", "org.folio.rest.impl.JsonSchemasAPI" : "FINE", "org.folio.rest.tools.codecs.PojoEventBusCodec" : "FINE", "org.folio.rest.persist.cql.CQLWrapper" : "FINE", "org.folio.rest.persist.LoadConfs" : "FINE", "org.folio.rest.impl.JobAPI" : "FINE", "org.junit.platform.commons.util.ReflectionUtils" : "FINE", "org.junit.vintage.engine.support.UniqueIdReader" : "FINE", "org.junit.jupiter.engine.discovery.MethodSelectorResolver" : "FINE", "org.junit.platform.launcher.core.DefaultLauncher" : "FINE", "org.folio.rest.tools.utils.VertxUtils" : "FINE", "org.junit.jupiter.engine.execution.ExecutableInvoker" : "FINE", "org.junit.platform.launcher.core.LauncherConfigurationParameters" : "FINE", "org.junit.jupiter.engine.descriptor.JupiterTestDescriptor" : "FINE", "org.junit.jupiter.engine.extension.MutableExtensionRegistry" : "FINE", "org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry" : "FINE", "org.folio.DemoRamlRestTest" : "FINE", "org.folio.rest.tools.ClientGenerator" : "FINE", "org.folio.rest.persist.PostgresClient" : "FINE", "org.folio.rest.impl.BooksDemoAPI" : "FINE", "org.folio.rest.tools.utils.LogUtil" : "FINE", "org.folio.rest.tools.PomReader" : "FINE", "org.glassfish.jersey.message.internal.CommittingOutputStream" : "FINE", "org.junit.platform.commons.util.ClasspathScanner" : "FINE" }, "empty" : false } } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.AdminAPI.getAdminMemory(boolean,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[false, {x-okapi-token=abc, x-okapi-url=http://localhost:55231, x-okapi-tenant=abc}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@280d0600, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking getAdminJstack [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36662 GET /admin/jstack HTTP_1_1 200 22029 3 tid=abc OK "vert.x-worker-thread-0
java.lang.Thread.State: RUNNABLE
at sun.management.ThreadImpl.getThreadInfo1(Native Method)
at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:178)
at org.folio.rest.impl.AdminAPI.lambda$0(AdminAPI.java:102)
at org.folio.rest.impl.AdminAPI$$Lambda$702/630248805.handle(Unknown Source)
at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$2(ContextImpl.java:316)
at io.vertx.core.impl.ContextImpl$$Lambda$371/1576970299.run(Unknown Source)
at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)
at io.vertx.core.impl.TaskQueue$$Lambda$354/619985571.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)

vert.x-eventloop-thread-2
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:824)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)

vert.x-eventloop-thread-1
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:824)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)

vert.x-eventloop-thread-0
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:824)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)

vertx-blocked-thread-checker
java.lang.Thread.State: TIMED_WAITING
at java.lang.Object.wait(Native Method)
at java.util.TimerThread.mainLoop(Timer.java:552)
at java.util.TimerThread.run(Timer.java:505)

vert.x-unit-timeout-thread-85
java.lang.Thread.State: TIMED_WAITING
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:277)
at io.vertx.ext.unit.impl.TestContextImpl.lambda$run$1(TestContextImpl.java:76)
at io.vertx.ext.unit.impl.TestContextImpl$$Lambda$526/2079051109.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)

vert.x-eventloop-thread-1
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:824)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)

vert.x-acceptor-thread-0
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:824)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)

vert.x-eventloop-thread-0
java.lang.Thread.State: RUNNABLE
at org.folio.rest.impl.AdminAPI.getAdminMemory(AdminAPI.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.folio.rest.RestVerticle.invoke(RestVerticle.java:945)
at org.folio.rest.RestVerticle.route(RestVerticle.java:536)
at org.folio.rest.RestVerticle.lambda$1(RestVerticle.java:288)
at org.folio.rest.RestVerticle$$Lambda$684/175112761.handle(Unknown Source)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130)
at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:54)
at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:36)
at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:50)
at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:32)
at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:136)
at io.vertx.core.net.impl.VertxHandler$$Lambda$587/729613752.handle(Unknown Source)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43)
at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:232)
at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:173)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.channelRead(Http1xUpgradeToH2CHandler.java:109)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61)
at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)

vertx-blocked-thread-checker
java.lang.Thread.State: TIMED_WAITING
at java.lang.Object.wait(Native Method)
at java.util.TimerThread.mainLoop(Timer.java:552)
at java.util.TimerThread.run(Timer.java:505)

process reaper
java.lang.Thread.State: TIMED_WAITING
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

surefire-forkedjvm-ping-30s
java.lang.Thread.State: TIMED_WAITING
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

surefire-forkedjvm-command-thread
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:255)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
at java.io.DataInputStream.readInt(DataInputStream.java:387)
at org.apache.maven.surefire.booter.MasterProcessCommand.decode(MasterProcessCommand.java:115)
at org.apache.maven.surefire.booter.CommandReader$CommandRunnable.run(CommandReader.java:391)
at java.lang.Thread.run(Thread.java:748)

Signal Dispatcher
java.lang.Thread.State: RUNNABLE

Finalizer
java.lang.Thread.State: WAITING
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)

Reference Handler
java.lang.Thread.State: WAITING
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

main
java.lang.Thread.State: WAITING
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1707)
at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3323)
at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1742)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:134)
at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39)
at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196)
at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43)
at org.junit.vintage.engine.VintageTestEngine$$Lambda$504/1366741625.accept(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82)
at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
at org.junit.platform.launcher.core.DefaultLauncher$$Lambda$197/790067787.accept(Unknown Source)
at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

" [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking getAdminMemory [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36664 GET /admin/memory history=false& HTTP_1_1 200 1864 3 tid=abc OK "
name: Code Cache memory usage after latest gc: -1MB. type: Non-heap memory estimate of memory usage: 14MB. peak usage: 14MB. % used memory after GC: -1 % used memory current: 99.67
name: Metaspace memory usage after latest gc: -1MB. type: Non-heap memory estimate of memory usage: 45MB. peak usage: 45MB. % used memory after GC: -1 % used memory current: -1
name: Compressed Class Space memory usage after latest gc: -1MB. type: Non-heap memory estimate of memory usage: 5MB. peak usage: 5MB. % used memory after GC: -1 % used memory current: 91.08
name: PS Eden Space memory usage after latest gc: 0MB. type: Heap memory estimate of memory usage: 137MB. peak usage: 245MB. % used memory after GC: 0 % used memory current: 56.02
name: PS Survivor Space memory usage after latest gc: 22MB. type: Heap memory estimate of memory usage: 22MB. peak usage: 22MB. % used memory after GC: 99.99 % used memory current: 99.99
name: PS Old Gen memory usage after latest gc: 17MB. type: Heap memory estimate of memory usage: 23MB. peak usage: 23MB. % used memory after GC: 5.08 % used memory current: 6.88


Total: Memory used/available(MB): 183/609
" [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/books -------- bodyContent -------- { "data" : { "description" : "asdfss", "genre" : "g", "author" : "a" } } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36666 POST /rmbtests/books null HTTP_1_1 422 420 -1 tid=null Unprocessable Entity {"errors":[{"message":"may not be null","type":"1","code":"-1","parameters":[{"key":"data.title","value":"null"}]},{"message":"may not be null","type":"1","code":"-1","parameters":[{"key":"success","value":"null"}]},{"message":"may not be null","type":"1","code":"-1","parameters":[{"key":"data.link","value":"null"}]},{"message":"may not be null","type":"1","code":"-1","parameters":[{"key":"status","value":"null"}]}]} [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 422, 422 expected status at 1588688104503 POST http://localhost:55231/rmbtests/books [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@c21f3ca, {streamed_id=1837952738, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@2c6b5669, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@237de739, {streamed_id=1837952738, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@55d33521, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@9c00cf9, {streamed_id=1837952738, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@26d41926, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@6adc66ea, {streamed_id=1837952738, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@26ea3cad, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@2f444b4d, {streamed_id=1837952738, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@295f6aaa, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@20bda25d, {streamed_id=1837952738, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@5745edb3, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@5ad6da35, {streamed_id=1837952738, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@88ef1ff, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@456c05f9, {streamed_id=1837952738, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@3d3c4092, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@2ea930ae, {streamed_id=1837952738, complete=1837952738, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$716/1364664946@b4fbb4f, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36668 POST /rmbtests/testStream null HTTP_1_1 200 23 11 tid=folio_shared OK "{\n \"complete\" : true\n}" [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@2d2c98aa, {streamed_id=1531958607, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@3b81c409, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@226d00fe, {streamed_id=1531958607, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@72d4c51, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@4e8d7dd6, {streamed_id=1531958607, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@7b994982, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@31b9dcff, {streamed_id=1531958607, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@5c1b515d, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@79dde4c5, {streamed_id=1531958607, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@48b96725, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@371804e9, {streamed_id=1531958607, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@318f2aee, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@2461c040, {streamed_id=1531958607, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@53a9a769, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@1b392fa8, {streamed_id=1531958607, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@2cb2bbb2, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@67b0da4, {streamed_id=1531958607, complete=1531958607, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$716/1364664946@18f770ed, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36670 POST /rmbtests/testStream null HTTP_1_1 200 23 3 tid=folio_shared OK "{\n \"complete\" : true\n}" [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@e2c4d44, {streamed_id=771694606, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@4e4c044d, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@51f1868, {streamed_id=771694606, complete=771694606, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$716/1364664946@5134b795, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36672 POST /rmbtests/testStream null HTTP_1_1 200 23 1 tid=folio_shared OK "{\n \"complete\" : true\n}" [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36674 GET /rmbtests/x/books null HTTP_1_1 400 44 -1 tid=null Bad Request Invalid URL path requested /rmbtests/x/books [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 400, 400 status expected: http://localhost:55231/rmbtests/x/books [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO Invalid URL path requested /rmbtests/x/books [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Invalid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsBooks(java.lang.String,java.lang.Number,java.lang.Number,java.lang.String,java.util.List,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[AUTHOR, null, null, null, [], {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@6a004ee5, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle SEVERE NULL java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.folio.rest.RestVerticle.invoke(RestVerticle.java:945) at org.folio.rest.RestVerticle.route(RestVerticle.java:536) at org.folio.rest.RestVerticle.lambda$1(RestVerticle.java:288) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131) at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:54) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:36) at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:50) at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:32) at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:136) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43) at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:232) at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:173) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.channelRead(Http1xUpgradeToH2CHandler.java:109) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:315) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:429) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:283) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) Caused by: javax.validation.ValidationException: 'rating' parameter is incorrect. parameter value {null} is not valid: may not be null at org.folio.rest.annotations.RestValidator.buildValidationException(RestValidator.aj:81) at org.folio.rest.annotations.RestValidator.ajc$before$org_folio_rest_annotations_RestValidator$1$1872e94e(RestValidator.aj:50) at org.folio.rest.impl.BooksDemoAPI.getRmbtestsBooks(BooksDemoAPI.java:41) ... 61 more [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36676 GET /rmbtests/books null HTTP_1_1 400 87 -1 tid=null Bad Request 'rating' parameter is incorrect. parameter value {null} is not valid: may not be null [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 400, 400 status expected: http://localhost:55231/rmbtests/books [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 'rating' parameter is incorrect. parameter value {null} is not valid: may not be null [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/books -------- bodyContent -------- { "data" : { "title" : "title", "description" : "asdfss", "datetime" : { }, "genre" : "g", "author" : "a", "link" : "link" }, "success" : true, "status" : 0 } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsBooks(org.folio.rest.jaxrs.model.Book,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[org.folio.rest.jaxrs.model.Book@b243523, {x-okapi-user-id=af23adf0-61ba-4887-bf82-956c4aae2260, x-okapi-request-id=999999999999, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@64f753f5, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking postRmbtestsBooks [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36678 POST /rmbtests/books null HTTP_1_1 201 443 14 tid=folio_shared Created { "data" : { "data" : { "title" : "title", "description" : "asdfss", "datetime" : { }, "genre" : "g", "author" : "a", "link" : "link" }, "success" : true, "status" : 0, "metadata" : { "createdDate" : "2020-05-05T14:15:04.701+0000", "createdByUserId" : "af23adf0-61ba-4887-bf82-956c4aae2260", "updatedDate" : "2020-05-05T14:15:04.701+0000", "updatedByUserId" : "af23adf0-61ba-4887-bf82-956c4aae2260" } } } [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 201, 201 expected status at 1588688104708 POST http://localhost:55231/rmbtests/books [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/books -------- bodyContent -------- { "data" : { "title" : "title", "description" : "asdfss", "datetime" : { }, "genre" : "g", "author" : "a", "link" : "link" }, "success" : true, "status" : 0 } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsBooks(org.folio.rest.jaxrs.model.Book,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[org.folio.rest.jaxrs.model.Book@38ab1a9, {x-okapi-request-id=999999999999, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@2e9e6c22, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking postRmbtestsBooks [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36680 POST /rmbtests/books null HTTP_1_1 201 315 2 tid=folio_shared Created { "data" : { "data" : { "title" : "title", "description" : "asdfss", "datetime" : { }, "genre" : "g", "author" : "a", "link" : "link" }, "success" : true, "status" : 0, "metadata" : { "createdDate" : "2020-05-05T14:15:04.712+0000", "updatedDate" : "2020-05-05T14:15:04.712+0000" } } } [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 201, 201 expected status at 1588688104713 POST http://localhost:55231/rmbtests/books [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/books -------- bodyContent -------- {"data":{"title":"title","description":"asdfss","datetime":{},"genre":"g","author":"a","link":"link"},"success":true,"status":0,"lalala":"non existant"} [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle SEVERE Unrecognized field "lalala" (class org.folio.rest.jaxrs.model.Book), not marked as ignorable (7 known properties: "status", "success", "data", "id", "metadata", "image", "resultInfo"]) at [Source: (String)"{"data":{"title":"title","description":"asdfss","datetime":{},"genre":"g","author":"a","link":"link"},"success":true,"status":0,"lalala":"non existant"}"; line: 1, column: 139] (through reference chain: org.folio.rest.jaxrs.model.Book["lalala"]) com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "lalala" (class org.folio.rest.jaxrs.model.Book), not marked as ignorable (7 known properties: "status", "success", "data", "id", "metadata", "image", "resultInfo"]) at [Source: (String)"{"data":{"title":"title","description":"asdfss","datetime":{},"genre":"g","author":"a","link":"link"},"success":true,"status":0,"lalala":"non existant"}"; line: 1, column: 139] (through reference chain: org.folio.rest.jaxrs.model.Book["lalala"]) at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61) at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:840) at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1192) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1592) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1570) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4202) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3205) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3173) at org.folio.rest.RestVerticle.lambda$17(RestVerticle.java:1285) at java.util.Iterator.forEachRemaining(Iterator.java:116) at org.folio.rest.RestVerticle.parseParams(RestVerticle.java:1249) at org.folio.rest.RestVerticle.route(RestVerticle.java:463) at org.folio.rest.RestVerticle.lambda$1(RestVerticle.java:288) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131) at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130) at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.doEnd(BodyHandlerImpl.java:296) at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.end(BodyHandlerImpl.java:276) at io.vertx.ext.web.handler.impl.BodyHandlerImpl.lambda$handle$0(BodyHandlerImpl.java:87) at io.vertx.core.http.impl.HttpServerRequestImpl.onEnd(HttpServerRequestImpl.java:530) at io.vertx.core.http.impl.HttpServerRequestImpl.handleEnd(HttpServerRequestImpl.java:516) at io.vertx.core.http.impl.Http1xServerConnection.handleEnd(Http1xServerConnection.java:176) at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:138) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43) at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:232) at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:173) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36682 POST /rmbtests/books null HTTP_1_1 422 592 -1 tid=null Unprocessable Entity {"errors":[{"message":"Unrecognized field \"lalala\" (class org.folio.rest.jaxrs.model.Book), not marked as ignorable (7 known properties: \"status\", \"success\", \"data\", \"id\", \"metadata\", \"image\", \"resultInfo\"])\n at [Source: (String)\"{\"data\":{\"title\":\"title\",\"description\":\"asdfss\",\"datetime\":{},\"genre\":\"g\",\"author\":\"a\",\"link\":\"link\"},\"success\":true,\"status\":0,\"lalala\":\"non existant\"}\"; line: 1, column: 139] (through reference chain: org.folio.rest.jaxrs.model.Book[\"lalala\"])","type":"1","code":"-1","parameters":[{"key":"","value":""}]}]} [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 422, 422 expected status at 1588688104716 POST http://localhost:55231/rmbtests/books [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.AdminAPI.putAdminLoglevel(org.folio.rest.jaxrs.model.AdminLoglevelPutLevel,java.lang.String,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[FINE, org.folio.rest, {x-okapi-request-id=999999999999, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@6aa4b43a, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking putAdminLoglevel [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36684 PUT /admin/loglevel level=FINE&java_package=org.folio.rest HTTP_1_1 200 1329 0 tid=folio_shared OK { "data" : { "map" : { "org.folio.rest.RestVerticle" : "FINE", "org.folio.rest.tools.messages.Messages" : "FINE", "org.folio.rest.tools.utils.InterfaceToImpl" : "FINE", "org.folio.rest.impl.JobsRunner" : "FINE", "org.folio.rest.impl.AdminAPI" : "FINE", "org.folio.rest.tools.AnnotationGrabber" : "FINE", "org.folio.rest.annotations.RestValidator" : "FINE", "org.folio.rest.tools.utils.TenantLoading" : "FINE", "org.folio.rest.persist.PgUtil" : "FINE", "org.folio.rest.impl.RamlsAPI" : "FINE", "org.folio.rest.impl.TenantAPI" : "FINE", "org.folio.rest.tools.client.test.HttpClientMock2" : "FINE", "org.folio.rest.impl.ProcessUploads" : "FINE", "org.folio.rest.impl.JsonSchemasAPI" : "FINE", "org.folio.rest.tools.codecs.PojoEventBusCodec" : "FINE", "org.folio.rest.persist.cql.CQLWrapper" : "FINE", "org.folio.rest.persist.LoadConfs" : "FINE", "org.folio.rest.tools.utils.JsonUtils" : "FINE", "org.folio.rest.impl.JobAPI" : "FINE", "org.folio.rest.tools.utils.VertxUtils" : "FINE", "org.folio.rest.tools.ClientGenerator" : "FINE", "org.folio.rest.persist.PostgresClient" : "FINE", "org.folio.rest.impl.BooksDemoAPI" : "FINE", "org.folio.rest.tools.utils.LogUtil" : "FINE", "org.folio.rest.tools.PomReader" : "FINE" }, "empty" : false } } [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 expected status at 1588688104719 PUT http://localhost:55231/admin/loglevel?level=FINE&java_package=org.folio.rest [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/books -------- bodyContent -------- { "data" : { "title" : "title", "description" : "asdfss", "datetime" : { }, "genre" : "g", "author" : "a", "link" : "link" }, "success" : true, "status" : 0, "metadata" : { "createdDate" : 1588688104719, "createdByUserId" : "12345678-1234-1234-1234-123456789098", "createdByUsername" : "you", "updatedDate" : 1588688104719, "updatedByUserId" : "123456789098" } } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36686 POST /rmbtests/books null HTTP_1_1 422 215 -1 tid=null Unprocessable Entity {"errors":[{"message":"must match \"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$\"","type":"1","code":"-1","parameters":[{"key":"metadata.updatedByUserId","value":"123456789098"}]}]} [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 422, 422 expected status at 1588688104727 POST http://localhost:55231/rmbtests/books [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/books -------- bodyContent -------- { "data" : { "title" : "title", "description" : "asdfss", "datetime" : { }, "genre" : "g", "author" : "a", "link" : "link" }, "success" : true, "status" : 0, "metadata" : { "createdDate" : 1588688104719, "createdByUserId" : "12345678-1234-1234-1234-123456789098", "createdByUsername" : "you", "updatedDate" : 1588688104719, "updatedByUserId" : "12345678-1234-1234-1234-123456789098" } } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsBooks(org.folio.rest.jaxrs.model.Book,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[org.folio.rest.jaxrs.model.Book@2c4fba6e, {x-okapi-request-id=999999999999, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@7824dcec, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking postRmbtestsBooks [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36688 POST /rmbtests/books null HTTP_1_1 201 315 1 tid=folio_shared Created { "data" : { "data" : { "title" : "title", "description" : "asdfss", "datetime" : { }, "genre" : "g", "author" : "a", "link" : "link" }, "success" : true, "status" : 0, "metadata" : { "createdDate" : "2020-05-05T14:15:04.730+0000", "updatedDate" : "2020-05-05T14:15:04.730+0000" } } } [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 201, 201 expected status at 1588688104731 POST http://localhost:55231/rmbtests/books [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 status expected: http://localhost:55231/apidocs/index.html [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO API Console [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.AdminAPI.getAdminLoglevel(java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[{x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@3fedbfa5, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking getAdminLoglevel [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36692 GET /admin/loglevel null HTTP_1_1 200 10434 1 tid=folio_shared OK { "data" : { "map" : { "org.hibernate.validator.internal.metadata.aggregated.ExecutableMetaData" : "DEBUG", "org.hibernate.validator.internal.metadata.aggregated.BeanMetaDataImpl" : "DEBUG", "org.hibernate.validator.internal.metadata.aggregated.GroupConversionHelper" : "DEBUG", "io.netty.util.internal.PlatformDependent0" : "INFO", "io.netty.handler.stream.ChunkedWriteHandler" : "INFO", "org.hibernate.validator.internal.engine.groups.ValidationOrderGenerator" : "DEBUG", "org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider" : "DEBUG", "org.hibernate.validator.internal.constraintvalidators.bv.PatternValidator" : "INFO", "org.hibernate.validator.internal.engine.messageinterpolation.parser.MessageState" : "INFO", "org.hibernate.validator.resourceloading.PlatformResourceBundleLocator" : "DEBUG", "io.netty.resolver.dns.DnsNameResolver" : "INFO", "freemarker.cache" : "INFO", "io.netty.util.internal.CleanerJava6" : "INFO", "io.netty.buffer.PooledByteBufAllocator" : "INFO", "org.hibernate.validator.messageinterpolation.AbstractMessageInterpolator" : "DEBUG", "io.netty.util.Recycler" : "INFO", "org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorContextImpl" : "INFO", "io.netty.resolver.AddressResolverGroup" : "INFO", "io.netty.util.ReferenceCountUtil" : "INFO", "org.hibernate.validator.internal.xml.ValidationBootstrapParameters" : "DEBUG", "org.hibernate.validator.internal.engine.ValidatorImpl" : "DEBUG", "org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule" : "DEBUG", "org.hibernate.validator.internal.util.Contracts" : "DEBUG", "org.hibernate.validator.internal.engine.groups.Sequence" : "DEBUG", "org.hibernate.validator.internal.engine.messageinterpolation.parser.BeginState" : "INFO", "io.netty.channel.AbstractChannel" : "INFO", "org.hibernate.validator.internal.engine.path.PathImpl" : "INFO", "io.netty.channel.AbstractChannelHandlerContext" : "INFO", "org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorManager" : "DEBUG", "io.netty.channel.CombinedChannelDuplexHandler" : "INFO", "io.netty.util.concurrent.SingleThreadEventExecutor" : "INFO", "org.hibernate.validator.internal.util.privilegedactions.LoadClass" : "DEBUG", "freemarker.runtime.attempt" : "INFO", "freemarker.beans" : "INFO", "io.netty.util.concurrent.DefaultPromise.rejectedExecution" : "INFO", "org.hibernate.validator.internal.metadata.aggregated.PropertyMetaData" : "DEBUG", "org.hibernate.validator.internal.engine.MessageInterpolatorContext" : "INFO", "org.hibernate.validator.internal.util.Version" : "DEBUG", "io.netty.bootstrap.Bootstrap" : "INFO", "org.hibernate.validator.internal.util.ExecutableHelper" : "DEBUG", "org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver" : "DEBUG", "io.netty.channel.nio.NioEventLoop" : "INFO", "io.netty.util.ResourceLeakDetectorFactory" : "INFO", "io.netty.resolver.dns.DirContextUtils" : "INFO", "io.netty.util.internal.logging.InternalLoggerFactory" : "INFO", "org.jboss.logging" : "DEBUG", "org.hibernate.validator.internal.util.TypeHelper" : "DEBUG", "org.hibernate.validator.internal.util.privilegedactions.GetAnnotationParameter" : "INFO", "org.hibernate.validator.internal.constraintvalidators.bv.size.SizeValidatorForCharSequence" : "INFO", "io.netty.channel.MultithreadEventLoopGroup" : "INFO", "org.hibernate.validator.internal.engine.ConstraintViolationImpl" : "INFO", "io.netty.util.concurrent.GlobalEventExecutor" : "INFO", "org.hibernate.validator.internal.metadata.core.ConstraintHelper" : "DEBUG", "io.netty.util.internal.PlatformDependent" : "INFO", "freemarker.runtime" : "INFO", "org.hibernate.validator.internal.xml.ResourceLoaderHelper" : "DEBUG", "io.netty.resolver.HostsFileParser" : "INFO", "io.netty.channel.DefaultChannelId" : "INFO", "io.netty.buffer.AbstractByteBuf" : "INFO", "org.hibernate.validator.internal.engine.messageinterpolation.parser.InterpolationTermState" : "INFO", "io.netty.channel.ChannelInitializer" : "INFO", "io.netty.channel.socket.nio.NioServerSocketChannel" : "INFO", "org.hibernate.validator.internal.engine.ConfigurationImpl" : "DEBUG", "io.netty.util.ResourceLeakDetector" : "INFO", "io.netty.util.internal.MacAddressUtil" : "INFO", "org.hibernate.validator.internal.engine.groups.DefaultValidationOrder" : "DEBUG", "io.netty.channel.ChannelOutboundBuffer" : "INFO", "io.netty.util.concurrent.DefaultPromise" : "INFO", "io.netty.resolver.dns.UnixResolverDnsServerAddressStreamProvider" : "INFO", "io.netty.buffer.PoolThreadCache" : "INFO", "io.netty.channel.DefaultChannelPipeline" : "INFO", "org.hibernate.validator.internal.engine.ValidationContext" : "DEBUG", "io.netty.channel.ChannelHandlerMask" : "INFO", "org.hibernate.validator.internal.metadata.descriptor.ConstraintDescriptorImpl" : "INFO", "org.hibernate.validator.internal.engine.messageinterpolation.parser.ELState" : "INFO", "io.netty.channel.socket.nio.NioSocketChannel" : "INFO", "org.folio.rest.RestVerticle" : "FINE", "io.netty.handler.logging.LoggingHandler" : "INFO", "org.hibernate.validator.internal.xml.ValidationXmlParser" : "DEBUG", "io.netty.util.internal.InternalThreadLocalMap" : "INFO", "org.hibernate.validator.internal.metadata.aggregated.MetaDataBuilder" : "DEBUG", "org.hibernate.validator.internal.util.ReflectionHelper" : "DEBUG", "freemarker.security" : "INFO", "io.netty.util.concurrent.AbstractEventExecutor" : "INFO", "org.hibernate.validator.internal.metadata.provider.TypeAnnotationAwareMetaDataProvider" : "DEBUG", "org.hibernate.validator.internal.engine.ValidatorFactoryImpl" : "DEBUG", "org.hibernate.validator.internal.metadata.core.AnnotationProcessingOptionsImpl" : "DEBUG", "io.netty.channel.nio.AbstractNioChannel" : "INFO", "io.netty.handler.codec.compression.ZlibCodecFactory" : "INFO", "io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider" : "INFO", "org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree" : "INFO", "org.hibernate.validator.internal.metadata.raw.ConstrainedExecutable" : "DEBUG", "io.netty.util.NetUtil" : "INFO", "io.netty.util.internal.SystemPropertyUtil" : "INFO", "org.hibernate.validator.internal.engine.path.NodeImpl" : "INFO", "io.netty.buffer.ByteBufUtil" : "INFO", "io.netty.bootstrap.ServerBootstrap" : "INFO", "org.hibernate.validator.internal.util.privilegedactions.NewInstance" : "INFO", "io.netty.channel.socket.DefaultDatagramChannelConfig" : "INFO", "org.junit" : "FINE", "org.folio.rest.tools.messages.Messages" : "FINE", "org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollector" : "FINE", "org.folio.rulez.RuleTracker" : "FINE", "org.junit.jupiter.engine.execution.ConditionEvaluator" : "FINE", "org.junit.jupiter.engine.extension.TimeoutConfiguration" : "FINE", "org.junit.jupiter.engine.execution.JupiterEngineExecutionContext" : "FINE", "org.folio.rest.tools.utils.InterfaceToImpl" : "FINE", "org.junit.jupiter.engine.config.EnumConfigurationParameterConverter" : "FINE", "org.folio.rest.impl.JobsRunner" : "FINE", "org.junit.platform.engine.support.hierarchical.NodeTestTask" : "FINE", "org.glassfish.jersey.message.internal.HeaderUtils" : "FINE", "org.junit.jupiter.engine.descriptor.DisplayNameUtils" : "FINE", "org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry" : "FINE", "org.folio.rest.impl.AdminAPI" : "FINE", "org.folio.rest.tools.AnnotationGrabber" : "FINE", "org.junit.jupiter.engine.config.DisplayNameGeneratorParameterConverter" : "FINE", "org.folio.rest.annotations.RestValidator" : "FINE", "org.glassfish.jersey.internal.util.ReflectionHelper" : "FINE", "org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor" : "FINE", "org.glassfish.jersey.message.internal.LinkProvider" : "FINE", "org.folio.rest.tools.utils.TenantLoading" : "FINE", "org.junit.vintage.engine.descriptor.RunnerTestDescriptor" : "FINE", "org.folio.rest.persist.PgUtil" : "FINE", "org.folio.rest.impl.RamlsAPI" : "FINE", "org.folio.rest.impl.TenantAPI" : "FINE", "org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder" : "FINE", "org.folio.rest.tools.client.test.HttpClientMock2" : "FINE", "org.junit.jupiter.engine.discovery.MethodOrderingVisitor" : "FINE", "org.folio.rest.impl.ProcessUploads" : "FINE", "org.folio.cql2pgjson.CQL2PgJSON" : "FINE", "org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation" : "FINE", "org.folio.rest.impl.JsonSchemasAPI" : "FINE", "org.folio.rest.tools.codecs.PojoEventBusCodec" : "FINE", "org.folio.rest.persist.cql.CQLWrapper" : "FINE", "org.folio.rest.persist.LoadConfs" : "FINE", "org.folio.rest.tools.utils.JsonUtils" : "FINE", "org.folio.rest.impl.JobAPI" : "FINE", "org.junit.platform.commons.util.ReflectionUtils" : "FINE", "org.junit.vintage.engine.support.UniqueIdReader" : "FINE", "org.junit.jupiter.engine.discovery.MethodSelectorResolver" : "FINE", "org.junit.platform.launcher.core.DefaultLauncher" : "FINE", "org.folio.rest.tools.utils.VertxUtils" : "FINE", "org.junit.jupiter.engine.execution.ExecutableInvoker" : "FINE", "org.junit.platform.launcher.core.LauncherConfigurationParameters" : "FINE", "io.vertx" : "WARNING", "org.junit.jupiter.engine.descriptor.JupiterTestDescriptor" : "FINE", "org.junit.jupiter.engine.extension.MutableExtensionRegistry" : "FINE", "org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry" : "FINE", "org.folio.DemoRamlRestTest" : "FINE", "org.folio.rest.tools.ClientGenerator" : "FINE", "org.folio.rest.persist.PostgresClient" : "FINE", "org.folio.rest.impl.BooksDemoAPI" : "FINE", "org.folio.rest.tools.utils.LogUtil" : "FINE", "org.folio.rest.tools.PomReader" : "FINE", "org.glassfish.jersey.message.internal.CommittingOutputStream" : "FINE", "org.junit.platform.commons.util.ClasspathScanner" : "FINE", "" : "WARNING" }, "empty" : false } } [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 status expected: http://localhost:55231/admin/loglevel [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO { "map" : { "org.hibernate.validator.internal.metadata.aggregated.ExecutableMetaData" : "DEBUG", "org.hibernate.validator.internal.metadata.aggregated.BeanMetaDataImpl" : "DEBUG", "org.hibernate.validator.internal.metadata.aggregated.GroupConversionHelper" : "DEBUG", "io.netty.util.internal.PlatformDependent0" : "INFO", "io.netty.handler.stream.ChunkedWriteHandler" : "INFO", "org.hibernate.validator.internal.engine.groups.ValidationOrderGenerator" : "DEBUG", "org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider" : "DEBUG", "org.hibernate.validator.internal.constraintvalidators.bv.PatternValidator" : "INFO", "org.hibernate.validator.internal.engine.messageinterpolation.parser.MessageState" : "INFO", "org.hibernate.validator.resourceloading.PlatformResourceBundleLocator" : "DEBUG", "io.netty.resolver.dns.DnsNameResolver" : "INFO", "freemarker.cache" : "INFO", "io.netty.util.internal.CleanerJava6" : "INFO", "io.netty.buffer.PooledByteBufAllocator" : "INFO", "org.hibernate.validator.messageinterpolation.AbstractMessageInterpolator" : "DEBUG", "io.netty.util.Recycler" : "INFO", "org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorContextImpl" : "INFO", "io.netty.resolver.AddressResolverGroup" : "INFO", "io.netty.util.ReferenceCountUtil" : "INFO", "org.hibernate.validator.internal.xml.ValidationBootstrapParameters" : "DEBUG", "org.hibernate.validator.internal.engine.ValidatorImpl" : "DEBUG", "org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule" : "DEBUG", "org.hibernate.validator.internal.util.Contracts" : "DEBUG", "org.hibernate.validator.internal.engine.groups.Sequence" : "DEBUG", "org.hibernate.validator.internal.engine.messageinterpolation.parser.BeginState" : "INFO", "io.netty.channel.AbstractChannel" : "INFO", "org.hibernate.validator.internal.engine.path.PathImpl" : "INFO", "io.netty.channel.AbstractChannelHandlerContext" : "INFO", "org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorManager" : "DEBUG", "io.netty.channel.CombinedChannelDuplexHandler" : "INFO", "io.netty.util.concurrent.SingleThreadEventExecutor" : "INFO", "org.hibernate.validator.internal.util.privilegedactions.LoadClass" : "DEBUG", "freemarker.runtime.attempt" : "INFO", "freemarker.beans" : "INFO", "io.netty.util.concurrent.DefaultPromise.rejectedExecution" : "INFO", "org.hibernate.validator.internal.metadata.aggregated.PropertyMetaData" : "DEBUG", "org.hibernate.validator.internal.engine.MessageInterpolatorContext" : "INFO", "org.hibernate.validator.internal.util.Version" : "DEBUG", "io.netty.bootstrap.Bootstrap" : "INFO", "org.hibernate.validator.internal.util.ExecutableHelper" : "DEBUG", "org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver" : "DEBUG", "io.netty.channel.nio.NioEventLoop" : "INFO", "io.netty.util.ResourceLeakDetectorFactory" : "INFO", "io.netty.resolver.dns.DirContextUtils" : "INFO", "io.netty.util.internal.logging.InternalLoggerFactory" : "INFO", "org.jboss.logging" : "DEBUG", "org.hibernate.validator.internal.util.TypeHelper" : "DEBUG", "org.hibernate.validator.internal.util.privilegedactions.GetAnnotationParameter" : "INFO", "org.hibernate.validator.internal.constraintvalidators.bv.size.SizeValidatorForCharSequence" : "INFO", "io.netty.channel.MultithreadEventLoopGroup" : "INFO", "org.hibernate.validator.internal.engine.ConstraintViolationImpl" : "INFO", "io.netty.util.concurrent.GlobalEventExecutor" : "INFO", "org.hibernate.validator.internal.metadata.core.ConstraintHelper" : "DEBUG", "io.netty.util.internal.PlatformDependent" : "INFO", "freemarker.runtime" : "INFO", "org.hibernate.validator.internal.xml.ResourceLoaderHelper" : "DEBUG", "io.netty.resolver.HostsFileParser" : "INFO", "io.netty.channel.DefaultChannelId" : "INFO", "io.netty.buffer.AbstractByteBuf" : "INFO", "org.hibernate.validator.internal.engine.messageinterpolation.parser.InterpolationTermState" : "INFO", "io.netty.channel.ChannelInitializer" : "INFO", "io.netty.channel.socket.nio.NioServerSocketChannel" : "INFO", "org.hibernate.validator.internal.engine.ConfigurationImpl" : "DEBUG", "io.netty.util.ResourceLeakDetector" : "INFO", "io.netty.util.internal.MacAddressUtil" : "INFO", "org.hibernate.validator.internal.engine.groups.DefaultValidationOrder" : "DEBUG", "io.netty.channel.ChannelOutboundBuffer" : "INFO", "io.netty.util.concurrent.DefaultPromise" : "INFO", "io.netty.resolver.dns.UnixResolverDnsServerAddressStreamProvider" : "INFO", "io.netty.buffer.PoolThreadCache" : "INFO", "io.netty.channel.DefaultChannelPipeline" : "INFO", "org.hibernate.validator.internal.engine.ValidationContext" : "DEBUG", "io.netty.channel.ChannelHandlerMask" : "INFO", "org.hibernate.validator.internal.metadata.descriptor.ConstraintDescriptorImpl" : "INFO", "org.hibernate.validator.internal.engine.messageinterpolation.parser.ELState" : "INFO", "io.netty.channel.socket.nio.NioSocketChannel" : "INFO", "org.folio.rest.RestVerticle" : "FINE", "io.netty.handler.logging.LoggingHandler" : "INFO", "org.hibernate.validator.internal.xml.ValidationXmlParser" : "DEBUG", "io.netty.util.internal.InternalThreadLocalMap" : "INFO", "org.hibernate.validator.internal.metadata.aggregated.MetaDataBuilder" : "DEBUG", "org.hibernate.validator.internal.util.ReflectionHelper" : "DEBUG", "freemarker.security" : "INFO", "io.netty.util.concurrent.AbstractEventExecutor" : "INFO", "org.hibernate.validator.internal.metadata.provider.TypeAnnotationAwareMetaDataProvider" : "DEBUG", "org.hibernate.validator.internal.engine.ValidatorFactoryImpl" : "DEBUG", "org.hibernate.validator.internal.metadata.core.AnnotationProcessingOptionsImpl" : "DEBUG", "io.netty.channel.nio.AbstractNioChannel" : "INFO", "io.netty.handler.codec.compression.ZlibCodecFactory" : "INFO", "io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider" : "INFO", "org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree" : "INFO", "org.hibernate.validator.internal.metadata.raw.ConstrainedExecutable" : "DEBUG", "io.netty.util.NetUtil" : "INFO", "io.netty.util.internal.SystemPropertyUtil" : "INFO", "org.hibernate.validator.internal.engine.path.NodeImpl" : "INFO", "io.netty.buffer.ByteBufUtil" : "INFO", "io.netty.bootstrap.ServerBootstrap" : "INFO", "org.hibernate.validator.internal.util.privilegedactions.NewInstance" : "INFO", "io.netty.channel.socket.DefaultDatagramChannelConfig" : "INFO", "org.junit" : "FINE", "org.folio.rest.tools.messages.Messages" : "FINE", "org.junit.jupiter.engine.support.OpenTest4JAndJUnit4AwareThrowableCollector" : "FINE", "org.folio.rulez.RuleTracker" : "FINE", "org.junit.jupiter.engine.execution.ConditionEvaluator" : "FINE", "org.junit.jupiter.engine.extension.TimeoutConfiguration" : "FINE", "org.junit.jupiter.engine.execution.JupiterEngineExecutionContext" : "FINE", "org.folio.rest.tools.utils.InterfaceToImpl" : "FINE", "org.junit.jupiter.engine.config.EnumConfigurationParameterConverter" : "FINE", "org.folio.rest.impl.JobsRunner" : "FINE", "org.junit.platform.engine.support.hierarchical.NodeTestTask" : "FINE", "org.glassfish.jersey.message.internal.HeaderUtils" : "FINE", "org.junit.jupiter.engine.descriptor.DisplayNameUtils" : "FINE", "org.junit.platform.launcher.core.ServiceLoaderTestExecutionListenerRegistry" : "FINE", "org.folio.rest.impl.AdminAPI" : "FINE", "org.folio.rest.tools.AnnotationGrabber" : "FINE", "org.junit.jupiter.engine.config.DisplayNameGeneratorParameterConverter" : "FINE", "org.folio.rest.annotations.RestValidator" : "FINE", "org.glassfish.jersey.internal.util.ReflectionHelper" : "FINE", "org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor" : "FINE", "org.glassfish.jersey.message.internal.LinkProvider" : "FINE", "org.folio.rest.tools.utils.TenantLoading" : "FINE", "org.junit.vintage.engine.descriptor.RunnerTestDescriptor" : "FINE", "org.folio.rest.persist.PgUtil" : "FINE", "org.folio.rest.impl.RamlsAPI" : "FINE", "org.folio.rest.impl.TenantAPI" : "FINE", "org.junit.vintage.engine.discovery.DefensiveAllDefaultPossibilitiesBuilder" : "FINE", "org.folio.rest.tools.client.test.HttpClientMock2" : "FINE", "org.junit.jupiter.engine.discovery.MethodOrderingVisitor" : "FINE", "org.folio.rest.impl.ProcessUploads" : "FINE", "org.folio.cql2pgjson.CQL2PgJSON" : "FINE", "org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation" : "FINE", "org.folio.rest.impl.JsonSchemasAPI" : "FINE", "org.folio.rest.tools.codecs.PojoEventBusCodec" : "FINE", "org.folio.rest.persist.cql.CQLWrapper" : "FINE", "org.folio.rest.persist.LoadConfs" : "FINE", "org.folio.rest.tools.utils.JsonUtils" : "FINE", "org.folio.rest.impl.JobAPI" : "FINE", "org.junit.platform.commons.util.ReflectionUtils" : "FINE", "org.junit.vintage.engine.support.UniqueIdReader" : "FINE", "org.junit.jupiter.engine.discovery.MethodSelectorResolver" : "FINE", "org.junit.platform.launcher.core.DefaultLauncher" : "FINE", "org.folio.rest.tools.utils.VertxUtils" : "FINE", "org.junit.jupiter.engine.execution.ExecutableInvoker" : "FINE", "org.junit.platform.launcher.core.LauncherConfigurationParameters" : "FINE", "io.vertx" : "WARNING", "org.junit.jupiter.engine.descriptor.JupiterTestDescriptor" : "FINE", "org.junit.jupiter.engine.extension.MutableExtensionRegistry" : "FINE", "org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry" : "FINE", "org.folio.DemoRamlRestTest" : "FINE", "org.folio.rest.tools.ClientGenerator" : "FINE", "org.folio.rest.persist.PostgresClient" : "FINE", "org.folio.rest.impl.BooksDemoAPI" : "FINE", "org.folio.rest.tools.utils.LogUtil" : "FINE", "org.folio.rest.tools.PomReader" : "FINE", "org.glassfish.jersey.message.internal.CommittingOutputStream" : "FINE", "org.junit.platform.commons.util.ClasspathScanner" : "FINE", "" : "WARNING" }, "empty" : false } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36694 GET /rmbtests/books publicationYear=&author=me HTTP_1_1 400 83 -1 tid=null Bad Request publicationYear does not have a default value in the RAML and has been passed empty [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 400, 400 status expected: http://localhost:55231/rmbtests/books?publicationYear=&author=me [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO publicationYear does not have a default value in the RAML and has been passed empty [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsBooks(java.lang.String,java.lang.Number,java.lang.Number,java.lang.String,java.util.List,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[me, 1900, 1.2, null, [], {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@360da319, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking getRmbtestsBooks [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36696 GET /rmbtests/books publicationYear=1900&author=me&rating=1.2 HTTP_1_1 200 3 1 tid=folio_shared OK { } [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 status expected: http://localhost:55231/rmbtests/books?publicationYear=1900&author=me&rating=1.2 [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO { } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Invalid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsBooks(java.lang.String,java.lang.Number,java.lang.Number,java.lang.String,java.util.List,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[me, 1, null, null, [], {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@52e237d8, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle SEVERE NULL java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.folio.rest.RestVerticle.invoke(RestVerticle.java:945) at org.folio.rest.RestVerticle.route(RestVerticle.java:536) at org.folio.rest.RestVerticle.lambda$1(RestVerticle.java:288) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131) at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:54) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:36) at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:50) at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:32) at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:136) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43) at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:232) at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:173) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.channelRead(Http1xUpgradeToH2CHandler.java:109) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:315) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:429) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:283) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) Caused by: javax.validation.ValidationException: 'rating' parameter is incorrect. parameter value {null} is not valid: may not be null at org.folio.rest.annotations.RestValidator.buildValidationException(RestValidator.aj:81) at org.folio.rest.annotations.RestValidator.ajc$before$org_folio_rest_annotations_RestValidator$1$1872e94e(RestValidator.aj:50) at org.folio.rest.impl.BooksDemoAPI.getRmbtestsBooks(BooksDemoAPI.java:41) ... 61 more [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36698 GET /rmbtests/books publicationYear=1&author=me HTTP_1_1 400 87 -1 tid=null Bad Request 'rating' parameter is incorrect. parameter value {null} is not valid: may not be null [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 400, 400 status expected: http://localhost:55231/rmbtests/books?publicationYear=1&author=me [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 'rating' parameter is incorrect. parameter value {null} is not valid: may not be null [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle SEVERE NULL java.lang.NumberFormatException at java.math.BigDecimal.(BigDecimal.java:497) at java.math.BigDecimal.(BigDecimal.java:383) at java.math.BigDecimal.(BigDecimal.java:809) at org.folio.rest.RestVerticle.lambda$17(RestVerticle.java:1418) at java.util.Iterator.forEachRemaining(Iterator.java:116) at org.folio.rest.RestVerticle.parseParams(RestVerticle.java:1249) at org.folio.rest.RestVerticle.route(RestVerticle.java:463) at org.folio.rest.RestVerticle.lambda$1(RestVerticle.java:288) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131) at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:54) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:36) at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:50) at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:32) at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:136) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43) at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:232) at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:173) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.channelRead(Http1xUpgradeToH2CHandler.java:109) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:315) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:429) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:283) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36700 GET /rmbtests/books publicationYear=x&author=me HTTP_1_1 400 0 -1 tid=null Bad Request [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 400, 400 status expected: http://localhost:55231/rmbtests/books?publicationYear=x&author=me [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/books -------- bodyContent -------- { "data" : { "description" : "asdfss", "genre" : "g", "author" : "a" } } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36702 POST /rmbtests/books validate_field=data.description HTTP_1_1 200 0 52543397 tid=null OK null [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 expected status at 1588688104775 POST http://localhost:55231/rmbtests/books?validate_field=data.description [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/books -------- bodyContent -------- { "data" : { "description" : "asdfss", "genre" : "g", "author" : "a" } } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36704 POST /rmbtests/books validate_field=author HTTP_1_1 200 0 52543402 tid=null OK null [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 expected status at 1588688104779 POST http://localhost:55231/rmbtests/books?validate_field=author [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Invalid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsBooks(java.lang.String,java.lang.Number,java.lang.Number,java.lang.String,java.util.List,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[me, null, null, null, [], {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@48f6f4e5, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle SEVERE NULL java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.folio.rest.RestVerticle.invoke(RestVerticle.java:945) at org.folio.rest.RestVerticle.route(RestVerticle.java:536) at org.folio.rest.RestVerticle.lambda$1(RestVerticle.java:288) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131) at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:54) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:36) at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:50) at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:32) at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:136) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43) at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:232) at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:173) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.channelRead(Http1xUpgradeToH2CHandler.java:109) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:315) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:429) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:283) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) Caused by: javax.validation.ValidationException: 'rating' parameter is incorrect. parameter value {null} is not valid: may not be null at org.folio.rest.annotations.RestValidator.buildValidationException(RestValidator.aj:81) at org.folio.rest.annotations.RestValidator.ajc$before$org_folio_rest_annotations_RestValidator$1$1872e94e(RestValidator.aj:50) at org.folio.rest.impl.BooksDemoAPI.getRmbtestsBooks(BooksDemoAPI.java:41) ... 61 more [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36706 GET /rmbtests/books author=me HTTP_1_1 400 87 -1 tid=null Bad Request 'rating' parameter is incorrect. parameter value {null} is not valid: may not be null [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 400, 400 status expected: http://localhost:55231/rmbtests/books?author=me [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 'rating' parameter is incorrect. parameter value {null} is not valid: may not be null [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.AdminAPI.getAdminMemory(boolean,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[true, {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@6437dcaf, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking getAdminMemory [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36708 GET /admin/memory history=true HTTP_1_1 200 1892 1 tid=folio_shared OK "2020-05-05T14:15:04.791Z

name: Code Cache memory usage after latest gc: -1MB. type: Non-heap memory estimate of memory usage: 16MB. peak usage: 16MB. % used memory after GC: -1 % used memory current: 99.48
name: Metaspace memory usage after latest gc: -1MB. type: Non-heap memory estimate of memory usage: 47MB. peak usage: 47MB. % used memory after GC: -1 % used memory current: -1
name: Compressed Class Space memory usage after latest gc: -1MB. type: Non-heap memory estimate of memory usage: 5MB. peak usage: 5MB. % used memory after GC: -1 % used memory current: 92.27
name: PS Eden Space memory usage after latest gc: 0MB. type: Heap memory estimate of memory usage: 229MB. peak usage: 245MB. % used memory after GC: 0 % used memory current: 93.75
name: PS Survivor Space memory usage after latest gc: 22MB. type: Heap memory estimate of memory usage: 22MB. peak usage: 22MB. % used memory after GC: 99.99 % used memory current: 99.99
name: PS Old Gen memory usage after latest gc: 17MB. type: Heap memory estimate of memory usage: 23MB. peak usage: 23MB. % used memory after GC: 5.08 % used memory current: 6.88


Total: Memory used/available(MB): 275/609
" [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 status expected: http://localhost:55231/admin/memory?history=true [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 2020-05-05T14:15:04.791Z

name: Code Cache memory usage after latest gc: -1MB. type: Non-heap memory estimate of memory usage: 16MB. peak usage: 16MB. % used memory after GC: -1 % used memory current: 99.48
name: Metaspace memory usage after latest gc: -1MB. type: Non-heap memory estimate of memory usage: 47MB. peak usage: 47MB. % used memory after GC: -1 % used memory current: -1
name: Compressed Class Space memory usage after latest gc: -1MB. type: Non-heap memory estimate of memory usage: 5MB. peak usage: 5MB. % used memory after GC: -1 % used memory current: 92.27
name: PS Eden Space memory usage after latest gc: 0MB. type: Heap memory estimate of memory usage: 229MB. peak usage: 245MB. % used memory after GC: 0 % used memory current: 93.75
name: PS Survivor Space memory usage after latest gc: 22MB. type: Heap memory estimate of memory usage: 22MB. peak usage: 22MB. % used memory after GC: 99.99 % used memory current: 99.99
name: PS Old Gen memory usage after latest gc: 17MB. type: Heap memory estimate of memory usage: 23MB. peak usage: 23MB. % used memory after GC: 5.08 % used memory current: 6.88


Total: Memory used/available(MB): 275/609
[Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@301e55ae, {streamed_id=1947178856, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$1$$Lambda$715/245499623@68ed63bc, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[java.io.ByteArrayInputStream@63300690, {streamed_id=1947178856, x-okapi-tenant=folio_shared, streamed_abort=1947178856}, org.folio.rest.RestVerticle$2$$Lambda$765/557945907@604369c9, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTestStream(java.io.InputStream,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context) [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36710 POST /rmbtests/testStream null HTTP_1_1 200 0 -1 tid=null OK unable to upload file Connection was closed [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/books -------- bodyContent -------- { "data" : { "description" : "asdfss", "genre" : "g", "author" : "a" } } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36712 POST /rmbtests/books validate_field=data.title&validate_field=data.description HTTP_1_1 422 116 -1 tid=null Unprocessable Entity {"errors":[{"message":"may not be null","type":"1","code":"-1","parameters":[{"key":"data.title","value":"null"}]}]} [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 422, 422 expected status at 1588688104913 POST http://localhost:55231/rmbtests/books?validate_field=data.title&validate_field=data.description [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:04 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/books -------- bodyContent -------- { "data" : { "description" : "asdfss", "genre" : "g", "author" : "a" } } [Tue May 05 16:15:04 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36714 POST /rmbtests/books validate_field=data.title HTTP_1_1 422 116 -1 tid=null Unprocessable Entity {"errors":[{"message":"may not be null","type":"1","code":"-1","parameters":[{"key":"data.title","value":"null"}]}]} [Tue May 05 16:15:04 CEST 2020] org.folio.DemoRamlRestTest INFO 422, 422 expected status at 1588688104938 POST http://localhost:55231/rmbtests/books?validate_field=data.title [Tue May 05 16:15:05 CEST 2020] org.folio.rest.RestVerticle FINE /_/tenant -------- bodyContent -------- {"module_to":"raml-module-builder-1.0.0"} [Tue May 05 16:15:05 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.TenantAPI.postTenant(org.folio.rest.jaxrs.model.TenantAttributes,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[org.folio.rest.jaxrs.model.TenantAttributes@60a58907, {x-okapi-request-id=999999999999, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@28748e7f, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:05 CEST 2020] org.folio.rest.impl.TenantAPI INFO sending... postTenant for folio_shared [Tue May 05 16:15:05 CEST 2020] org.folio.rest.impl.TenantAPI FINE upgrade from null to raml-module-builder-1.0.0 [Tue May 05 16:15:05 CEST 2020] org.folio.rest.persist.LoadConfs INFO File does not exist: /postgres-conf.json [Tue May 05 16:15:05 CEST 2020] org.folio.rest.persist.LoadConfs INFO Resource does not exist: /postgres-conf.json [Tue May 05 16:15:05 CEST 2020] org.folio.rest.persist.PostgresClient INFO No DB configuration found, starting embedded postgres with default config [Tue May 05 16:15:05 CEST 2020] org.folio.rest.persist.PostgresClient INFO postgreSQLClientConfig = {"username":"username","password":"...","host":"127.0.0.1","port":6000,"database":"postgres","connectionReleaseDelay":60000} Extract /home/adam/.embedpostgresql/postgresql-10.3-1-linux-x64-binaries.tar.gz START ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Extract /home/adam/.embedpostgresql/postgresql-10.3-1-linux-x64-binaries.tar.gz DONE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO embedded postgres started on port 6000 [Tue May 05 16:15:07 CEST 2020] org.folio.rest.impl.TenantAPI FINE GENERATED SCHEMA CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public; CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public; CREATE ROLE folio_shared_raml_module_builder PASSWORD 'folio_shared' NOSUPERUSER NOCREATEDB INHERIT LOGIN; GRANT folio_shared_raml_module_builder TO CURRENT_USER; CREATE SCHEMA folio_shared_raml_module_builder AUTHORIZATION folio_shared_raml_module_builder; ALTER ROLE folio_shared_raml_module_builder SET search_path = "$user"; SET search_path TO folio_shared_raml_module_builder; CREATE TABLE IF NOT EXISTS folio_shared_raml_module_builder.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ); insert into folio_shared_raml_module_builder.rmb_internal (jsonb) values ('{"rmbVersion": "29.5.0", "moduleVersion": "raml-module-builder-1.0.0"}'::jsonb); CREATE TABLE IF NOT EXISTS folio_shared_raml_module_builder.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ); UPDATE folio_shared_raml_module_builder.rmb_internal_index SET remove = TRUE; -- UUID functions -- Unit tests: org.folio.rest.persist.ddlgen.UuidIT.java -- Return the smallest UUID, or null if both UUIDs are null. CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql; -- Return the largest UUID, or null if both UUIDs are null. CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql; -- Return the next UUID (xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx) by adding 1 to x -- but change neither version byte M nor variant byte N. CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' THEN digit := '2'; WHEN '2' THEN digit := '3'; WHEN '3' THEN digit := '4'; WHEN '4' THEN digit := '5'; WHEN '5' THEN digit := '6'; WHEN '6' THEN digit := '7'; WHEN '7' THEN digit := '8'; WHEN '8' THEN digit := '9'; WHEN '9' THEN digit := 'a'; WHEN 'a' THEN digit := 'b'; WHEN 'b' THEN digit := 'c'; WHEN 'c' THEN digit := 'd'; WHEN 'd' THEN digit := 'e'; WHEN 'e' THEN digit := 'f'; WHEN 'f' THEN digit := '0'; ELSE NULL; END CASE; uuid = overlay(uuid placing digit from i); EXIT WHEN digit <> '0'; END LOOP; RETURN uuid; END; $$ LANGUAGE plpgsql; -- Note: We do not "DROP AGGREGATE" because it fails if any objects depend on it CREATE AGGREGATE folio_shared_raml_module_builder.max(uuid) ( stype = uuid, sfunc = folio_shared_raml_module_builder.uuid_larger, combinefunc = folio_shared_raml_module_builder.uuid_larger, parallel = safe, sortop = operator (>) ); CREATE AGGREGATE folio_shared_raml_module_builder.min(uuid) ( stype = uuid, sfunc = folio_shared_raml_module_builder.uuid_smaller, combinefunc = folio_shared_raml_module_builder.uuid_smaller, parallel = safe, sortop = operator (<) ); -- if the amount of results matches the LIMIT , it means that the result set is larger than the limit and we should return an estimate -- for example, this is used in faceting with a limit of lets say 20,000 results. if we got back 20,000 results (passed in as the rows -- parameters , then our result set is larger than the limit most probably and we should estimate a count DROP FUNCTION IF EXISTS folio_shared_raml_module_builder.count_estimate_smart2(bigint,bigint,text); CREATE FUNCTION folio_shared_raml_module_builder.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END IF; RETURN rows; END; $$ LANGUAGE plpgsql VOLATILE STRICT; CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = folio_shared_raml_module_builder.count_estimate_smart2(1000, 1000, query); IF rows < 1000 THEN return 1000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT; -- In order not to calculate possibly unnecessary precise count, primarily estimate the count by -- explain select (see: count_estimate_smart2). If the approximate count is more than desirable -- exact records counts multiplied by 4 (empiric constant) return it. Otherwise return precise -- count if it is less than desirable exact records. Otherwise return approximate count. CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = folio_shared_raml_module_builder.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO count; IF count < 1000 THEN RETURN count; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT; -- Convert accented string into unaccented string. -- For Postgres versions below 12 we additionally need to remove -- these Unicode combining characters: -- 0x0300 ... 0x0362: Accents, IPA -- 0x20dd ... 0x20e0: Symbols -- 0x20e2 ... 0x20e4: Screen, keycap, triangle -- For Postgres >= 12 unaccent removes them: -- https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=456e3718e7b72efe4d2639437fcbca2e4ad83099;hp=80579f9bb171350fccdd5f1d793c538254d9de62 -- https://issues.folio.org/browse/RMB-605 DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; ELSE CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT regexp_replace(public.unaccent('public.unaccent', $1), E'[\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f' || '\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f' || '\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f' || '\u0330\u0331\u0332\u0333\u0334\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f' || '\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f' || '\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f' || '\u0360\u0361\u0362' || '\u20dd\u20de\u20df\u20e0' || '\u20e2\u20e3\u20e4]', '', 'g') $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; END IF; END $$; -- Convert a string into a tsquery. A star * before a space or at the end of the string -- is converted into a tsquery right truncation operator. -- -- Implementation note: -- to_tsquery('simple', '''''') yields ERROR: syntax error in tsquery: "''" -- use to_tsquery('simple', '') instead CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, '&')) FROM (SELECT regexp_split_to_table(translate($1, '&''', ',,'), ' +')) AS x(v); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(folio_shared_raml_module_builder.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(folio_shared_raml_module_builder.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; -- Normalize digits by removing spaces, tabs and hyphen-minuses from the first chunk. -- Insert a space before the second chunk. The second chunk starts at the first character that is -- neither digit, space, tab nor hyphen-minus. The first chunk may end with a star * for right -- truncation. -- Examples: -- normalize_digits(' 0-1 2--3 4 ') = '01234' -- normalize_digits(' 01 2- 3 -- 45 -a 7 -8 9') = '012345 a 7 -8 9' -- normalize_digits(' 01 2- 3 -- 45* -a 7 -8 9') = '012345* a 7 -8 9' -- normalize_digits('978 92 8011 565 9(Vol. 1011-1021)') = '9789280115659 (Vol. 1011-1021)' CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' ELSE ' ' END || (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2]; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; -- This trigger function copies primary key id from NEW.id to NEW.jsonb->'id'. CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql'; -- Concatenate the parameters using space as separator create or replace function folio_shared_raml_module_builder.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT; -- For each element of the jsonb_array take the value of field; concatenate them using space as separator create or replace function folio_shared_raml_module_builder.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; -- Take each value of the field attribute of the jsonb_array elements where the filterkey of the element has filtervalue; -- concate the values using space as separator. create or replace function folio_shared_raml_module_builder.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; -- Return the value of the field attribute of the first jsonb_array element where filterkey has filtervalue. create or replace function folio_shared_raml_module_builder.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; -- Concatenate the elements of the jsonb_array using space as separator create or replace function folio_shared_raml_module_builder.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; -- Recreate index if its definition has changed, -- drop it and replace by the replacement if a prepared replacement index exists, -- drop it if tops = 'DELETE'. -- Update its entry in table rmb_internal_index. CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.rmb_internal_index(aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE 'DELETE FROM folio_shared_raml_module_builder.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM folio_shared_raml_module_builder.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM folio_shared_raml_module_builder.rmb_internal_index WHERE name = namep; prepareddef = replace(prepareddef, concat(' ', namep, ' ON '), concat(' ', aname, ' ON ')); IF prepareddef = newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE format('ALTER INDEX IF EXISTS %s RENAME TO %s', namep, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; ELSIF olddef IS DISTINCT FROM newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE newdef; END IF; EXECUTE 'INSERT INTO folio_shared_raml_module_builder.rmb_internal_index VALUES ($1, $2, FALSE) ' 'ON CONFLICT (name) DO UPDATE SET def = EXCLUDED.def, remove = EXCLUDED.remove' USING aname, newdef; END $$ LANGUAGE plpgsql; REVOKE ALL PRIVILEGES ON SCHEMA public FROM folio_shared_raml_module_builder; REVOKE CREATE ON SCHEMA public FROM PUBLIC; -- Previous module version 0.0 CREATE TABLE IF NOT EXISTS folio_shared_raml_module_builder.test_tenantapi ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ); -- old trigger name DROP TRIGGER IF EXISTS set_id_injson_test_tenantapi ON folio_shared_raml_module_builder.test_tenantapi CASCADE; -- current trigger name DROP TRIGGER IF EXISTS set_id_in_jsonb ON folio_shared_raml_module_builder.test_tenantapi CASCADE; CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON folio_shared_raml_module_builder.test_tenantapi FOR EACH ROW EXECUTE PROCEDURE folio_shared_raml_module_builder.set_id_in_jsonb(); ALTER TABLE folio_shared_raml_module_builder.test_tenantapi ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text; DROP TRIGGER IF EXISTS update_test_tenantapi_references ON folio_shared_raml_module_builder.test_tenantapi CASCADE; DROP FUNCTION IF EXISTS folio_shared_raml_module_builder.update_test_tenantapi_references(); -- auto populate the meta data schema -- These are the metadata fields: -- creation_date TIMESTAMP -- created_by TEXT -- jsonb->'metadata'->>'createdDate' -- jsonb->'metadata'->>'createdByUserId' -- jsonb->'metadata'->>'updatedDate' -- jsonb->'metadata'->>'updatedByUserId' -- RestVerticle sets all 4 jsonb->'metadata' fields to the current date and current user on insert and on update. -- The insert trigger copies createdDate and createdByUserId to creation_date and created_by. -- The update trigger overwrites createdDate and createdByUserId by the values stored -- in creation_date and created_by. -- Special case: If NEW.creation_date is null on update then save NEW.jsonb->'metadata' without changes. -- Restrictions specified in metadata.schema: -- jsonb->'metadata' is optional, but if it exists then jsonb->'metadata'->>'createdDate' is required. -- Trigger for insert: Copy createdDate and createdByUserId to creation_date and created_by. CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.test_tenantapi_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql'; DROP TRIGGER IF EXISTS set_test_tenantapi_md_trigger ON folio_shared_raml_module_builder.test_tenantapi CASCADE; CREATE TRIGGER set_test_tenantapi_md_trigger BEFORE INSERT ON folio_shared_raml_module_builder.test_tenantapi FOR EACH ROW EXECUTE PROCEDURE folio_shared_raml_module_builder.test_tenantapi_set_md(); -- Trigger for update: -- Overwrite createdDate and createdByUserId by the values stored in creation_date and created_by. CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.set_test_tenantapi_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql'; DROP TRIGGER IF EXISTS set_test_tenantapi_md_json_trigger ON folio_shared_raml_module_builder.test_tenantapi CASCADE; CREATE TRIGGER set_test_tenantapi_md_json_trigger BEFORE UPDATE ON folio_shared_raml_module_builder.test_tenantapi FOR EACH ROW EXECUTE PROCEDURE folio_shared_raml_module_builder.set_test_tenantapi_md_json(); ----- end auto populate meta data schema ------------ -- Drop all indexes that schema.json no longer defines but had been defined by schema.json before. DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM folio_shared_raml_module_builder.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE format('DROP INDEX IF EXISTS %s', aname); END LOOP; END $$; -- Fix functions calls with "public." in indexes https://issues.folio.org/browse/RMB-583 -- All functions have been moved from public schema into folio_shared_raml_module_builder schema. -- https://github.com/folio-org/raml-module-builder/commit/872c1f80da4c8d49e6836ca9221f637dc5e7420b DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM folio_shared_raml_module_builder.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'folio_shared_raml_module_builder' LOOP newindexdef := regexp_replace(i.indexdef, -- \m = beginning of a word, \M = end of a word '\mpublic.(f_unaccent|gin_trgm_ops|concat_space_sql|concat_array_object_values|concat_array_object)\M', 'folio_shared_raml_module_builder.\1'); IF newindexdef <> i.indexdef THEN EXECUTE format('DROP INDEX %I.%I', i.schemaname, i.indexname); EXECUTE newindexdef; END IF; END LOOP; END $$; GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA folio_shared_raml_module_builder TO folio_shared_raml_module_builder; UPDATE folio_shared_raml_module_builder.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '29.5.0', 'moduleVersion', 'raml-module-builder-1.0.0', 'schemaJson', $mainftl${ "tables": [ { "tableName": "test_tenantapi", "withMetadata": true } ] } $mainftl$); [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Executing multiple statements with id 812575156 [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient WARNING EXPLAIN ANALYZE SELECT EXISTS(SELECT 1 FROM pg_namespace WHERE nspname = 'folio_shared_raml_module_builder'); Result (cost=1.07..1.08 rows=1 width=1) (actual time=0.004..0.004 rows=1 loops=1) InitPlan 1 (returns $0) -> Seq Scan on pg_namespace (cost=0.00..1.07 rows=1 width=0) (actual time=0.003..0.003 rows=0 loops=1) Filter: (nspname = 'folio_shared_raml_module_builder'::name) Rows Removed by Filter: 6 Planning time: 0.038 ms Execution time: 0.014 ms [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE EXTENSION IF NOT EXISTS unaccent WITH SCHEMA public [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE ROLE folio_shared_raml_module_builder PASSWORD 'folio_shared' NOSUPERUSER NOCREATEDB INHERIT LOGIN [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE ROLE folio_shared_raml_module_builder PASSWORD 'folio_shared' NOSUPERUSER NOCREATEDB INHERIT LOGIN [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: GRANT folio_shared_raml_module_builder TO CURRENT_USER [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: GRANT folio_shared_raml_module_builder TO CURRENT_USER [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE SCHEMA folio_shared_raml_module_builder AUTHORIZATION folio_shared_raml_module_builder [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE SCHEMA folio_shared_raml_module_builder AUTHORIZATION folio_shared_raml_module_builder [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: ALTER ROLE folio_shared_raml_module_builder SET search_path = "$user" [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: ALTER ROLE folio_shared_raml_module_builder SET search_path = "$user" [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: SET search_path TO folio_shared_raml_module_builder [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: SET search_path TO folio_shared_raml_module_builder [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE TABLE IF NOT EXISTS folio_shared_raml_module_builder.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE TABLE IF NOT EXISTS folio_shared_raml_module_builder.rmb_internal ( id SERIAL PRIMARY KEY, jsonb JSONB NOT NULL ) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: insert into folio_shared_raml_module_builder.rmb_internal (jsonb) values ('{"rmbVersion": "29.5.0", "moduleVersion": "raml-module-builder-1.0.0"}'::jsonb) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: insert into folio_shared_raml_module_builder.rmb_internal (jsonb) values ('{"rmbVersion": "29.5.0", "moduleVersion": "raml-module-builder-1.0.0"}'::jsonb) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE TABLE IF NOT EXISTS folio_shared_raml_module_builder.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE TABLE IF NOT EXISTS folio_shared_raml_module_builder.rmb_internal_index ( name text PRIMARY KEY, def text NOT NULL, remove boolean NOT NULL ) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: UPDATE folio_shared_raml_module_builder.rmb_internal_index SET remove = TRUE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: UPDATE folio_shared_raml_module_builder.rmb_internal_index SET remove = TRUE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.uuid_smaller(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 < $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.uuid_larger(uuid, uuid) RETURNS uuid AS $$ BEGIN IF $1 IS NULL THEN RETURN $2; END IF; IF $2 IS NULL THEN RETURN $1; END IF; IF $1 > $2 THEN RETURN $1; ELSE RETURN $2; END IF; END; $$ LANGUAGE plpgsql [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' THEN digit := '2'; WHEN '2' THEN digit := '3'; WHEN '3' THEN digit := '4'; WHEN '4' THEN digit := '5'; WHEN '5' THEN digit := '6'; WHEN '6' THEN digit := '7'; WHEN '7' THEN digit := '8'; WHEN '8' THEN digit := '9'; WHEN '9' THEN digit := 'a'; WHEN 'a' THEN digit := 'b'; WHEN 'b' THEN digit := 'c'; WHEN 'c' THEN digit := 'd'; WHEN 'd' THEN digit := 'e'; WHEN 'e' THEN digit := 'f'; WHEN 'f' THEN digit := '0'; ELSE NULL; END CASE; uuid = overlay(uuid placing digit from i); EXIT WHEN digit <> '0'; END LO [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.next_uuid(uuid) RETURNS uuid AS $$ DECLARE uuid text; digit text; BEGIN uuid = $1; FOR i IN REVERSE 36..1 LOOP digit := substring(uuid from i for 1); -- skip minus, version byte M and variant byte N CONTINUE WHEN digit = '-' OR i = 15 OR i = 20; CASE digit WHEN '0' THEN digit := '1'; WHEN '1' THEN digi [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE AGGREGATE folio_shared_raml_module_builder.max(uuid) ( stype = uuid, sfunc = folio_shared_raml_module_builder.uuid_larger, combinefunc = folio_shared_raml_module_builder.uuid_larger, parallel = safe, sortop = operator (>) ) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE AGGREGATE folio_shared_raml_module_builder.max(uuid) ( stype = uuid, sfunc = folio_shared_raml_module_builder.uuid_larger, combinefunc = folio_shared_raml_module_builder.uuid_larger, parallel = safe, sortop = operator (>) ) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE AGGREGATE folio_shared_raml_module_builder.min(uuid) ( stype = uuid, sfunc = folio_shared_raml_module_builder.uuid_smaller, combinefunc = folio_shared_raml_module_builder.uuid_smaller, parallel = safe, sortop = operator (<) ) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE AGGREGATE folio_shared_raml_module_builder.min(uuid) ( stype = uuid, sfunc = folio_shared_raml_module_builder.uuid_smaller, combinefunc = folio_shared_raml_module_builder.uuid_smaller, parallel = safe, sortop = operator (<) ) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: DROP FUNCTION IF EXISTS folio_shared_raml_module_builder.count_estimate_smart2(bigint,bigint,text) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: DROP FUNCTION IF EXISTS folio_shared_raml_module_builder.count_estimate_smart2(bigint,bigint,text) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE FUNCTION folio_shared_raml_module_builder.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END IF; RETURN rows; END; $$ LANGUAGE plpgsql VOLATILE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE FUNCTION folio_shared_raml_module_builder.count_estimate_smart2(rows bigint, lim bigint, query text) RETURNS bigint AS $$ DECLARE rec record; cnt bigint; BEGIN IF rows = lim THEN FOR rec IN EXECUTE 'EXPLAIN ' || query LOOP cnt := substring(rec."QUERY PLAN" FROM ' rows=([[:digit:]]+)'); EXIT WHEN cnt IS NOT NULL; END LOOP; RETURN cnt; END IF; RE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = folio_shared_raml_module_builder.count_estimate_smart2(1000, 1000, query); IF rows < 1000 THEN return 1000; END IF; RETURN rows; END; $$ LANGUAGE plpgsql IMMUTABLE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.count_estimate_default(query text) RETURNS bigint AS $$ DECLARE rows bigint; q text; BEGIN q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO rows; IF rows < 1000 THEN return rows; END IF; rows = folio_shared_raml_module_builder.count_estimate_smart2(1000, 1000, query); IF rows < 1000 THEN r [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = folio_shared_raml_module_builder.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO count; IF count < 1000 THEN RETURN count; END IF; RETURN est_count; END; $$ LANGUAGE plpgsql STABLE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.count_estimate(query text) RETURNS bigint AS $$ DECLARE count bigint; est_count bigint; q text; BEGIN est_count = folio_shared_raml_module_builder.count_estimate_smart2(1000, 1000, query); IF est_count > 4*1000 THEN RETURN est_count; END IF; q = 'SELECT COUNT(*) FROM (' || query || ' LIMIT 1000) x'; EXECUTE q INTO cou [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT; ELSE CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT regexp_replace(public.unaccent('public.unaccent', $1), E'[\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f' || '\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f' || '\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f' || '\u0330\u0331\u0332\u0333\u0 [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: DO $$ DECLARE ver integer; BEGIN SELECT current_setting('server_version_num') INTO ver; IF (ver >= 120000) THEN CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.f_unaccent(text) RETURNS text AS $f_unaccent$ SELECT public.unaccent('public.unaccent', $1) -- schema-qualify function and dictionary $f_unaccent$ LANGUAGE sql IMMUTABLE PARALLEL [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, '&')) FROM (SELECT regexp_split_to_table(translate($1, '&''', ',,'), ' +')) AS x(v); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.tsquery_and(text) RETURNS tsquery AS $$ SELECT to_tsquery('simple', string_agg(CASE WHEN length(v) = 0 OR v = '*' THEN '' WHEN right(v, 1) = '*' THEN '''' || left(v, -1) || ''':*' ELSE '''' || v || '''' END, [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(folio_shared_raml_module_builder.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.tsquery_or(text) RETURNS tsquery AS $$ SELECT replace(folio_shared_raml_module_builder.tsquery_and($1)::text, '&', '|')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(folio_shared_raml_module_builder.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.tsquery_phrase(text) RETURNS tsquery AS $$ SELECT replace(folio_shared_raml_module_builder.tsquery_and($1)::text, '&', '<->')::tsquery; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' ELSE ' ' END || (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2]; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.normalize_digits(text) RETURNS text AS $$ SELECT translate((regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1], E' \t-', '') || CASE WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[1] = '' THEN '' WHEN (regexp_match($1, '^([0-9 \t-]*(?:\*[ \t]*)?)(.*)'))[2] = '' THEN '' ELSE ' [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.set_id_in_jsonb() RETURNS TRIGGER AS $$ BEGIN NEW.jsonb = jsonb_set(NEW.jsonb, '{id}', to_jsonb(NEW.id)); RETURN NEW; END; $$ language 'plpgsql' [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: create or replace function folio_shared_raml_module_builder.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: create or replace function folio_shared_raml_module_builder.concat_space_sql(VARIADIC text[]) RETURNS text AS $$ select concat_ws(' ', VARIADIC $1); $$ LANGUAGE SQL IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: create or replace function folio_shared_raml_module_builder.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: create or replace function folio_shared_raml_module_builder.concat_array_object_values(jsonb_array jsonb, field text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: create or replace function folio_shared_raml_module_builder.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: create or replace function folio_shared_raml_module_builder.concat_array_object_values( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT string_agg(value->>$2, ' ') FROM jsonb_array_elements($1) WHERE value->>$3 = $4; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: create or replace function folio_shared_raml_module_builder.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: create or replace function folio_shared_raml_module_builder.first_array_object_value( jsonb_array jsonb, field text, filterkey text, filtervalue text) RETURNS text AS $$ SELECT value->>$2 FROM jsonb_array_elements($1) WHERE value->>$3 = $4 LIMIT 1; $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: create or replace function folio_shared_raml_module_builder.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: create or replace function folio_shared_raml_module_builder.concat_array_object(jsonb_array jsonb) RETURNS text AS $$ SELECT string_agg(value::text, ' ') FROM jsonb_array_elements_text($1); $$ LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.rmb_internal_index(aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE 'DELETE FROM folio_shared_raml_module_builder.rmb_internal_index WHERE name = $1' USING aname; RETURN; END IF; SELECT def INTO olddef FROM folio_shared_raml_module_builder.rmb_internal_index WHERE name = aname; SELECT def INTO prepareddef FROM folio_shared_raml_module_builder.rmb_internal_index WHERE name = namep; prepareddef = replace(prepareddef, concat(' ', namep, ' ON '), concat(' ', aname, ' ON ')); IF prepareddef = newdef THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE format('ALTER INDEX IF EXISTS %s RENAME TO %s', namep, aname); EXECUTE 'DELETE FROM rmb_internal_index WHERE name = $1' USING namep; ELSIF olddef IS DI [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.rmb_internal_index(aname text, tops text, newdef text) RETURNS void AS $$ DECLARE olddef text; namep CONSTANT text = concat(aname, '_p'); prepareddef text; BEGIN IF tops = 'DELETE' THEN EXECUTE format('DROP INDEX IF EXISTS %s', aname); EXECUTE 'DELETE FROM folio_shared_raml_module_builder.rmb_internal_index WHERE name = $ [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: REVOKE ALL PRIVILEGES ON SCHEMA public FROM folio_shared_raml_module_builder [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: REVOKE ALL PRIVILEGES ON SCHEMA public FROM folio_shared_raml_module_builder [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: REVOKE CREATE ON SCHEMA public FROM PUBLIC [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: REVOKE CREATE ON SCHEMA public FROM PUBLIC [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE TABLE IF NOT EXISTS folio_shared_raml_module_builder.test_tenantapi ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE TABLE IF NOT EXISTS folio_shared_raml_module_builder.test_tenantapi ( id UUID PRIMARY KEY, jsonb JSONB NOT NULL ) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: DROP TRIGGER IF EXISTS set_id_injson_test_tenantapi ON folio_shared_raml_module_builder.test_tenantapi CASCADE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: DROP TRIGGER IF EXISTS set_id_injson_test_tenantapi ON folio_shared_raml_module_builder.test_tenantapi CASCADE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: DROP TRIGGER IF EXISTS set_id_in_jsonb ON folio_shared_raml_module_builder.test_tenantapi CASCADE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: DROP TRIGGER IF EXISTS set_id_in_jsonb ON folio_shared_raml_module_builder.test_tenantapi CASCADE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON folio_shared_raml_module_builder.test_tenantapi FOR EACH ROW EXECUTE PROCEDURE folio_shared_raml_module_builder.set_id_in_jsonb() [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE TRIGGER set_id_in_jsonb BEFORE INSERT OR UPDATE ON folio_shared_raml_module_builder.test_tenantapi FOR EACH ROW EXECUTE PROCEDURE folio_shared_raml_module_builder.set_id_in_jsonb() [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: ALTER TABLE folio_shared_raml_module_builder.test_tenantapi ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: ALTER TABLE folio_shared_raml_module_builder.test_tenantapi ADD COLUMN IF NOT EXISTS creation_date timestamp, ADD COLUMN IF NOT EXISTS created_by text [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: DROP TRIGGER IF EXISTS update_test_tenantapi_references ON folio_shared_raml_module_builder.test_tenantapi CASCADE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: DROP TRIGGER IF EXISTS update_test_tenantapi_references ON folio_shared_raml_module_builder.test_tenantapi CASCADE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: DROP FUNCTION IF EXISTS folio_shared_raml_module_builder.update_test_tenantapi_references() [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: DROP FUNCTION IF EXISTS folio_shared_raml_module_builder.update_test_tenantapi_references() [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.test_tenantapi_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone, normalize using ::timestamp createdDate = input::timestamp; ELSE -- createdDate has a time zone string -- normalize using ::timestamptz, convert to '+00' time zone and remove time zone string createdDate = input::timestamptz AT TIME ZONE '+00'; END IF; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(createdDate)); NEW.creation_date = createdDate; NEW.created_by = NEW.jsonb->'metadata'->>'createdByUserId'; RETURN NEW; END; $$ language 'plpgsql' [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.test_tenantapi_set_md() RETURNS TRIGGER AS $$ DECLARE input text; createdDate timestamp; BEGIN input = NEW.jsonb->'metadata'->>'createdDate'; IF input IS NULL THEN RETURN NEW; END IF; -- time stamp without time zone? IF (input::timestamp::timestamptz = input::timestamptz) THEN -- createdDate already has no time zone [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: DROP TRIGGER IF EXISTS set_test_tenantapi_md_trigger ON folio_shared_raml_module_builder.test_tenantapi CASCADE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: DROP TRIGGER IF EXISTS set_test_tenantapi_md_trigger ON folio_shared_raml_module_builder.test_tenantapi CASCADE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE TRIGGER set_test_tenantapi_md_trigger BEFORE INSERT ON folio_shared_raml_module_builder.test_tenantapi FOR EACH ROW EXECUTE PROCEDURE folio_shared_raml_module_builder.test_tenantapi_set_md() [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE TRIGGER set_test_tenantapi_md_trigger BEFORE INSERT ON folio_shared_raml_module_builder.test_tenantapi FOR EACH ROW EXECUTE PROCEDURE folio_shared_raml_module_builder.test_tenantapi_set_md() [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.set_test_tenantapi_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdByUserId}', to_jsonb(NEW.created_by)); end if; RETURN NEW; END; $$ language 'plpgsql' [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE OR REPLACE FUNCTION folio_shared_raml_module_builder.set_test_tenantapi_md_json() RETURNS TRIGGER AS $$ BEGIN if NEW.creation_date IS NULL then RETURN NEW; end if; NEW.jsonb = jsonb_set(NEW.jsonb, '{metadata,createdDate}', to_jsonb(NEW.creation_date)); if NEW.created_by IS NULL then NEW.jsonb = NEW.jsonb #- '{metadata,createdByUserId}'; else NEW.jsonb = jsonb_set(NEW [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: DROP TRIGGER IF EXISTS set_test_tenantapi_md_json_trigger ON folio_shared_raml_module_builder.test_tenantapi CASCADE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: DROP TRIGGER IF EXISTS set_test_tenantapi_md_json_trigger ON folio_shared_raml_module_builder.test_tenantapi CASCADE [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: CREATE TRIGGER set_test_tenantapi_md_json_trigger BEFORE UPDATE ON folio_shared_raml_module_builder.test_tenantapi FOR EACH ROW EXECUTE PROCEDURE folio_shared_raml_module_builder.set_test_tenantapi_md_json() [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: CREATE TRIGGER set_test_tenantapi_md_json_trigger BEFORE UPDATE ON folio_shared_raml_module_builder.test_tenantapi FOR EACH ROW EXECUTE PROCEDURE folio_shared_raml_module_builder.set_test_tenantapi_md_json() [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM folio_shared_raml_module_builder.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE format('DROP INDEX IF EXISTS %s', aname); END LOOP; END $$ [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: DO $$ DECLARE aname TEXT; BEGIN FOR aname IN SELECT name FROM folio_shared_raml_module_builder.rmb_internal_index WHERE remove = TRUE LOOP EXECUTE format('DROP INDEX IF EXISTS %s', aname); END LOOP; END $$ [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM folio_shared_raml_module_builder.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'folio_shared_raml_module_builder' LOOP newindexdef := regexp_replace(i.indexdef, -- \m = beginning of a word, \M = end of a word '\mpublic.(f_unaccent|gin_trgm_ops|concat_space_sql|concat_array_object_values|concat_array_object)\M', 'folio_shared_raml_module_builder.\1'); IF newindexdef <> i.indexdef THEN EXECUTE format('DROP INDEX %I.%I', i.schemaname, i.indexname); EXECUTE newindexdef; END IF; END LOOP; END $$ [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: DO $$ DECLARE version TEXT; i RECORD; newindexdef TEXT; BEGIN SELECT jsonb->>'rmbVersion' INTO version FROM folio_shared_raml_module_builder.rmb_internal; IF version !~ '^(\d\.|1\d\.|2[0-8]\.|29\.[0-3]\.)' THEN -- skip this upgrade if last install/upgrade was made by RMB >= 29.4.x RETURN; END IF; FOR i IN SELECT * FROM pg_catalog.pg_indexes WHERE schemaname = 'folio_shared_r [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA folio_shared_raml_module_builder TO folio_shared_raml_module_builder [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA folio_shared_raml_module_builder TO folio_shared_raml_module_builder [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO trying to execute: UPDATE folio_shared_raml_module_builder.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '29.5.0', 'moduleVersion', 'raml-module-builder-1.0.0', 'schemaJson', $mainftl${ "tables": [ { "tableName": "test_tenantapi", "withMetadata": true } ] } $mainftl$) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully executed: UPDATE folio_shared_raml_module_builder.rmb_internal SET jsonb = jsonb || jsonb_build_object( 'rmbVersion', '29.5.0', 'moduleVersion', 'raml-module-builder-1.0.0', 'schemaJson', $mainftl${ "tables": [ { "tableName": "test_tenantapi", "withMetadata": true } ] } $mainftl$) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Successfully committed: 812575156 [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient FINE execute timer: 812575156 took 73 ms [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking postTenant [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO 201, 201 expected status at 1588688107226 POST http://localhost:55231/_/tenant [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36716 POST /_/tenant null HTTP_1_1 201 3 2281 tid=folio_shared Created "[ ]" [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:07 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsTest(java.lang.String,io.vertx.ext.web.RoutingContext,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[nullpointer=true, io.vertx.ext.web.impl.RoutingContextImpl@5dd7545e, {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@466e3444, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON INFO loadDbSchema: Loaded templates/db_scripts/schema.json OK [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PgUtil SEVERE NULL java.lang.NullPointerException at org.folio.rest.tools.utils.TenantTool.tenantId(TenantTool.java:31) at org.folio.rest.persist.PgUtil.postgresClient(PgUtil.java:996) at org.folio.rest.persist.PgUtil.streamGet(PgUtil.java:590) at org.folio.rest.persist.PgUtil.streamGet(PgUtil.java:562) at org.folio.rest.impl.BooksDemoAPI.getRmbtestsTest(BooksDemoAPI.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.folio.rest.RestVerticle.invoke(RestVerticle.java:945) at org.folio.rest.RestVerticle.route(RestVerticle.java:536) at org.folio.rest.RestVerticle.lambda$1(RestVerticle.java:288) at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034) at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131) at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:54) at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:36) at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:50) at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:32) at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:136) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43) at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:232) at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:173) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.channelRead(Http1xUpgradeToH2CHandler.java:109) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:315) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:429) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:283) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61) at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO 500, 500 status expected: http://localhost:55231/rmbtests/test?query=nullpointer%3Dtrue [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO java.lang.NullPointerException [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:07 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsTest(java.lang.String,io.vertx.ext.web.RoutingContext,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[null, io.vertx.ext.web.impl.RoutingContextImpl@348b4ff6, {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@12929eb8, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON INFO loadDbSchema: Loaded templates/db_scripts/schema.json OK [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.LoadConfs INFO File does not exist: /postgres-conf.json [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.LoadConfs INFO Resource does not exist: /postgres-conf.json [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO No DB configuration found, using default config, port is already in use [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO Using schema: folio_shared [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO postgreSQLClientConfig = {"username":"folio_shared_raml_module_builder","password":"...","host":"127.0.0.1","port":6000,"database":"postgres","connectionReleaseDelay":60000} [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient INFO embedded postgres is already running... [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.cql.CQLWrapper INFO NONE >>> SQL: null >>>LIMIT 10 OFFSET 0 [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient FINE non audit table, no jsonb found in json [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 status expected: http://localhost:55231/rmbtests/test [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO { "books": [ ], "totalRecords": 0, "resultInfo": {"totalRecords":0,"facets":[],"diagnostics":[]} } [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:07 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsTest(java.lang.String,io.vertx.ext.web.RoutingContext,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[title=water, io.vertx.ext.web.impl.RoutingContextImpl@94f239d, {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@1c26bb70, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON INFO loadDbSchema: Loaded templates/db_scripts/schema.json OK [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON FINE index f_unaccent(test_tenantapi.jsonb->>'title') generated SQL to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON WARNING Doing FT search without index for test_tenantapi.jsonb->>'title', CQL >>> SQL: title = water >>> to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON FINE index f_unaccent(test_tenantapi.jsonb->>'title') generated SQL to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON WARNING Doing FT search without index for test_tenantapi.jsonb->>'title', CQL >>> SQL: title = water >>> to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.cql.CQLWrapper INFO CQL >>> SQL: title=water >>>WHERE to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) LIMIT 10 OFFSET 0 [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON FINE index f_unaccent(test_tenantapi.jsonb->>'title') generated SQL to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON WARNING Doing FT search without index for test_tenantapi.jsonb->>'title', CQL >>> SQL: title = water >>> to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON FINE index f_unaccent(test_tenantapi.jsonb->>'title') generated SQL to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON WARNING Doing FT search without index for test_tenantapi.jsonb->>'title', CQL >>> SQL: title = water >>> to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON FINE index f_unaccent(test_tenantapi.jsonb->>'title') generated SQL to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON WARNING Doing FT search without index for test_tenantapi.jsonb->>'title', CQL >>> SQL: title = water >>> to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON FINE index f_unaccent(test_tenantapi.jsonb->>'title') generated SQL to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON WARNING Doing FT search without index for test_tenantapi.jsonb->>'title', CQL >>> SQL: title = water >>> to_tsvector('simple', f_unaccent(test_tenantapi.jsonb->>'title')) @@ tsquery_phrase(f_unaccent('water')) [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient FINE non audit table, no jsonb found in json [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 status expected: http://localhost:55231/rmbtests/test?query=title%3Dwater [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO { "books": [ ], "totalRecords": 0, "resultInfo": {"totalRecords":0,"facets":[],"diagnostics":[]} } [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:07 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsTest(java.lang.String,io.vertx.ext.web.RoutingContext,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[a=, io.vertx.ext.web.impl.RoutingContextImpl@4fade6c, {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@60b051d5, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON INFO loadDbSchema: Loaded templates/db_scripts/schema.json OK [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE org.folio.cql2pgjson.exception.QueryValidationException: org.z3950.zing.cql.CQLParseException: expected index or term, got EOF org.folio.rest.persist.cql.CQLQueryValidationException: org.folio.cql2pgjson.exception.QueryValidationException: org.z3950.zing.cql.CQLParseException: expected index or term, got EOF at org.folio.rest.persist.cql.CQLWrapper.getWhereThis(CQLWrapper.java:177) at org.folio.rest.persist.cql.CQLWrapper.getWhereOp(CQLWrapper.java:204) at org.folio.rest.persist.cql.CQLWrapper.getWhereClause(CQLWrapper.java:227) at org.folio.rest.persist.cql.CQLWrapper.getWithoutLimOff(CQLWrapper.java:278) at org.folio.rest.persist.cql.CQLWrapper.toString(CQLWrapper.java:288) at org.folio.rest.persist.PostgresClient.buildQueryHelper(PostgresClient.java:1871) at org.folio.rest.persist.PostgresClient.doStreamGetCount(PostgresClient.java:1734) at org.folio.rest.persist.PostgresClient.doStreamGet(PostgresClient.java:1710) at org.folio.rest.persist.PostgresClient.lambda$39(PostgresClient.java:1682) at io.vertx.ext.asyncsql.impl.BaseSQLClient.lambda$getConnection$0(BaseSQLClient.java:64) at io.vertx.ext.asyncsql.impl.pool.AsyncConnectionPool.lambda$take$2(AsyncConnectionPool.java:189) at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774) at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750) at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) at io.vertx.ext.asyncsql.impl.VxContextAwareExecutor.lambda$execute$0(VxContextAwareExecutor.java:22) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) Caused by: org.folio.cql2pgjson.exception.QueryValidationException: org.z3950.zing.cql.CQLParseException: expected index or term, got EOF at org.folio.cql2pgjson.CQL2PgJSON.toSql(CQL2PgJSON.java:293) at org.folio.rest.persist.cql.CQLWrapper.getWhereThis(CQLWrapper.java:175) ... 23 more Caused by: org.z3950.zing.cql.CQLParseException: expected index or term, got EOF at org.z3950.zing.cql.CQLParser.matchSymbol(CQLParser.java:356) at org.z3950.zing.cql.CQLParser.parseTerm(CQLParser.java:236) at org.z3950.zing.cql.CQLParser.parseQuery(CQLParser.java:163) at org.z3950.zing.cql.CQLParser.parseTopLevelPrefixes(CQLParser.java:136) at org.z3950.zing.cql.CQLParser.parse(CQLParser.java:119) at org.folio.cql2pgjson.CQL2PgJSON.toSql(CQL2PgJSON.java:290) ... 24 more [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PgUtil SEVERE org.folio.cql2pgjson.exception.QueryValidationException: org.z3950.zing.cql.CQLParseException: expected index or term, got EOF org.folio.rest.persist.cql.CQLQueryValidationException: org.folio.cql2pgjson.exception.QueryValidationException: org.z3950.zing.cql.CQLParseException: expected index or term, got EOF at org.folio.rest.persist.cql.CQLWrapper.getWhereThis(CQLWrapper.java:177) at org.folio.rest.persist.cql.CQLWrapper.getWhereOp(CQLWrapper.java:204) at org.folio.rest.persist.cql.CQLWrapper.getWhereClause(CQLWrapper.java:227) at org.folio.rest.persist.cql.CQLWrapper.getWithoutLimOff(CQLWrapper.java:278) at org.folio.rest.persist.cql.CQLWrapper.toString(CQLWrapper.java:288) at org.folio.rest.persist.PostgresClient.buildQueryHelper(PostgresClient.java:1871) at org.folio.rest.persist.PostgresClient.doStreamGetCount(PostgresClient.java:1734) at org.folio.rest.persist.PostgresClient.doStreamGet(PostgresClient.java:1710) at org.folio.rest.persist.PostgresClient.lambda$39(PostgresClient.java:1682) at io.vertx.ext.asyncsql.impl.BaseSQLClient.lambda$getConnection$0(BaseSQLClient.java:64) at io.vertx.ext.asyncsql.impl.pool.AsyncConnectionPool.lambda$take$2(AsyncConnectionPool.java:189) at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774) at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750) at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) at io.vertx.ext.asyncsql.impl.VxContextAwareExecutor.lambda$execute$0(VxContextAwareExecutor.java:22) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) Caused by: org.folio.cql2pgjson.exception.QueryValidationException: org.z3950.zing.cql.CQLParseException: expected index or term, got EOF at org.folio.cql2pgjson.CQL2PgJSON.toSql(CQL2PgJSON.java:293) at org.folio.rest.persist.cql.CQLWrapper.getWhereThis(CQLWrapper.java:175) ... 23 more Caused by: org.z3950.zing.cql.CQLParseException: expected index or term, got EOF at org.z3950.zing.cql.CQLParser.matchSymbol(CQLParser.java:356) at org.z3950.zing.cql.CQLParser.parseTerm(CQLParser.java:236) at org.z3950.zing.cql.CQLParser.parseQuery(CQLParser.java:163) at org.z3950.zing.cql.CQLParser.parseTopLevelPrefixes(CQLParser.java:136) at org.z3950.zing.cql.CQLParser.parse(CQLParser.java:119) at org.folio.cql2pgjson.CQL2PgJSON.toSql(CQL2PgJSON.java:290) ... 24 more [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO 400, 400 status expected: http://localhost:55231/rmbtests/test?query=a%3D [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO org.folio.cql2pgjson.exception.QueryValidationException: org.z3950.zing.cql.CQLParseException: expected index or term, got EOF [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:07 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/test -------- bodyContent -------- { "data" : { "title" : "title", "description" : "description1", "datetime" : { }, "genre" : "g", "author" : "a", "link" : "link" }, "success" : true, "status" : 0 } [Tue May 05 16:15:07 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTest(org.folio.rest.jaxrs.model.Book,io.vertx.ext.web.RoutingContext,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[org.folio.rest.jaxrs.model.Book@25b3a29, io.vertx.ext.web.impl.RoutingContextImpl@7e782ef8, {x-okapi-request-id=999999999999, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@461af693, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient FINE save (with connection and id) called on test_tenantapi [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient FINE save timer: test_tenantapi took 8 ms [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking postRmbtestsTest [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO 201, 201 expected status at 1588688107275 POST http://localhost:55231/rmbtests/test [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36734 POST /rmbtests/test null HTTP_1_1 201 370 12 tid=folio_shared Created { "data" : { "title" : "title", "description" : "description1", "datetime" : { }, "genre" : "g", "author" : "a", "link" : "link" }, "id" : "20844ad1-23d3-40fb-a26e-9790c7020c7a", "success" : true, "status" : 0, "metadata" : { "createdDate" : "2020-05-05T14:15:07.264+0000", "updatedDate" : "2020-05-05T14:15:07.264+0000" } } [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:07 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsTest(java.lang.String,io.vertx.ext.web.RoutingContext,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[null, io.vertx.ext.web.impl.RoutingContextImpl@2cdd0e6b, {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@2af71698, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON INFO loadDbSchema: Loaded templates/db_scripts/schema.json OK [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.cql.CQLWrapper INFO NONE >>> SQL: null >>>LIMIT 10 OFFSET 0 [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient FINE non audit table, no jsonb found in json [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 status expected: http://localhost:55231/rmbtests/test [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO { "books": [ {"data":{"title":"title","description":"description1","datetime":{},"genre":"g","author":"a","link":"link"},"id":"20844ad1-23d3-40fb-a26e-9790c7020c7a","success":true,"status":0,"metadata":{"createdDate":"2020-05-05T14:15:07.264+0000","updatedDate":"2020-05-05T14:15:07.264+0000"}}], "totalRecords": 1, "resultInfo": {"totalRecords":1,"facets":[],"diagnostics":[]} } [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:07 CEST 2020] org.folio.rest.RestVerticle FINE /rmbtests/test -------- bodyContent -------- { "data" : { "title" : "title", "description" : "description2", "datetime" : { }, "genre" : "g", "author" : "a", "link" : "link" }, "success" : true, "status" : 0 } [Tue May 05 16:15:07 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.postRmbtestsTest(org.folio.rest.jaxrs.model.Book,io.vertx.ext.web.RoutingContext,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[org.folio.rest.jaxrs.model.Book@29853980, io.vertx.ext.web.impl.RoutingContextImpl@3a722e9e, {x-okapi-request-id=999999999999, x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@512311d6, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient FINE save (with connection and id) called on test_tenantapi [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient FINE save timer: test_tenantapi took 2 ms [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle start invoking postRmbtestsTest [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO 201, 201 expected status at 1588688107288 POST http://localhost:55231/rmbtests/test [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO 127.0.0.1:36738 POST /rmbtests/test null HTTP_1_1 201 370 5 tid=folio_shared Created { "data" : { "title" : "title", "description" : "description2", "datetime" : { }, "genre" : "g", "author" : "a", "link" : "link" }, "id" : "fcbc97d3-d005-49c1-a910-3a180b9947f6", "success" : true, "status" : 0, "metadata" : { "createdDate" : "2020-05-05T14:15:07.284+0000", "updatedDate" : "2020-05-05T14:15:07.284+0000" } } [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:07 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsTest(java.lang.String,io.vertx.ext.web.RoutingContext,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[null, io.vertx.ext.web.impl.RoutingContextImpl@2648e25f, {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@5ee20979, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON INFO loadDbSchema: Loaded templates/db_scripts/schema.json OK [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.cql.CQLWrapper INFO NONE >>> SQL: null >>>LIMIT 10 OFFSET 0 [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient FINE non audit table, no jsonb found in json [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 status expected: http://localhost:55231/rmbtests/test [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO { "books": [ {"data":{"title":"title","description":"description1","datetime":{},"genre":"g","author":"a","link":"link"},"id":"20844ad1-23d3-40fb-a26e-9790c7020c7a","success":true,"status":0,"metadata":{"createdDate":"2020-05-05T14:15:07.264+0000","updatedDate":"2020-05-05T14:15:07.264+0000"}}, {"data":{"title":"title","description":"description2","datetime":{},"genre":"g","author":"a","link":"link"},"id":"fcbc97d3-d005-49c1-a910-3a180b9947f6","success":true,"status":0,"metadata":{"createdDate":"2020-05-05T14:15:07.284+0000","updatedDate":"2020-05-05T14:15:07.284+0000"}}], "totalRecords": 2, "resultInfo": {"totalRecords":2,"facets":[],"diagnostics":[]} } [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:07 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsTest(java.lang.String,io.vertx.ext.web.RoutingContext,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[badclass=true, io.vertx.ext.web.impl.RoutingContextImpl@1e91f0fa, {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@4a39b382, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON INFO loadDbSchema: Loaded templates/db_scripts/schema.json OK [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.cql.CQLWrapper INFO NONE >>> SQL: null >>>LIMIT 10 OFFSET 0 [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient FINE non audit table, no jsonb found in json [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE Cannot deserialize instance of `java.lang.StringBuilder` out of START_OBJECT token at [Source: (String)"{"id": "20844ad1-23d3-40fb-a26e-9790c7020c7a", "data": {"link": "link", "genre": "g", "title": "title", "author": "a", "datetime": {}, "description": "description1"}, "status": 0, "success": true, "metadata": {"createdDate": "2020-05-05T14:15:07.264", "updatedDate": "2020-05-05T14:15:07.264+0000"}}"; line: 1, column: 1] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.lang.StringBuilder` out of START_OBJECT token at [Source: (String)"{"id": "20844ad1-23d3-40fb-a26e-9790c7020c7a", "data": {"link": "link", "genre": "g", "title": "title", "author": "a", "datetime": {}, "description": "description1"}, "status": 0, "success": true, "metadata": {"createdDate": "2020-05-05T14:15:07.264", "updatedDate": "2020-05-05T14:15:07.264+0000"}}"; line: 1, column: 1] at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59) at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1442) at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1216) at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1126) at com.fasterxml.jackson.databind.deser.std.FromStringDeserializer.deserialize(FromStringDeserializer.java:177) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4202) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3205) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3173) at org.folio.rest.persist.PostgresClient.deserializeRow(PostgresClient.java:2533) at org.folio.rest.persist.PostgresClient.lambda$43(PostgresClient.java:1790) at io.vertx.ext.asyncsql.impl.AsyncSQLRowStream.nextRow(AsyncSQLRowStream.java:104) at io.vertx.ext.asyncsql.impl.AsyncSQLRowStream.fetch(AsyncSQLRowStream.java:88) at io.vertx.ext.asyncsql.impl.AsyncSQLRowStream.resume(AsyncSQLRowStream.java:95) at io.vertx.ext.asyncsql.impl.AsyncSQLRowStream.handler(AsyncSQLRowStream.java:72) at org.folio.rest.persist.PostgresClient.doStreamRowResults(PostgresClient.java:1780) at org.folio.rest.persist.PostgresClient.lambda$41(PostgresClient.java:1764) at io.vertx.ext.asyncsql.impl.AsyncSQLConnectionImpl.lambda$handleAsyncQueryResultToRowStream$12(AsyncSQLConnectionImpl.java:338) at io.vertx.ext.asyncsql.impl.ConversionUtils.lambda$connectCompletableFutureWithHandler$4(ConversionUtils.java:97) at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774) at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750) at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) at io.vertx.ext.asyncsql.impl.VxContextAwareExecutor.lambda$execute$0(VxContextAwareExecutor.java:22) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 status expected: http://localhost:55231/rmbtests/test?query=badclass%3Dtrue [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO { "books": [ ], "totalRecords": 2, "resultInfo": {"totalRecords":2,"facets":[],"diagnostics":[{"code":"500","message":"Cannot deserialize instance of `java.lang.StringBuilder` out of START_OBJECT token\n at [Source: (String)\"{\"id\": \"20844ad1-23d3-40fb-a26e-9790c7020c7a\", \"data\": {\"link\": \"link\", \"genre\": \"g\", \"title\": \"title\", \"author\": \"a\", \"datetime\": {}, \"description\": \"description1\"}, \"status\": 0, \"success\": true, \"metadata\": {\"createdDate\": \"2020-05-05T14:15:07.264\", \"updatedDate\": \"2020-05-05T14:15:07.264+0000\"}}\"; line: 1, column: 1]"}]} } [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.InterfaceToImpl FINE returned 1 class/es from cache [Tue May 05 16:15:07 CEST 2020] org.folio.rest.annotations.RestValidator FINE Valid call: with args public void org.folio.rest.impl.BooksDemoAPI.getRmbtestsTest(java.lang.String,io.vertx.ext.web.RoutingContext,java.util.Map,io.vertx.core.Handler,io.vertx.core.Context)[slim=true, io.vertx.ext.web.impl.RoutingContextImpl@626959b3, {x-okapi-tenant=folio_shared}, org.folio.rest.RestVerticle$$Lambda$695/1954680589@15155650, io.vertx.core.impl.EventLoopContext@5014066e] [Tue May 05 16:15:07 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON INFO loadDbSchema: Loaded templates/db_scripts/schema.json OK [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.cql.CQLWrapper INFO NONE >>> SQL: null >>>LIMIT 10 OFFSET 0 [Tue May 05 16:15:07 CEST 2020] org.folio.rest.persist.PostgresClient FINE non audit table, no jsonb found in json [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO 200, 200 status expected: http://localhost:55231/rmbtests/test?query=slim%3Dtrue [Tue May 05 16:15:07 CEST 2020] org.folio.DemoRamlRestTest INFO { "books": [ {"id":"20844ad1-23d3-40fb-a26e-9790c7020c7a","status":0}, {"id":"fcbc97d3-d005-49c1-a910-3a180b9947f6","status":0}], "totalRecords": 2, "resultInfo": {"totalRecords":2,"facets":[],"diagnostics":[]} } [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.persist.PostgresClient stopEmbeddedPostgres called stop on embedded postgress ... [Tue May 05 16:15:07 CEST 2020] org.folio.rest.tools.utils.LogUtil INFO org.folio.rest.RestVerticle runShutdownHook no shutdown hook implementation found, continuing with shutdown [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.813 s - in org.folio.DemoRamlRestTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 212, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-resources) @ domain-models-runtime --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 112 resources [INFO] [INFO] --- maven-antrun-plugin:1.8:run (default) @ domain-models-runtime --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ domain-models-runtime --- [INFO] Building jar: /home/adam/folio/raml-module-builder/domain-models-runtime/target/domain-models-runtime-29.5.0-SNAPSHOT.jar [INFO] [INFO] --- maven-shade-plugin:2.4:shade (default) @ domain-models-runtime --- [INFO] Including javax.ws.rs:javax.ws.rs-api:jar:2.0.1 in the shaded jar. [INFO] Including org.glassfish.jersey.media:jersey-media-json-jackson:jar:2.29.1 in the shaded jar. [INFO] Including org.glassfish.jersey.core:jersey-common:jar:2.29.1 in the shaded jar. [INFO] Including jakarta.ws.rs:jakarta.ws.rs-api:jar:2.1.6 in the shaded jar. [INFO] Including jakarta.annotation:jakarta.annotation-api:jar:1.3.5 in the shaded jar. [INFO] Including org.glassfish.hk2.external:jakarta.inject:jar:2.6.1 in the shaded jar. [INFO] Including org.glassfish.hk2:osgi-resource-locator:jar:1.0.3 in the shaded jar. [INFO] Including org.glassfish.jersey.ext:jersey-entity-filtering:jar:2.29.1 in the shaded jar. [INFO] Including com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.9.9 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.10.1 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-databind:jar:2.10.1 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.10.1 in the shaded jar. [INFO] Including io.vertx:vertx-web:jar:3.8.5 in the shaded jar. [INFO] Including io.vertx:vertx-web-common:jar:3.8.5 in the shaded jar. [INFO] Including io.vertx:vertx-auth-common:jar:3.8.5 in the shaded jar. [INFO] Including io.vertx:vertx-bridge-common:jar:3.8.5 in the shaded jar. [INFO] Including io.vertx:vertx-core:jar:3.8.5 in the shaded jar. [INFO] Including io.netty:netty-common:jar:4.1.42.Final in the shaded jar. [INFO] Including io.netty:netty-buffer:jar:4.1.42.Final in the shaded jar. [INFO] Including io.netty:netty-transport:jar:4.1.42.Final in the shaded jar. [INFO] Including io.netty:netty-handler:jar:4.1.42.Final in the shaded jar. [INFO] Including io.netty:netty-codec:jar:4.1.42.Final in the shaded jar. [INFO] Including io.netty:netty-handler-proxy:jar:4.1.42.Final in the shaded jar. [INFO] Including io.netty:netty-codec-socks:jar:4.1.42.Final in the shaded jar. [INFO] Including io.netty:netty-codec-http:jar:4.1.42.Final in the shaded jar. [INFO] Including io.netty:netty-codec-http2:jar:4.1.42.Final in the shaded jar. [INFO] Including io.netty:netty-resolver:jar:4.1.42.Final in the shaded jar. [INFO] Including io.netty:netty-resolver-dns:jar:4.1.42.Final in the shaded jar. [INFO] Including io.netty:netty-codec-dns:jar:4.1.42.Final in the shaded jar. [INFO] Including com.google.guava:guava:jar:19.0 in the shaded jar. [INFO] Including org.folio:domain-models-api-interfaces:jar:29.5.0-SNAPSHOT in the shaded jar. [INFO] Including javax.mail:mailapi:jar:1.4.3 in the shaded jar. [INFO] Including javax.activation:activation:jar:1.1 in the shaded jar. [INFO] Including org.folio:domain-models-api-aspects:jar:29.5.0-SNAPSHOT in the shaded jar. [INFO] Including org.aspectj:aspectjrt:jar:1.9.4 in the shaded jar. [INFO] Including org.javassist:javassist:jar:3.20.0-GA in the shaded jar. [INFO] Including org.folio:domain-models-interface-extensions:jar:29.5.0-SNAPSHOT in the shaded jar. [INFO] Including org.raml.jaxrs:jaxrs-code-generator:jar:3.0.2 in the shaded jar. [INFO] Including org.raml:raml-parser-2:jar:1.0.9 in the shaded jar. [INFO] Including org.raml:yagi:jar:1.0.9 in the shaded jar. [INFO] Including org.yaml:snakeyaml:jar:1.15 in the shaded jar. [INFO] Including com.fasterxml.jackson.module:jackson-module-jsonSchema:jar:2.4.4 in the shaded jar. [INFO] Including com.github.fge:json-schema-validator:jar:2.2.6 in the shaded jar. [INFO] Including com.googlecode.libphonenumber:libphonenumber:jar:6.2 in the shaded jar. [INFO] Including com.github.fge:json-schema-core:jar:1.2.5 in the shaded jar. [INFO] Including com.github.fge:uri-template:jar:0.9 in the shaded jar. [INFO] Including com.github.fge:msg-simple:jar:1.1 in the shaded jar. [INFO] Including com.github.fge:btf:jar:1.2 in the shaded jar. [INFO] Including com.github.fge:jackson-coreutils:jar:1.8 in the shaded jar. [INFO] Including org.mozilla:rhino:jar:1.7R4 in the shaded jar. [INFO] Including net.sf.jopt-simple:jopt-simple:jar:4.6 in the shaded jar. [INFO] Including com.googlecode.juniversalchardet:juniversalchardet:jar:1.0.3 in the shaded jar. [INFO] Including org.apache.ws.xmlschema:xmlschema-core:jar:2.2.1 in the shaded jar. [INFO] Including org.raml:raml-to-pojo:jar:1.0.2 in the shaded jar. [INFO] Including org.raml:test-utils:jar:1.0.2 in the shaded jar. [INFO] Including com.google.code.gson:gson:jar:2.5 in the shaded jar. [INFO] Including org.codehaus.jackson:jackson-mapper-asl:jar:1.9.1 in the shaded jar. [INFO] Including org.codehaus.jackson:jackson-core-asl:jar:1.9.1 in the shaded jar. [INFO] Including com.squareup:javapoet:jar:1.7.0 in the shaded jar. [INFO] Including commons-cli:commons-cli:jar:1.3.1 in the shaded jar. [INFO] Including org.jsonschema2pojo:jsonschema2pojo-core:jar:0.5.1 in the shaded jar. [INFO] Including org.jsonschema2pojo:jsonschema2pojo-scalagen:jar:0.5.1 in the shaded jar. [INFO] Including net.sourceforge.collections:collections-generic:jar:4.01 in the shaded jar. [INFO] Including com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.9.9 in the shaded jar. [INFO] Including org.scala-lang:scala-library:jar:2.11.6 in the shaded jar. [INFO] Including com.google.code.javaparser:javaparser:jar:1.0.10 in the shaded jar. [INFO] Including com.google.code.findbugs:jsr305:jar:3.0.1 in the shaded jar. [INFO] Including com.squareup.moshi:moshi:jar:1.5.0 in the shaded jar. [INFO] Including com.squareup.okio:okio:jar:1.13.0 in the shaded jar. [INFO] Including commons-lang:commons-lang:jar:2.6 in the shaded jar. [INFO] Including com.google.code.findbugs:annotations:jar:1.3.9 in the shaded jar. [INFO] Including org.hamcrest:hamcrest-all:jar:1.3 in the shaded jar. [INFO] Including org.folio:util:jar:29.5.0-SNAPSHOT in the shaded jar. [INFO] Including org.apache.maven:maven-model:jar:3.3.9 in the shaded jar. [INFO] Including org.codehaus.plexus:plexus-utils:jar:3.0.22 in the shaded jar. [INFO] Including xpp3:xpp3:jar:1.1.4c in the shaded jar. [INFO] Including com.github.javaparser:javaparser-core:jar:3.3.0 in the shaded jar. [INFO] Including com.sun.codemodel:codemodel:jar:2.6 in the shaded jar. [INFO] Including com.sun.xml.bind:jaxb-xjc:jar:2.1.6 in the shaded jar. [INFO] Including com.sun.xml.bind:jaxb-impl:jar:2.1.6 in the shaded jar. [INFO] Including javax.xml.bind:jaxb-api:jar:2.1 in the shaded jar. [INFO] Including javax.xml.stream:stax-api:jar:1.0-2 in the shaded jar. [INFO] Including org.hibernate:hibernate-validator:jar:5.2.4.Final in the shaded jar. [INFO] Including org.jboss.logging:jboss-logging:jar:3.2.1.Final in the shaded jar. [INFO] Including com.fasterxml:classmate:jar:1.1.0 in the shaded jar. [INFO] Including javax.el:javax.el-api:jar:2.2.4 in the shaded jar. [INFO] Including org.folio:cql2pgjson:jar:29.5.0-SNAPSHOT in the shaded jar. [INFO] Including org.folio:dbschema:jar:29.5.0-SNAPSHOT in the shaded jar. [INFO] Including org.folio.okapi:okapi-common:jar:2.35.0 in the shaded jar. [INFO] Including org.apache.commons:commons-lang3:jar:3.8.1 in the shaded jar. [INFO] Including org.json:json:jar:20180813 in the shaded jar. [INFO] Including org.z3950.zing:cql-java:jar:1.13 in the shaded jar. [INFO] Including javax.validation:validation-api:jar:1.1.0.Final in the shaded jar. [INFO] Including io.vertx:vertx-dropwizard-metrics:jar:3.8.5 in the shaded jar. [INFO] Including io.dropwizard.metrics:metrics-core:jar:4.0.2 in the shaded jar. [INFO] Including ru.yandex.qatools.embed:postgresql-embedded:jar:2.9 in the shaded jar. [INFO] Including de.flapdoodle.embed:de.flapdoodle.embed.process:jar:2.0.2 in the shaded jar. [INFO] Including net.java.dev.jna:jna:jar:4.0.0 in the shaded jar. [INFO] Including net.java.dev.jna:jna-platform:jar:4.0.0 in the shaded jar. [INFO] Including org.apache.commons:commons-compress:jar:1.10 in the shaded jar. [INFO] Including org.slf4j:slf4j-api:jar:1.7.10 in the shaded jar. [INFO] Including org.folio:rules:jar:29.5.0-SNAPSHOT in the shaded jar. [INFO] Including org.drools:drools-core:jar:6.4.0.Final in the shaded jar. [INFO] Including org.mvel:mvel2:jar:2.2.8.Final in the shaded jar. [INFO] Including org.kie:kie-api:jar:6.4.0.Final in the shaded jar. [INFO] Including org.kie:kie-internal:jar:6.4.0.Final in the shaded jar. [INFO] Including commons-codec:commons-codec:jar:1.4 in the shaded jar. [INFO] Including org.drools:drools-compiler:jar:6.4.0.Final in the shaded jar. [INFO] Including org.antlr:antlr-runtime:jar:3.5 in the shaded jar. [INFO] Including org.eclipse.jdt.core.compiler:ecj:jar:4.4.2 in the shaded jar. [INFO] Including com.thoughtworks.xstream:xstream:jar:1.4.9 in the shaded jar. [INFO] Including com.google.protobuf:protobuf-java:jar:2.6.0 in the shaded jar. [INFO] Including org.drools:drools-verifier:jar:6.4.0.Final in the shaded jar. [INFO] Including com.lowagie:itext:jar:2.1.2 in the shaded jar. [INFO] Including org.postgresql:postgresql:jar:9.4.1209 in the shaded jar. [INFO] Including io.vertx:vertx-mysql-postgresql-client-jasync:jar:3.8.5 in the shaded jar. [INFO] Including io.vertx:vertx-sql-common:jar:3.8.5 in the shaded jar. [INFO] Including com.github.jasync-sql:jasync-postgresql:jar:0.9.51 in the shaded jar. [INFO] Including com.github.jasync-sql:jasync-common:jar:0.9.51 in the shaded jar. [INFO] Including org.jetbrains.kotlinx:kotlinx-coroutines-core:jar:1.1.1 in the shaded jar. [INFO] Including org.jetbrains.kotlinx:kotlinx-coroutines-core-common:jar:1.1.1 in the shaded jar. [INFO] Including org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:jar:1.1.1 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.3.21 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib:jar:1.3.21 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.3.21 in the shaded jar. [INFO] Including org.jetbrains:annotations:jar:13.0 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib-jdk7:jar:1.3.21 in the shaded jar. [INFO] Including joda-time:joda-time:jar:2.9.7 in the shaded jar. [INFO] Including org.joda:joda-convert:jar:1.8.1 in the shaded jar. [INFO] Including io.github.microutils:kotlin-logging:jar:1.6.23 in the shaded jar. [INFO] Including io.github.microutils:kotlin-logging-common:jar:1.6.23 in the shaded jar. [INFO] Including com.github.jasync-sql:jasync-mysql:jar:0.9.51 in the shaded jar. [INFO] Including commons-io:commons-io:jar:2.6 in the shaded jar. [INFO] Including org.apache.commons:commons-collections4:jar:4.1 in the shaded jar. [INFO] Including org.freemarker:freemarker:jar:2.3.29 in the shaded jar. [INFO] Including org.apache.logging.log4j:log4j-core:jar:2.9.1 in the shaded jar. [INFO] Including org.apache.logging.log4j:log4j-api:jar:2.9.1 in the shaded jar. [INFO] Including org.apache.logging.log4j:log4j-1.2-api:jar:2.9.1 in the shaded jar. [INFO] No artifact matching filter commons-collections:commons-collections [WARNING] javax.ws.rs-api-2.0.1.jar, jakarta.ws.rs-api-2.1.6.jar define 123 overlapping classes: [WARNING] - javax.ws.rs.ext.RuntimeDelegate$HeaderDelegate [WARNING] - javax.ws.rs.DefaultValue [WARNING] - javax.ws.rs.core.StreamingOutput [WARNING] - javax.ws.rs.HEAD [WARNING] - javax.ws.rs.core.Request [WARNING] - javax.ws.rs.ext.WriterInterceptor [WARNING] - javax.ws.rs.ext.Providers [WARNING] - javax.ws.rs.container.Suspended [WARNING] - javax.ws.rs.container.ConnectionCallback [WARNING] - javax.ws.rs.client.FactoryFinder [WARNING] - 113 more... [WARNING] jackson-core-2.10.1.jar, jackson-annotations-2.10.1.jar, jakarta.ws.rs-api-2.1.6.jar, jackson-databind-2.10.1.jar define 1 overlapping classes: [WARNING] - module-info [WARNING] maven-shade-plugin has detected that some class files are [WARNING] present in two or more JARs. When this happens, only one [WARNING] single version of the class is copied to the uber jar. [WARNING] Usually this is not harmful and you can skip these warnings, [WARNING] otherwise try to manually exclude artifacts based on [WARNING] mvn dependency:tree -Ddetail=true and the above output. [WARNING] See http://docs.codehaus.org/display/MAVENUSER/Shade+Plugin [INFO] [INFO] --- exec-maven-plugin:1.6.0:exec (start-postgres) @ domain-models-runtime --- [INFO] [INFO] --- exec-maven-plugin:1.6.0:java (wait-for-postgres) @ domain-models-runtime --- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Extract /home/adam/.embedpostgresql/postgresql-10.3-1-linux-x64-binaries.tar.gz START ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Extract /home/adam/.embedpostgresql/postgresql-10.3-1-linux-x64-binaries.tar.gz DONE [INFO] [INFO] --- maven-failsafe-plugin:2.22.1:integration-test (integration-test) @ domain-models-runtime --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.folio.rest.persist.PostgresClientIT SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Attempting to read in the module name from..../home/adam/.m2/repository/org/folio/domain-models-interface-extensions/29.5.0-SNAPSHOT/domain-models-interface-extensions-29.5.0-SNAPSHOT.jar [Tue May 05 16:15:17 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE select single sql: null - SELECT 1 java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.selectSingle(PostgresClient.java:2822) at org.folio.rest.persist.PostgresClientIT.selectSingleParamTxException(PostgresClientIT.java:2183) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:17 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.saveAndReturnUpdatedEntity(PostgresClient.java:951) at org.folio.rest.persist.PostgresClient.lambda$10(PostgresClient.java:737) at org.folio.rest.persist.PostgresClientIT$3.getConnection(PostgresClientIT.java:1514) at org.folio.rest.persist.PostgresClient.saveAndReturnUpdatedEntity(PostgresClient.java:737) at org.folio.rest.persist.PostgresClientIT.saveAndReturnUpdatedEntityNullConnection(PostgresClientIT.java:1211) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:17 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE postgresClientQueryFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientQueryFails [Tue May 05 16:15:17 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE postgresClientGetConnectionFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientGetConnectionFails [Tue May 05 16:15:17 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE Opening SQLConnection failed: postgresClientGetConnectionFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientGetConnectionFails [Tue May 05 16:15:17 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE query with count: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42601), (Message, unterminated quoted string at or near "'"), (Position, 1), (File, scan.l), (Line, 1087), (Routine, scanner_yyerror)]) - ' com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42601), (Message, unterminated quoted string at or near "'"), (Position, 1), (File, scan.l), (Line, 1087), (Routine, scanner_yyerror)]) at com.github.jasync.sql.db.postgresql.PostgreSQLConnection.onError(PostgreSQLConnection.kt:229) at com.github.jasync.sql.db.postgresql.codec.PostgreSQLConnectionHandler.channelRead0(PostgreSQLConnectionHandler.kt:199) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [Tue May 05 16:15:17 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE select single sql: null - SELECT 1 java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.selectSingle(PostgresClient.java:2783) at org.folio.rest.persist.PostgresClientIT.selectSingleTxException(PostgresClientIT.java:2178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.execute(PostgresClient.java:3095) at org.folio.rest.persist.PostgresClientIT.executeListTransNull(PostgresClientIT.java:1983) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE Opening SQLConnection failed: postgresClientGetConnectionFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientGetConnectionFails [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.lambda$21(PostgresClient.java:1236) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.lambda$25(PostgresClient.java:1305) at org.folio.rest.persist.PostgresClientIT$3.getConnection(PostgresClientIT.java:1514) at org.folio.rest.persist.PostgresClient.lambda$24(PostgresClient.java:1294) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE postgresClientGetConnectionFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientGetConnectionFails [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE Opening SQLConnection failed: postgresClientGetConnectionFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientGetConnectionFails [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE Opening SQLConnection failed: postgresClientGetConnectionFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientGetConnectionFails [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE postgresClientGetConnectionFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientGetConnectionFails [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE select sql: null - SELECT 1 java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.select(PostgresClient.java:2747) at org.folio.rest.persist.PostgresClientIT.selectParamTxException(PostgresClientIT.java:2173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient WARNING EXPLAIN ANALYZE SELECT i FROM numbers WHERE i IN (1, 3, 5) ORDER BY i Sort (cost=46.06..46.15 rows=38 width=4) (actual time=0.029..0.030 rows=2 loops=1) Sort Key: i Sort Method: quicksort Memory: 25kB -> Seq Scan on numbers (cost=0.00..45.06 rows=38 width=4) (actual time=0.009..0.012 rows=2 loops=1) Filter: (i = ANY ('{1,3,5}'::integer[])) Rows Removed by Filter: 1 Planning time: 0.091 ms Execution time: 0.063 ms [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at java.util.regex.Matcher.getTextLength(Matcher.java:1283) at java.util.regex.Matcher.reset(Matcher.java:309) at java.util.regex.Matcher.(Matcher.java:229) at java.util.regex.Pattern.matcher(Pattern.java:1093) at org.folio.rest.persist.PostgresClient.splitSqlStatements(PostgresClient.java:3309) at org.folio.rest.persist.PostgresClient.preprocessSqlStatements(PostgresClient.java:3323) at org.folio.rest.persist.PostgresClient.runSQLFile(PostgresClient.java:3391) at org.folio.rest.persist.PostgresClient.runSQLFile(PostgresClient.java:3375) at org.folio.rest.persist.PostgresClientIT.runSQLNull(PostgresClientIT.java:1989) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.RuntimeException at org.folio.rest.persist.PostgresClientIT$5.update(PostgresClientIT.java:1576) at org.folio.rest.persist.PostgresClient.lambda$71(PostgresClient.java:2934) at org.folio.rest.persist.PostgresClientIT$6.getConnection(PostgresClientIT.java:1598) at org.folio.rest.persist.PostgresClient.execute(PostgresClient.java:2927) at org.folio.rest.persist.PostgresClientIT.executeConnectionThrowsException(PostgresClientIT.java:1783) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.save(PostgresClient.java:910) at org.folio.rest.persist.PostgresClient.lambda$9(PostgresClient.java:725) at org.folio.rest.persist.PostgresClientIT$3.getConnection(PostgresClientIT.java:1514) at org.folio.rest.persist.PostgresClient.save(PostgresClient.java:725) at org.folio.rest.persist.PostgresClientIT.saveConnectionNullConnection(PostgresClientIT.java:1173) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.execute(PostgresClient.java:3063) at org.folio.rest.persist.PostgresClientIT.lambda$157(PostgresClientIT.java:1935) at org.folio.rest.persist.PostgresClientIT.lambda$0(PostgresClientIT.java:151) at org.folio.rest.persist.PostgresClient.lambda$2(PostgresClient.java:598) at io.vertx.core.impl.SucceededFuture.setHandler(SucceededFuture.java:41) at io.vertx.ext.asyncsql.impl.AsyncSQLConnectionImpl.setAutoCommit(AsyncSQLConnectionImpl.java:90) at org.folio.rest.persist.PostgresClient.lambda$1(PostgresClient.java:593) at io.vertx.ext.asyncsql.impl.BaseSQLClient.lambda$getConnection$0(BaseSQLClient.java:64) at io.vertx.ext.asyncsql.impl.pool.AsyncConnectionPool$1.handle(AsyncConnectionPool.java:90) at io.vertx.ext.asyncsql.impl.pool.AsyncConnectionPool$1.handle(AsyncConnectionPool.java:84) at io.vertx.ext.asyncsql.impl.pool.AsyncConnectionPool.lambda$createAndConnect$0(AsyncConnectionPool.java:117) at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774) at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750) at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) at io.vertx.ext.asyncsql.impl.VxContextAwareExecutor.lambda$execute$0(VxContextAwareExecutor.java:22) at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369) at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518) at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.lambda$1(PostgresClient.java:593) at org.folio.rest.persist.PostgresClientIT$3.getConnection(PostgresClientIT.java:1514) at org.folio.rest.persist.PostgresClient.startTx(PostgresClient.java:589) at org.folio.rest.persist.PostgresClientIT.startTxNullConnection(PostgresClientIT.java:1247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.lambda$73(PostgresClient.java:2968) at org.folio.rest.persist.PostgresClientIT$3.getConnection(PostgresClientIT.java:1514) at org.folio.rest.persist.PostgresClient.execute(PostgresClient.java:2961) at org.folio.rest.persist.PostgresClientIT.executeParamNullConnection(PostgresClientIT.java:1810) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:18 CEST 2020] org.folio.rest.persist.PostgresClientIT SEVERE started saveBatchXTrans2 [Tue May 05 16:15:19 CEST 2020] org.folio.cql2pgjson.CQL2PgJSON SEVERE loadDbSchema loadDbSchema(): Table jsonb NOT FOUND [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE select stream sql: null - SELECT 1 java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.selectStream(PostgresClient.java:2857) at org.folio.rest.persist.PostgresClientIT.selectStreamTxException(PostgresClientIT.java:2188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.processQueryWithCount(PostgresClient.java:1903) at org.folio.rest.persist.PostgresClient.doGet(PostgresClient.java:1594) at org.folio.rest.persist.PostgresClient.lambda$33(PostgresClient.java:1539) at org.folio.rest.persist.PostgresClientIT$3.getConnection(PostgresClientIT.java:1514) at org.folio.rest.persist.PostgresClient.get(PostgresClient.java:1538) at org.folio.rest.persist.PostgresClient.get(PostgresClient.java:1514) at org.folio.rest.persist.PostgresClient.get(PostgresClient.java:1493) at org.folio.rest.persist.PostgresClient.get(PostgresClient.java:2092) at org.folio.rest.persist.PostgresClient.get(PostgresClient.java:2114) at org.folio.rest.persist.PostgresClientIT.getByIdNullConnection(PostgresClientIT.java:1275) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient WARNING EXPLAIN ANALYZE SELECT i FROM numbers WHERE i IN (4, 6, 8) ORDER BY i Sort (cost=46.06..46.15 rows=38 width=4) (actual time=0.005..0.005 rows=2 loops=1) Sort Key: i Sort Method: quicksort Memory: 25kB -> Seq Scan on numbers (cost=0.00..45.06 rows=38 width=4) (actual time=0.002..0.002 rows=2 loops=1) Filter: (i = ANY ('{4,6,8}'::integer[])) Rows Removed by Filter: 1 Planning time: 0.017 ms Execution time: 0.012 ms [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.lambda$1(PostgresClient.java:593) at org.folio.rest.persist.PostgresClientIT$3.getConnection(PostgresClientIT.java:1514) at org.folio.rest.persist.PostgresClient.startTx(PostgresClient.java:589) at org.folio.rest.persist.PostgresClient.execute(PostgresClient.java:3131) at org.folio.rest.persist.PostgresClientIT.executeListNullConnection(PostgresClientIT.java:1968) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE Unrecognized field "dummy" (class org.folio.rest.persist.PostgresClientIT$StringPojo), not marked as ignorable (2 known properties: "id", "key"]) at [Source: (String)"{"dummy":"dummy"}"; line: 1, column: 11] (through reference chain: org.folio.rest.persist.PostgresClientIT$StringPojo["dummy"]) com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "dummy" (class org.folio.rest.persist.PostgresClientIT$StringPojo), not marked as ignorable (2 known properties: "id", "key"]) at [Source: (String)"{"dummy":"dummy"}"; line: 1, column: 11] (through reference chain: org.folio.rest.persist.PostgresClientIT$StringPojo["dummy"]) at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61) at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:840) at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1192) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1592) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1570) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4202) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3205) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3173) at org.folio.rest.persist.PostgresClient.lambda$17(PostgresClient.java:961) at org.folio.rest.persist.PostgresClientIT$9.queryWithParams(PostgresClientIT.java:1694) at org.folio.rest.persist.PostgresClient.saveAndReturnUpdatedEntity(PostgresClient.java:951) at org.folio.rest.persist.PostgresClient.lambda$10(PostgresClient.java:737) at org.folio.rest.persist.PostgresClientIT$10.getConnection(PostgresClientIT.java:1711) at org.folio.rest.persist.PostgresClient.saveAndReturnUpdatedEntity(PostgresClient.java:737) at org.folio.rest.persist.PostgresClientIT.saveAndReturnUpdatedEntityQueryReturnBadResults(PostgresClientIT.java:1229) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE postgresClientQueryFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientQueryFails [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE select sql: null - SELECT 1 java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.select(PostgresClient.java:2707) at org.folio.rest.persist.PostgresClientIT.selectTxException(PostgresClientIT.java:2168) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE select stream sql: null - SELECT 1 java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.selectStream(PostgresClient.java:2892) at org.folio.rest.persist.PostgresClientIT.selectStreamParamTxException(PostgresClientIT.java:2193) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE postgresClientGetConnectionFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientGetConnectionFails [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE Opening SQLConnection failed: postgresClientGetConnectionFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientGetConnectionFails [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE postgresClientQueryFails io.vertx.core.impl.NoStackTraceThrowable: postgresClientQueryFails [Tue May 05 16:15:19 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.RuntimeException at org.folio.rest.persist.PostgresClientIT$5.updateWithParams(PostgresClientIT.java:1582) at org.folio.rest.persist.PostgresClient.lambda$73(PostgresClient.java:2968) at org.folio.rest.persist.PostgresClientIT$6.getConnection(PostgresClientIT.java:1598) at org.folio.rest.persist.PostgresClient.execute(PostgresClient.java:2961) at org.folio.rest.persist.PostgresClientIT.executeParamConnectionException(PostgresClientIT.java:1815) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:15:50 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.lambda$71(PostgresClient.java:2934) at org.folio.rest.persist.PostgresClientIT$3.getConnection(PostgresClientIT.java:1514) at org.folio.rest.persist.PostgresClient.execute(PostgresClient.java:2927) at org.folio.rest.persist.PostgresClientIT.executeNullConnection(PostgresClientIT.java:1773) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:16:00 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.execute(PostgresClient.java:3033) at org.folio.rest.persist.PostgresClientIT.executeTransNullConnection(PostgresClientIT.java:1874) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [Tue May 05 16:16:15 CEST 2020] org.folio.rest.persist.PostgresClient SEVERE NULL java.lang.NullPointerException at org.folio.rest.persist.PostgresClient.saveBatchInternal(PostgresClient.java:1054) at org.folio.rest.persist.PostgresClient.saveBatch(PostgresClient.java:1116) at org.folio.rest.persist.PostgresClient.lambda$20(PostgresClient.java:1085) at org.folio.rest.persist.PostgresClientIT$3.getConnection(PostgresClientIT.java:1514) at org.folio.rest.persist.PostgresClient.saveBatch(PostgresClient.java:1085) at org.folio.rest.persist.PostgresClientIT.saveBatchNullConnection(PostgresClientIT.java:1022) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeTestMethod(VertxUnitRunner.java:95) at io.vertx.ext.unit.junit.VertxUnitRunner.lambda$invokeExplosively$0(VertxUnitRunner.java:114) at io.vertx.ext.unit.impl.TestContextImpl.run(TestContextImpl.java:90) at io.vertx.ext.unit.junit.VertxUnitRunner.invokeExplosively(VertxUnitRunner.java:130) at io.vertx.ext.unit.junit.VertxUnitRunner.access$000(VertxUnitRunner.java:39) at io.vertx.ext.unit.junit.VertxUnitRunner$1.evaluate(VertxUnitRunner.java:84) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at io.vertx.ext.unit.junit.Timeout$1.evaluate(Timeout.java:45) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at io.vertx.ext.unit.junit.VertxUnitRunner$2.evaluate(VertxUnitRunner.java:196) at io.vertx.ext.unit.junit.VertxUnitRunner$3.evaluate(VertxUnitRunner.java:211) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:43) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:82) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:73) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:117) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [ERROR] Tests run: 192, Failures: 0, Errors: 118, Skipped: 0, Time elapsed: 93.608 s <<< FAILURE! - in org.folio.rest.persist.PostgresClientIT [ERROR] save6noUpsert Time elapsed: 0.031 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchEmpty Time elapsed: 0.015 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getDistinctOn Time elapsed: 0.015 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] updateSectionCriterion Time elapsed: 0.038 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdsNotFound Time elapsed: 0.04 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] deleteByCriterionNullConnection Time elapsed: 0.016 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByCriterionWithIdColumn Time elapsed: 0.016 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] deleteByCriterionThatThrowsException Time elapsed: 0.014 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdsEmpty Time elapsed: 0.015 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetQuerySingleError Time elapsed: 0.034 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdEmpty Time elapsed: 0.026 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetExceptionInEndHandler2 Time elapsed: 0.017 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetLegacyFilter Time elapsed: 0.015 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdsNull Time elapsed: 0.014 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdsPojo Time elapsed: 0.023 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveTransIdNull Time elapsed: 0.036 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] executeTransParam Time elapsed: 0.036 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetWithFilterHandlers Time elapsed: 0.015 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetExceptionInEndHandler Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] updateIdWithSingleQuote Time elapsed: 0.016 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] selectDistinctOn Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdsInvalidJson Time elapsed: 0.045 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] executeParam Time elapsed: 0.037 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] executeTrans Time elapsed: 0.019 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] execute Time elapsed: 0.021 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] save5returnId Time elapsed: 0.019 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchJsonNullArray Time elapsed: 0.018 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] upsertSingleQuote Time elapsed: 0.019 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] deleteByPojo Time elapsed: 0.019 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] save6upsert Time elapsed: 0.018 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getCQLWrapperJsonbField Time elapsed: 0.04 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveTransNull Time elapsed: 0.036 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] updateSectionException Time elapsed: 0.042 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] save7binary Time elapsed: 0.022 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetWithFilterZeroHits Time elapsed: 0.02 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] tenantSeparation Time elapsed: 0.021 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetExceptionInHandler Time elapsed: 0.017 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchJsonNullEntity Time elapsed: 0.014 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveAndReturnUpdatedEntityWithNullId Time elapsed: 0.014 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetLegacyQuerySingleError Time elapsed: 0.014 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByCriterion Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] deleteByCqlWrapperThatThrowsException Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] updateSectionFailure Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdsAsString Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] executeList Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] updateSectionSingleQuote Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveTransId Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] deleteByIdNullConnection Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetLegacySyntaxError Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] updateX Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] upsert4 Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] upsert5 Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] upsertX Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetUnsupported Time elapsed: 0.04 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] save5doNotReturnId Time elapsed: 0.049 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetWithOffsetAndLimit Time elapsed: 0.032 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getCQLWrapperWithFacets Time elapsed: 0.027 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchXTrans2 Time elapsed: 0.049 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] deleteByCqlWrapper Time elapsed: 0.085 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetLegacy Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdAsString Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] save3 Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] save7 Time elapsed: 0.015 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveTrans Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getCQLWrapperNoFacets Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdsFailure Time elapsed: 0.017 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] save4doNotReturnId Time elapsed: 0.025 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getCQLWrapperNoCount Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] deleteByPojoFailedConnection Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] save4returnId Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchX Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetWithLimit Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveAndReturnUpdatedEntity Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetConnectionFailed Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchNullEntity Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getDistinctOnWithFacets Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetWithOffset Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetFilterNoHandlers Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetWithFacetsAndFilter Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdInvalidJson Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] save4idNull Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchJsonEmptyArray Time elapsed: 0.029 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveTrans4 Time elapsed: 0.047 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveTrans5 Time elapsed: 0.038 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveTrans7 Time elapsed: 0.022 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] deleteByCriterionX Time elapsed: 0.022 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetWithFacetsZeroHits Time elapsed: 0.022 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdAsPojo Time elapsed: 0.022 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetLegacyDistinctOn Time elapsed: 0.041 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchSingleQuote Time elapsed: 0.047 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getByIdFailure Time elapsed: 0.02 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchJson Time elapsed: 0.017 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetWithFacetsError Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchXTrans Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] updateSingleQuote Time elapsed: 0.012 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchEmptyList Time elapsed: 0.013 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveTransSyntaxError Time elapsed: 0.021 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] streamGetWithSyntaxError Time elapsed: 0.045 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] getCQLWrapperFailure Time elapsed: 0.035 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] upsert5binary Time elapsed: 0.046 s <<< ERROR! com.github.jasync.sql.db.postgresql.exceptions.GenericDatabaseException: ErrorMessage(fields=[(Severity, ERROR), (V, ERROR), (SQLSTATE, 42501), (Message, permission denied to create extension "unaccent"), (Hint, Must be superuser to create this extension.), (File, extension.c), (Line, 809), (Routine, execute_extension_script)]) [ERROR] saveBatchJsonFail Time elapsed: 5.016 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.saveBatchJsonFail(PostgresClientIT.java:1075) [ERROR] saveBatchNullList Time elapsed: 5.014 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.saveBatchNullList(PostgresClientIT.java:1027) [ERROR] streamGetExceptionInHandler2 Time elapsed: 5.017 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createTableWithPoLines(PostgresClientIT.java:3141) at org.folio.rest.persist.PostgresClientIT.streamGetExceptionInHandler2(PostgresClientIT.java:2632) [ERROR] streamGetExceptionInHandler3 Time elapsed: 5.014 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createTableWithPoLines(PostgresClientIT.java:3141) at org.folio.rest.persist.PostgresClientIT.streamGetExceptionInHandler3(PostgresClientIT.java:2656) [ERROR] selectSingleParamTrans Time elapsed: 5.031 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createNumbers(PostgresClientIT.java:1996) at org.folio.rest.persist.PostgresClientIT.selectSingleParamTrans(PostgresClientIT.java:2155) [ERROR] deleteByCriterionFailedConnection Time elapsed: 5.013 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.deleteByCriterionFailedConnection(PostgresClientIT.java:551) [ERROR] deleteById Time elapsed: 5.003 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.insertXAndSingleQuotePojo(PostgresClientIT.java:1362) at org.folio.rest.persist.PostgresClientIT.deleteById(PostgresClientIT.java:453) [ERROR] updateSectionX Time elapsed: 5.004 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.updateSectionX(PostgresClientIT.java:641) [ERROR] save4id Time elapsed: 5.005 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.save4id(PostgresClientIT.java:739) [ERROR] deleteByCriterionSingleQuote Time elapsed: 5.013 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.insertXAndSingleQuotePojo(PostgresClientIT.java:1362) at org.folio.rest.persist.PostgresClientIT.deleteByCriterion(PostgresClientIT.java:516) at org.folio.rest.persist.PostgresClientIT.deleteByCriterionSingleQuote(PostgresClientIT.java:534) [ERROR] getByIds Time elapsed: 5.013 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.insertXAndSingleQuotePojo(PostgresClientIT.java:1362) at org.folio.rest.persist.PostgresClientIT.getByIds(PostgresClientIT.java:1410) [ERROR] streamGetResultException Time elapsed: 5.018 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createTableWithPoLines(PostgresClientIT.java:3141) at org.folio.rest.persist.PostgresClientIT.streamGetResultException(PostgresClientIT.java:2554) [ERROR] deleteByPojoNullEntity Time elapsed: 5.003 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.deleteByPojoNullEntity(PostgresClientIT.java:596) [ERROR] getByIdUsingSqlPrimaryKey Time elapsed: 5.013 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.getByIdUsingSqlPrimaryKey(PostgresClientIT.java:1282) [ERROR] saveTransIdSyntaxError Time elapsed: 5.011 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.saveTransIdSyntaxError(PostgresClientIT.java:1155) [ERROR] selectSingle Time elapsed: 5.024 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createNumbers(PostgresClientIT.java:1996) at org.folio.rest.persist.PostgresClientIT.selectSingle(PostgresClientIT.java:2124) [ERROR] selectStream Time elapsed: 5.028 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createNumbers(PostgresClientIT.java:1996) at org.folio.rest.persist.PostgresClientIT.selectStream(PostgresClientIT.java:2073) [ERROR] deleteByIdFailure Time elapsed: 5.009 s <<< ERROR! java.util.concurrent.TimeoutException: Timed out at org.folio.rest.persist.PostgresClientIT.executeIgnore(PostgresClientIT.java:292) at org.folio.rest.persist.PostgresClientIT.createTable(PostgresClientIT.java:312) at org.folio.rest.persist.PostgresClientIT.createFoo(PostgresClientIT.java:328) at org.folio.rest.persist.PostgresClientIT.deleteByIdFailure(PostgresClientIT.java:467) [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] PostgresClientIT.deleteByCqlWrapper » GenericDatabase ErrorMessage(fields=[(Se... [ERROR] PostgresClientIT.deleteByCqlWrapperThatThrowsException » GenericDatabase Error... [ERROR] PostgresClientIT.deleteByCriterionFailedConnection:551->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.deleteByCriterionNullConnection » GenericDatabase ErrorMessag... [ERROR] PostgresClientIT.deleteByCriterionSingleQuote:534->deleteByCriterion:516->insertXAndSingleQuotePojo:1362->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.deleteByCriterionThatThrowsException » GenericDatabase ErrorM... [ERROR] PostgresClientIT.deleteByCriterionX » GenericDatabase ErrorMessage(fields=[(Se... [ERROR] PostgresClientIT.deleteById:453->insertXAndSingleQuotePojo:1362->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.deleteByIdFailure:467->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.deleteByIdNullConnection » GenericDatabase ErrorMessage(field... [ERROR] PostgresClientIT.deleteByPojo » GenericDatabase ErrorMessage(fields=[(Severity... [ERROR] PostgresClientIT.deleteByPojoFailedConnection » GenericDatabase ErrorMessage(f... [ERROR] PostgresClientIT.deleteByPojoNullEntity:596->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.execute » GenericDatabase ErrorMessage(fields=[(Severity, ERR... [ERROR] PostgresClientIT.executeList » GenericDatabase ErrorMessage(fields=[(Severity,... [ERROR] PostgresClientIT.executeParam » GenericDatabase ErrorMessage(fields=[(Severity... [ERROR] PostgresClientIT.executeTrans » GenericDatabase ErrorMessage(fields=[(Severity... [ERROR] PostgresClientIT.executeTransParam » GenericDatabase ErrorMessage(fields=[(Sev... [ERROR] PostgresClientIT.getByCriterion » GenericDatabase ErrorMessage(fields=[(Severi... [ERROR] PostgresClientIT.getByCriterionWithIdColumn » GenericDatabase ErrorMessage(fie... [ERROR] PostgresClientIT.getByIdAsPojo » GenericDatabase ErrorMessage(fields=[(Severit... [ERROR] PostgresClientIT.getByIdAsString » GenericDatabase ErrorMessage(fields=[(Sever... [ERROR] PostgresClientIT.getByIdEmpty » GenericDatabase ErrorMessage(fields=[(Severity... [ERROR] PostgresClientIT.getByIdFailure » GenericDatabase ErrorMessage(fields=[(Severi... [ERROR] PostgresClientIT.getByIdInvalidJson » GenericDatabase ErrorMessage(fields=[(Se... [ERROR] PostgresClientIT.getByIdUsingSqlPrimaryKey:1282->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.getByIds:1410->insertXAndSingleQuotePojo:1362->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.getByIdsAsString » GenericDatabase ErrorMessage(fields=[(Seve... [ERROR] PostgresClientIT.getByIdsEmpty » GenericDatabase ErrorMessage(fields=[(Severit... [ERROR] PostgresClientIT.getByIdsFailure » GenericDatabase ErrorMessage(fields=[(Sever... [ERROR] PostgresClientIT.getByIdsInvalidJson » GenericDatabase ErrorMessage(fields=[(S... [ERROR] PostgresClientIT.getByIdsNotFound » GenericDatabase ErrorMessage(fields=[(Seve... [ERROR] PostgresClientIT.getByIdsNull » GenericDatabase ErrorMessage(fields=[(Severity... [ERROR] PostgresClientIT.getByIdsPojo » GenericDatabase ErrorMessage(fields=[(Severity... [ERROR] PostgresClientIT.getCQLWrapperFailure » GenericDatabase ErrorMessage(fields=[(... [ERROR] PostgresClientIT.getCQLWrapperJsonbField » GenericDatabase ErrorMessage(fields... [ERROR] PostgresClientIT.getCQLWrapperNoCount » GenericDatabase ErrorMessage(fields=[(... [ERROR] PostgresClientIT.getCQLWrapperNoFacets » GenericDatabase ErrorMessage(fields=[... [ERROR] PostgresClientIT.getCQLWrapperWithFacets » GenericDatabase ErrorMessage(fields... [ERROR] PostgresClientIT.getDistinctOn » GenericDatabase ErrorMessage(fields=[(Severit... [ERROR] PostgresClientIT.getDistinctOnWithFacets » GenericDatabase ErrorMessage(fields... [ERROR] PostgresClientIT.save3 » GenericDatabase ErrorMessage(fields=[(Severity, ERROR... [ERROR] PostgresClientIT.save4doNotReturnId » GenericDatabase ErrorMessage(fields=[(Se... [ERROR] PostgresClientIT.save4id:739->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.save4idNull » GenericDatabase ErrorMessage(fields=[(Severity,... [ERROR] PostgresClientIT.save4returnId » GenericDatabase ErrorMessage(fields=[(Severit... [ERROR] PostgresClientIT.save5doNotReturnId » GenericDatabase ErrorMessage(fields=[(Se... [ERROR] PostgresClientIT.save5returnId » GenericDatabase ErrorMessage(fields=[(Severit... [ERROR] PostgresClientIT.save6noUpsert » GenericDatabase ErrorMessage(fields=[(Severit... [ERROR] PostgresClientIT.save6upsert » GenericDatabase ErrorMessage(fields=[(Severity,... [ERROR] PostgresClientIT.save7 » GenericDatabase ErrorMessage(fields=[(Severity, ERROR... [ERROR] PostgresClientIT.save7binary » GenericDatabase ErrorMessage(fields=[(Severity,... [ERROR] PostgresClientIT.saveAndReturnUpdatedEntity » GenericDatabase ErrorMessage(fie... [ERROR] PostgresClientIT.saveAndReturnUpdatedEntityWithNullId » GenericDatabase ErrorM... [ERROR] PostgresClientIT.saveBatchEmpty » GenericDatabase ErrorMessage(fields=[(Severi... [ERROR] PostgresClientIT.saveBatchEmptyList » GenericDatabase ErrorMessage(fields=[(Se... [ERROR] PostgresClientIT.saveBatchJson » GenericDatabase ErrorMessage(fields=[(Severit... [ERROR] PostgresClientIT.saveBatchJsonEmptyArray » GenericDatabase ErrorMessage(fields... [ERROR] PostgresClientIT.saveBatchJsonFail:1075->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.saveBatchJsonNullArray » GenericDatabase ErrorMessage(fields=... [ERROR] PostgresClientIT.saveBatchJsonNullEntity » GenericDatabase ErrorMessage(fields... [ERROR] PostgresClientIT.saveBatchNullEntity » GenericDatabase ErrorMessage(fields=[(S... [ERROR] PostgresClientIT.saveBatchNullList:1027->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.saveBatchSingleQuote » GenericDatabase ErrorMessage(fields=[(... [ERROR] PostgresClientIT.saveBatchX » GenericDatabase ErrorMessage(fields=[(Severity, ... [ERROR] PostgresClientIT.saveBatchXTrans » GenericDatabase ErrorMessage(fields=[(Sever... [ERROR] PostgresClientIT.saveBatchXTrans2 » GenericDatabase ErrorMessage(fields=[(Seve... [ERROR] PostgresClientIT.saveTrans » GenericDatabase ErrorMessage(fields=[(Severity, E... [ERROR] PostgresClientIT.saveTrans4 » GenericDatabase ErrorMessage(fields=[(Severity, ... [ERROR] PostgresClientIT.saveTrans5 » GenericDatabase ErrorMessage(fields=[(Severity, ... [ERROR] PostgresClientIT.saveTrans7 » GenericDatabase ErrorMessage(fields=[(Severity, ... [ERROR] PostgresClientIT.saveTransId » GenericDatabase ErrorMessage(fields=[(Severity,... [ERROR] PostgresClientIT.saveTransIdNull » GenericDatabase ErrorMessage(fields=[(Sever... [ERROR] PostgresClientIT.saveTransIdSyntaxError:1155->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.saveTransNull » GenericDatabase ErrorMessage(fields=[(Severit... [ERROR] PostgresClientIT.saveTransSyntaxError » GenericDatabase ErrorMessage(fields=[(... [ERROR] PostgresClientIT.selectDistinctOn » GenericDatabase ErrorMessage(fields=[(Seve... [ERROR] PostgresClientIT.selectSingle:2124->createNumbers:1996->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.selectSingleParamTrans:2155->createNumbers:1996->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.selectStream:2073->createNumbers:1996->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.streamGetConnectionFailed » GenericDatabase ErrorMessage(fiel... [ERROR] PostgresClientIT.streamGetExceptionInEndHandler » GenericDatabase ErrorMessage... [ERROR] PostgresClientIT.streamGetExceptionInEndHandler2 » GenericDatabase ErrorMessag... [ERROR] PostgresClientIT.streamGetExceptionInHandler » GenericDatabase ErrorMessage(fi... [ERROR] PostgresClientIT.streamGetExceptionInHandler2:2632->createTableWithPoLines:3141->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.streamGetExceptionInHandler3:2656->createTableWithPoLines:3141->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.streamGetFilterNoHandlers » GenericDatabase ErrorMessage(fiel... [ERROR] PostgresClientIT.streamGetLegacy » GenericDatabase ErrorMessage(fields=[(Sever... [ERROR] PostgresClientIT.streamGetLegacyDistinctOn » GenericDatabase ErrorMessage(fiel... [ERROR] PostgresClientIT.streamGetLegacyFilter » GenericDatabase ErrorMessage(fields=[... [ERROR] PostgresClientIT.streamGetLegacyQuerySingleError » GenericDatabase ErrorMessag... [ERROR] PostgresClientIT.streamGetLegacySyntaxError » GenericDatabase ErrorMessage(fie... [ERROR] PostgresClientIT.streamGetQuerySingleError » GenericDatabase ErrorMessage(fiel... [ERROR] PostgresClientIT.streamGetResultException:2554->createTableWithPoLines:3141->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.streamGetUnsupported » GenericDatabase ErrorMessage(fields=[(... [ERROR] PostgresClientIT.streamGetWithFacetsAndFilter » GenericDatabase ErrorMessage(f... [ERROR] PostgresClientIT.streamGetWithFacetsError » GenericDatabase ErrorMessage(field... [ERROR] PostgresClientIT.streamGetWithFacetsZeroHits » GenericDatabase ErrorMessage(fi... [ERROR] PostgresClientIT.streamGetWithFilterHandlers » GenericDatabase ErrorMessage(fi... [ERROR] PostgresClientIT.streamGetWithFilterZeroHits » GenericDatabase ErrorMessage(fi... [ERROR] PostgresClientIT.streamGetWithLimit » GenericDatabase ErrorMessage(fields=[(Se... [ERROR] PostgresClientIT.streamGetWithOffset » GenericDatabase ErrorMessage(fields=[(S... [ERROR] PostgresClientIT.streamGetWithOffsetAndLimit » GenericDatabase ErrorMessage(fi... [ERROR] PostgresClientIT.streamGetWithSyntaxError » GenericDatabase ErrorMessage(field... [ERROR] PostgresClientIT.tenantSeparation » GenericDatabase ErrorMessage(fields=[(Seve... [ERROR] PostgresClientIT.updateIdWithSingleQuote » GenericDatabase ErrorMessage(fields... [ERROR] PostgresClientIT.updateSectionCriterion » GenericDatabase ErrorMessage(fields=... [ERROR] PostgresClientIT.updateSectionException » GenericDatabase ErrorMessage(fields=... [ERROR] PostgresClientIT.updateSectionFailure » GenericDatabase ErrorMessage(fields=[(... [ERROR] PostgresClientIT.updateSectionSingleQuote » GenericDatabase ErrorMessage(field... [ERROR] PostgresClientIT.updateSectionX:641->createFoo:328->createTable:312->executeIgnore:292 » Timeout [ERROR] PostgresClientIT.updateSingleQuote » GenericDatabase ErrorMessage(fields=[(Sev... [ERROR] PostgresClientIT.updateX » GenericDatabase ErrorMessage(fields=[(Severity, ERR... [ERROR] PostgresClientIT.upsert4 » GenericDatabase ErrorMessage(fields=[(Severity, ERR... [ERROR] PostgresClientIT.upsert5 » GenericDatabase ErrorMessage(fields=[(Severity, ERR... [ERROR] PostgresClientIT.upsert5binary » GenericDatabase ErrorMessage(fields=[(Severit... [ERROR] PostgresClientIT.upsertSingleQuote » GenericDatabase ErrorMessage(fields=[(Sev... [ERROR] PostgresClientIT.upsertX » GenericDatabase ErrorMessage(fields=[(Severity, ERR... [INFO] [ERROR] Tests run: 192, Failures: 0, Errors: 118, Skipped: 0 [INFO] [INFO] [INFO] --- exec-maven-plugin:1.6.0:java (stop-postgres) @ domain-models-runtime --- [INFO] [INFO] --- maven-failsafe-plugin:2.22.1:verify (verify) @ domain-models-runtime --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:56 min [INFO] Finished at: 2020-05-05T16:16:50+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.22.1:verify (verify) on project domain-models-runtime: There are test failures. [ERROR] [ERROR] Please refer to /home/adam/folio/raml-module-builder/domain-models-runtime/target/failsafe-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException