You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
660 lines
54 KiB
660 lines
54 KiB
|
1 day ago
|
[INFO] Scanning for projects...
|
||
|
|
[WARNING]
|
||
|
|
[WARNING] Some problems were encountered while building the effective model for com.crm:crm-auth:jar:1.0.0-SNAPSHOT
|
||
|
|
[WARNING] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 60, column 22
|
||
|
|
[WARNING]
|
||
|
|
[WARNING] Some problems were encountered while building the effective model for com.crm:crm-file:jar:1.0.0-SNAPSHOT
|
||
|
|
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.projectlombok:lombok:jar -> duplicate declaration of version (?) @ line 49, column 21
|
||
|
|
[WARNING]
|
||
|
|
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
|
||
|
|
[WARNING]
|
||
|
|
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
|
||
|
|
[WARNING]
|
||
|
|
[INFO] ------------------------------------------------------------------------
|
||
|
|
[INFO] Reactor Build Order:
|
||
|
|
[INFO]
|
||
|
|
[INFO] crm [pom]
|
||
|
|
[INFO] crm-base [jar]
|
||
|
|
[INFO] crm-file [jar]
|
||
|
|
[INFO] crm-auth [jar]
|
||
|
|
[INFO] crm-dict [jar]
|
||
|
|
[INFO] crm-rule [jar]
|
||
|
|
[INFO] crm-preference [jar]
|
||
|
|
[INFO] crm-customer [jar]
|
||
|
|
[INFO]
|
||
|
|
[INFO] ----------------------------< com.crm:crm >-----------------------------
|
||
|
|
[INFO] Building crm 1.0.0-SNAPSHOT [1/8]
|
||
|
|
[INFO] from pom.xml
|
||
|
|
[INFO] --------------------------------[ pom ]---------------------------------
|
||
|
|
[INFO]
|
||
|
|
[INFO] --------------------------< com.crm:crm-base >--------------------------
|
||
|
|
[INFO] Building crm-base 1.0.0-SNAPSHOT [2/8]
|
||
|
|
[INFO] from crm-base\pom.xml
|
||
|
|
[INFO] --------------------------------[ jar ]---------------------------------
|
||
|
|
[INFO]
|
||
|
|
[INFO] --- resources:3.3.1:resources (default-resources) @ crm-base ---
|
||
|
|
[INFO] skip non existing resourceDirectory E:\code\crm-backend-matt\crm-base\src\main\resources
|
||
|
|
[INFO] skip non existing resourceDirectory E:\code\crm-backend-matt\crm-base\src\main\resources
|
||
|
|
[INFO]
|
||
|
|
[INFO] --- compiler:3.13.0:compile (default-compile) @ crm-base ---
|
||
|
|
[INFO] Nothing to compile - all classes are up to date.
|
||
|
|
[INFO]
|
||
|
|
[INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-base ---
|
||
|
|
[INFO] skip non existing resourceDirectory E:\code\crm-backend-matt\crm-base\src\test\resources
|
||
|
|
[INFO]
|
||
|
|
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-base ---
|
||
|
|
[INFO] Nothing to compile - all classes are up to date.
|
||
|
|
[INFO]
|
||
|
|
[INFO] --- surefire:3.2.5:test (default-test) @ crm-base ---
|
||
|
|
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
|
||
|
|
[INFO]
|
||
|
|
[INFO] -------------------------------------------------------
|
||
|
|
[INFO] T E S T S
|
||
|
|
[INFO] -------------------------------------------------------
|
||
|
|
[INFO] Running com.crm.base.advice.GlobalDataBindingAdviceTest
|
||
|
|
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.251 s -- in com.crm.base.advice.GlobalDataBindingAdviceTest
|
||
|
|
[INFO] Running com.crm.base.domain.result.BatchResultTest
|
||
|
|
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.092 s -- in com.crm.base.domain.result.BatchResultTest
|
||
|
|
[INFO] Running com.crm.base.domain.result.BatchRunnerTest
|
||
|
|
20:57:10.205 [main] ERROR com.crm.base.domain.result.BatchRunner -- 批量操作单条异常:id=2
|
||
|
|
java.lang.IllegalStateException: boom
|
||
|
|
at com.crm.base.domain.result.BatchRunnerTest.lambda$unknownFailure_fallbackAndContinues$3(BatchRunnerTest.java:84)
|
||
|
|
at com.crm.base.domain.result.BatchRunner.run(BatchRunner.java:43)
|
||
|
|
at com.crm.base.domain.result.BatchRunnerTest.unknownFailure_fallbackAndContinues(BatchRunnerTest.java:82)
|
||
|
|
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
|
||
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
|
||
|
|
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
|
||
|
|
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:156)
|
||
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
|
||
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
|
||
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
|
||
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
|
||
|
|
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.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
|
||
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
|
||
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
|
||
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
|
||
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
|
||
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
|
||
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
|
||
|
|
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
|
||
|
|
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
|
||
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
|
||
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
|
||
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
|
||
|
|
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
|
||
|
|
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
|
||
|
|
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
|
||
|
|
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
|
||
|
|
20:57:10.213 [main] ERROR com.crm.base.domain.result.BatchRunner -- 批量操作单条异常:id=2
|
||
|
|
java.lang.IllegalStateException: boom
|
||
|
|
at com.crm.base.domain.result.BatchRunnerTest.lambda$mixed_totalIsSum$4(BatchRunnerTest.java:102)
|
||
|
|
at com.crm.base.domain.result.BatchRunner.run(BatchRunner.java:43)
|
||
|
|
at com.crm.base.domain.result.BatchRunnerTest.mixed_totalIsSum(BatchRunnerTest.java:97)
|
||
|
|
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
|
||
|
|
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
|
||
|
|
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
|
||
|
|
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:156)
|
||
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
|
||
|
|
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
|
||
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
|
||
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
|
||
|
|
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.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
|
||
|
|
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
|
||
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
|
||
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
|
||
|
|
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
|
||
|
|
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
|
||
|
|
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
|
||
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
|
||
|
|
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
|
||
|
|
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
|
||
|
|
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
|
||
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
|
||
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
|
||
|
|
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
|
||
|
|
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
|
||
|
|
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
|
||
|
|
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
|
||
|
|
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
|
||
|
|
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 s -- in com.crm.base.domain.result.BatchRunnerTest
|
||
|
|
[INFO] Running com.crm.base.security.DataVisibilityTest
|
||
|
|
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068 s -- in com.crm.base.security.DataVisibilityTest
|
||
|
|
[INFO] Running com.crm.base.service.PendingNoticeWriterTest
|
||
|
|
[ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.478 s <<< FAILURE! -- in com.crm.base.service.PendingNoticeWriterTest
|
||
|
|
[ERROR] com.crm.base.service.PendingNoticeWriterTest.insertPending_serializationFailureStoresNull -- Time elapsed: 0.187 s <<< ERROR!
|
||
|
|
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader$1.invoke(PluginLoader.java:85)
|
||
|
|
at jdk.proxy2/jdk.proxy2.$Proxy17.isTypeMockable(Unknown Source)
|
||
|
|
at org.mockito.internal.util.MockUtil.typeMockabilityOf(MockUtil.java:78)
|
||
|
|
at org.mockito.internal.util.MockCreationValidator.validateType(MockCreationValidator.java:22)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.validatedSettings(MockSettingsImpl.java:275)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.build(MockSettingsImpl.java:236)
|
||
|
|
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:82)
|
||
|
|
at org.mockito.Mockito.mock(Mockito.java:2104)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:79)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:62)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47)
|
||
|
|
at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81)
|
||
|
|
at org.mockito.internal.framework.DefaultMockitoSession.<init>(DefaultMockitoSession.java:43)
|
||
|
|
at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:160)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:194)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:105)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.getDefaultPlugin(DefaultMockitoPlugins.java:79)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:75)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:49)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginRegistry.<init>(PluginRegistry.java:29)
|
||
|
|
at org.mockito.internal.configuration.plugins.Plugins.<clinit>(Plugins.java:26)
|
||
|
|
at org.mockito.internal.MockitoCore.<clinit>(MockitoCore.java:71)
|
||
|
|
at org.mockito.Mockito.<clinit>(Mockito.java:1683)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:156)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.reflect.InvocationTargetException
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:103)
|
||
|
|
... 10 more
|
||
|
|
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
|
||
|
|
Could not initialize inline Byte Buddy mock maker.
|
||
|
|
|
||
|
|
It appears as if your JDK does not supply a working agent attachment mechanism.
|
||
|
|
Java : 21
|
||
|
|
JVM vendor name : JetBrains s.r.o.
|
||
|
|
JVM vendor version : 21.0.7+9-b895.130
|
||
|
|
JVM name : OpenJDK 64-Bit Server VM
|
||
|
|
JVM version : 21.0.7+9-b895.130
|
||
|
|
JVM info : mixed mode, sharing
|
||
|
|
OS name : Windows 10
|
||
|
|
OS version : 10.0
|
||
|
|
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<init>(InlineDelegateByteBuddyMockMaker.java:260)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.<init>(InlineByteBuddyMockMaker.java:23)
|
||
|
|
... 13 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Could not self-attach to current VM using external process - set a property net.bytebuddy.agent.attacher.dump to dump the process output to a file at the specified location
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.installExternal(ByteBuddyAgent.java:674)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:604)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:584)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:536)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:513)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<clinit>(InlineDelegateByteBuddyMockMaker.java:133)
|
||
|
|
... 14 more
|
||
|
|
|
||
|
|
[ERROR] com.crm.base.service.PendingNoticeWriterTest.planOccupied_arbitraryStatusOccupies -- Time elapsed: 0.002 s <<< ERROR!
|
||
|
|
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader$1.invoke(PluginLoader.java:85)
|
||
|
|
at jdk.proxy2/jdk.proxy2.$Proxy17.isTypeMockable(Unknown Source)
|
||
|
|
at org.mockito.internal.util.MockUtil.typeMockabilityOf(MockUtil.java:78)
|
||
|
|
at org.mockito.internal.util.MockCreationValidator.validateType(MockCreationValidator.java:22)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.validatedSettings(MockSettingsImpl.java:275)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.build(MockSettingsImpl.java:236)
|
||
|
|
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:82)
|
||
|
|
at org.mockito.Mockito.mock(Mockito.java:2104)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:79)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:62)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47)
|
||
|
|
at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81)
|
||
|
|
at org.mockito.internal.framework.DefaultMockitoSession.<init>(DefaultMockitoSession.java:43)
|
||
|
|
at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:160)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:194)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:105)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.getDefaultPlugin(DefaultMockitoPlugins.java:79)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:75)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:49)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginRegistry.<init>(PluginRegistry.java:29)
|
||
|
|
at org.mockito.internal.configuration.plugins.Plugins.<clinit>(Plugins.java:26)
|
||
|
|
at org.mockito.internal.MockitoCore.<clinit>(MockitoCore.java:71)
|
||
|
|
at org.mockito.Mockito.<clinit>(Mockito.java:1683)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:156)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.reflect.InvocationTargetException
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:103)
|
||
|
|
... 10 more
|
||
|
|
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
|
||
|
|
Could not initialize inline Byte Buddy mock maker.
|
||
|
|
|
||
|
|
It appears as if your JDK does not supply a working agent attachment mechanism.
|
||
|
|
Java : 21
|
||
|
|
JVM vendor name : JetBrains s.r.o.
|
||
|
|
JVM vendor version : 21.0.7+9-b895.130
|
||
|
|
JVM name : OpenJDK 64-Bit Server VM
|
||
|
|
JVM version : 21.0.7+9-b895.130
|
||
|
|
JVM info : mixed mode, sharing
|
||
|
|
OS name : Windows 10
|
||
|
|
OS version : 10.0
|
||
|
|
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<init>(InlineDelegateByteBuddyMockMaker.java:260)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.<init>(InlineByteBuddyMockMaker.java:23)
|
||
|
|
... 13 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Could not self-attach to current VM using external process - set a property net.bytebuddy.agent.attacher.dump to dump the process output to a file at the specified location
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.installExternal(ByteBuddyAgent.java:674)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:604)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:584)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:536)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:513)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<clinit>(InlineDelegateByteBuddyMockMaker.java:133)
|
||
|
|
... 14 more
|
||
|
|
|
||
|
|
[ERROR] com.crm.base.service.PendingNoticeWriterTest.insertPending_factoryFieldsAndPayloadJson -- Time elapsed: 0.001 s <<< ERROR!
|
||
|
|
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader$1.invoke(PluginLoader.java:85)
|
||
|
|
at jdk.proxy2/jdk.proxy2.$Proxy17.isTypeMockable(Unknown Source)
|
||
|
|
at org.mockito.internal.util.MockUtil.typeMockabilityOf(MockUtil.java:78)
|
||
|
|
at org.mockito.internal.util.MockCreationValidator.validateType(MockCreationValidator.java:22)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.validatedSettings(MockSettingsImpl.java:275)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.build(MockSettingsImpl.java:236)
|
||
|
|
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:82)
|
||
|
|
at org.mockito.Mockito.mock(Mockito.java:2104)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:79)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:62)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47)
|
||
|
|
at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81)
|
||
|
|
at org.mockito.internal.framework.DefaultMockitoSession.<init>(DefaultMockitoSession.java:43)
|
||
|
|
at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:160)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:194)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:105)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.getDefaultPlugin(DefaultMockitoPlugins.java:79)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:75)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:49)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginRegistry.<init>(PluginRegistry.java:29)
|
||
|
|
at org.mockito.internal.configuration.plugins.Plugins.<clinit>(Plugins.java:26)
|
||
|
|
at org.mockito.internal.MockitoCore.<clinit>(MockitoCore.java:71)
|
||
|
|
at org.mockito.Mockito.<clinit>(Mockito.java:1683)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:156)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.reflect.InvocationTargetException
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:103)
|
||
|
|
... 10 more
|
||
|
|
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
|
||
|
|
Could not initialize inline Byte Buddy mock maker.
|
||
|
|
|
||
|
|
It appears as if your JDK does not supply a working agent attachment mechanism.
|
||
|
|
Java : 21
|
||
|
|
JVM vendor name : JetBrains s.r.o.
|
||
|
|
JVM vendor version : 21.0.7+9-b895.130
|
||
|
|
JVM name : OpenJDK 64-Bit Server VM
|
||
|
|
JVM version : 21.0.7+9-b895.130
|
||
|
|
JVM info : mixed mode, sharing
|
||
|
|
OS name : Windows 10
|
||
|
|
OS version : 10.0
|
||
|
|
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<init>(InlineDelegateByteBuddyMockMaker.java:260)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.<init>(InlineByteBuddyMockMaker.java:23)
|
||
|
|
... 13 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Could not self-attach to current VM using external process - set a property net.bytebuddy.agent.attacher.dump to dump the process output to a file at the specified location
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.installExternal(ByteBuddyAgent.java:674)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:604)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:584)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:536)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:513)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<clinit>(InlineDelegateByteBuddyMockMaker.java:133)
|
||
|
|
... 14 more
|
||
|
|
|
||
|
|
[ERROR] com.crm.base.service.PendingNoticeWriterTest.invalidatePendingByIds_byIdOnly -- Time elapsed: 0.001 s <<< ERROR!
|
||
|
|
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader$1.invoke(PluginLoader.java:85)
|
||
|
|
at jdk.proxy2/jdk.proxy2.$Proxy17.isTypeMockable(Unknown Source)
|
||
|
|
at org.mockito.internal.util.MockUtil.typeMockabilityOf(MockUtil.java:78)
|
||
|
|
at org.mockito.internal.util.MockCreationValidator.validateType(MockCreationValidator.java:22)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.validatedSettings(MockSettingsImpl.java:275)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.build(MockSettingsImpl.java:236)
|
||
|
|
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:82)
|
||
|
|
at org.mockito.Mockito.mock(Mockito.java:2104)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:79)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:62)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47)
|
||
|
|
at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81)
|
||
|
|
at org.mockito.internal.framework.DefaultMockitoSession.<init>(DefaultMockitoSession.java:43)
|
||
|
|
at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:160)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:194)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:105)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.getDefaultPlugin(DefaultMockitoPlugins.java:79)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:75)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:49)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginRegistry.<init>(PluginRegistry.java:29)
|
||
|
|
at org.mockito.internal.configuration.plugins.Plugins.<clinit>(Plugins.java:26)
|
||
|
|
at org.mockito.internal.MockitoCore.<clinit>(MockitoCore.java:71)
|
||
|
|
at org.mockito.Mockito.<clinit>(Mockito.java:1683)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:156)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.reflect.InvocationTargetException
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:103)
|
||
|
|
... 10 more
|
||
|
|
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
|
||
|
|
Could not initialize inline Byte Buddy mock maker.
|
||
|
|
|
||
|
|
It appears as if your JDK does not supply a working agent attachment mechanism.
|
||
|
|
Java : 21
|
||
|
|
JVM vendor name : JetBrains s.r.o.
|
||
|
|
JVM vendor version : 21.0.7+9-b895.130
|
||
|
|
JVM name : OpenJDK 64-Bit Server VM
|
||
|
|
JVM version : 21.0.7+9-b895.130
|
||
|
|
JVM info : mixed mode, sharing
|
||
|
|
OS name : Windows 10
|
||
|
|
OS version : 10.0
|
||
|
|
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<init>(InlineDelegateByteBuddyMockMaker.java:260)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.<init>(InlineByteBuddyMockMaker.java:23)
|
||
|
|
... 13 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Could not self-attach to current VM using external process - set a property net.bytebuddy.agent.attacher.dump to dump the process output to a file at the specified location
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.installExternal(ByteBuddyAgent.java:674)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:604)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:584)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:536)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:513)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<clinit>(InlineDelegateByteBuddyMockMaker.java:133)
|
||
|
|
... 14 more
|
||
|
|
|
||
|
|
[ERROR] com.crm.base.service.PendingNoticeWriterTest.listByBiz_delegatesWithBizAndTypeColumns -- Time elapsed: 0.001 s <<< ERROR!
|
||
|
|
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader$1.invoke(PluginLoader.java:85)
|
||
|
|
at jdk.proxy2/jdk.proxy2.$Proxy17.isTypeMockable(Unknown Source)
|
||
|
|
at org.mockito.internal.util.MockUtil.typeMockabilityOf(MockUtil.java:78)
|
||
|
|
at org.mockito.internal.util.MockCreationValidator.validateType(MockCreationValidator.java:22)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.validatedSettings(MockSettingsImpl.java:275)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.build(MockSettingsImpl.java:236)
|
||
|
|
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:82)
|
||
|
|
at org.mockito.Mockito.mock(Mockito.java:2104)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:79)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:62)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47)
|
||
|
|
at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81)
|
||
|
|
at org.mockito.internal.framework.DefaultMockitoSession.<init>(DefaultMockitoSession.java:43)
|
||
|
|
at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:160)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:194)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:105)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.getDefaultPlugin(DefaultMockitoPlugins.java:79)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:75)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:49)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginRegistry.<init>(PluginRegistry.java:29)
|
||
|
|
at org.mockito.internal.configuration.plugins.Plugins.<clinit>(Plugins.java:26)
|
||
|
|
at org.mockito.internal.MockitoCore.<clinit>(MockitoCore.java:71)
|
||
|
|
at org.mockito.Mockito.<clinit>(Mockito.java:1683)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:156)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.reflect.InvocationTargetException
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:103)
|
||
|
|
... 10 more
|
||
|
|
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
|
||
|
|
Could not initialize inline Byte Buddy mock maker.
|
||
|
|
|
||
|
|
It appears as if your JDK does not supply a working agent attachment mechanism.
|
||
|
|
Java : 21
|
||
|
|
JVM vendor name : JetBrains s.r.o.
|
||
|
|
JVM vendor version : 21.0.7+9-b895.130
|
||
|
|
JVM name : OpenJDK 64-Bit Server VM
|
||
|
|
JVM version : 21.0.7+9-b895.130
|
||
|
|
JVM info : mixed mode, sharing
|
||
|
|
OS name : Windows 10
|
||
|
|
OS version : 10.0
|
||
|
|
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<init>(InlineDelegateByteBuddyMockMaker.java:260)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.<init>(InlineByteBuddyMockMaker.java:23)
|
||
|
|
... 13 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Could not self-attach to current VM using external process - set a property net.bytebuddy.agent.attacher.dump to dump the process output to a file at the specified location
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.installExternal(ByteBuddyAgent.java:674)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:604)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:584)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:536)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:513)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<clinit>(InlineDelegateByteBuddyMockMaker.java:133)
|
||
|
|
... 14 more
|
||
|
|
|
||
|
|
[ERROR] com.crm.base.service.PendingNoticeWriterTest.invalidatePendingByBiz_wrapsPendingToInvalid -- Time elapsed: 0.001 s <<< ERROR!
|
||
|
|
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader$1.invoke(PluginLoader.java:85)
|
||
|
|
at jdk.proxy2/jdk.proxy2.$Proxy17.isTypeMockable(Unknown Source)
|
||
|
|
at org.mockito.internal.util.MockUtil.typeMockabilityOf(MockUtil.java:78)
|
||
|
|
at org.mockito.internal.util.MockCreationValidator.validateType(MockCreationValidator.java:22)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.validatedSettings(MockSettingsImpl.java:275)
|
||
|
|
at org.mockito.internal.creation.MockSettingsImpl.build(MockSettingsImpl.java:236)
|
||
|
|
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:82)
|
||
|
|
at org.mockito.Mockito.mock(Mockito.java:2104)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.processAnnotationForMock(MockAnnotationProcessor.java:79)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:28)
|
||
|
|
at org.mockito.internal.configuration.MockAnnotationProcessor.process(MockAnnotationProcessor.java:25)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.createMockFor(IndependentAnnotationEngine.java:44)
|
||
|
|
at org.mockito.internal.configuration.IndependentAnnotationEngine.process(IndependentAnnotationEngine.java:72)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:62)
|
||
|
|
at org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:47)
|
||
|
|
at org.mockito.MockitoAnnotations.openMocks(MockitoAnnotations.java:81)
|
||
|
|
at org.mockito.internal.framework.DefaultMockitoSession.<init>(DefaultMockitoSession.java:43)
|
||
|
|
at org.mockito.internal.session.DefaultMockitoSessionBuilder.startMocking(DefaultMockitoSessionBuilder.java:83)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:160)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
|
||
|
|
Suppressed: java.lang.NullPointerException: Cannot invoke "java.util.Set.forEach(java.util.function.Consumer)" because the return value of "org.junit.jupiter.api.extension.ExtensionContext$Store.remove(Object, java.lang.Class)" is null
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.afterEach(MockitoExtension.java:194)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:105)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.getDefaultPlugin(DefaultMockitoPlugins.java:79)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:75)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:49)
|
||
|
|
at org.mockito.internal.configuration.plugins.PluginRegistry.<init>(PluginRegistry.java:29)
|
||
|
|
at org.mockito.internal.configuration.plugins.Plugins.<clinit>(Plugins.java:26)
|
||
|
|
at org.mockito.internal.MockitoCore.<clinit>(MockitoCore.java:71)
|
||
|
|
at org.mockito.Mockito.<clinit>(Mockito.java:1683)
|
||
|
|
at org.mockito.junit.jupiter.MockitoExtension.beforeEach(MockitoExtension.java:156)
|
||
|
|
... 2 more
|
||
|
|
Caused by: java.lang.reflect.InvocationTargetException
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
|
||
|
|
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
|
||
|
|
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:103)
|
||
|
|
... 10 more
|
||
|
|
Caused by: org.mockito.exceptions.base.MockitoInitializationException:
|
||
|
|
Could not initialize inline Byte Buddy mock maker.
|
||
|
|
|
||
|
|
It appears as if your JDK does not supply a working agent attachment mechanism.
|
||
|
|
Java : 21
|
||
|
|
JVM vendor name : JetBrains s.r.o.
|
||
|
|
JVM vendor version : 21.0.7+9-b895.130
|
||
|
|
JVM name : OpenJDK 64-Bit Server VM
|
||
|
|
JVM version : 21.0.7+9-b895.130
|
||
|
|
JVM info : mixed mode, sharing
|
||
|
|
OS name : Windows 10
|
||
|
|
OS version : 10.0
|
||
|
|
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<init>(InlineDelegateByteBuddyMockMaker.java:260)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.<init>(InlineByteBuddyMockMaker.java:23)
|
||
|
|
... 13 more
|
||
|
|
Caused by: java.lang.IllegalStateException: Could not self-attach to current VM using external process - set a property net.bytebuddy.agent.attacher.dump to dump the process output to a file at the specified location
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.installExternal(ByteBuddyAgent.java:674)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:604)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:584)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:536)
|
||
|
|
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:513)
|
||
|
|
at org.mockito.internal.creation.bytebuddy.InlineDelegateByteBuddyMockMaker.<clinit>(InlineDelegateByteBuddyMockMaker.java:133)
|
||
|
|
... 14 more
|
||
|
|
|
||
|
|
[INFO] Running com.crm.base.utils.PageConverterTest
|
||
|
|
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 s -- in com.crm.base.utils.PageConverterTest
|
||
|
|
[INFO]
|
||
|
|
[INFO] Results:
|
||
|
|
[INFO]
|
||
|
|
[ERROR] Errors:
|
||
|
|
[ERROR] PendingNoticeWriterTest.insertPending_factoryFieldsAndPayloadJson ? IllegalState Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
[ERROR] PendingNoticeWriterTest.insertPending_serializationFailureStoresNull ? IllegalState Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
[ERROR] PendingNoticeWriterTest.invalidatePendingByBiz_wrapsPendingToInvalid ? IllegalState Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
[ERROR] PendingNoticeWriterTest.invalidatePendingByIds_byIdOnly ? IllegalState Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
[ERROR] PendingNoticeWriterTest.listByBiz_delegatesWithBizAndTypeColumns ? IllegalState Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
[ERROR] PendingNoticeWriterTest.planOccupied_arbitraryStatusOccupies ? IllegalState Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
|
||
|
|
[INFO]
|
||
|
|
[ERROR] Tests run: 44, Failures: 0, Errors: 6, Skipped: 0
|
||
|
|
[INFO]
|
||
|
|
[INFO] ------------------------------------------------------------------------
|
||
|
|
[INFO] Reactor Summary for crm 1.0.0-SNAPSHOT:
|
||
|
|
[INFO]
|
||
|
|
[INFO] crm ................................................ SUCCESS [ 0.002 s]
|
||
|
|
[INFO] crm-base ........................................... FAILURE [ 13.749 s]
|
||
|
|
[INFO] crm-file ........................................... SKIPPED
|
||
|
|
[INFO] crm-auth ........................................... SKIPPED
|
||
|
|
[INFO] crm-dict ........................................... SKIPPED
|
||
|
|
[INFO] crm-rule ........................................... SKIPPED
|
||
|
|
[INFO] crm-preference ..................................... SKIPPED
|
||
|
|
[INFO] crm-customer ....................................... SKIPPED
|
||
|
|
[INFO] ------------------------------------------------------------------------
|
||
|
|
[INFO] BUILD FAILURE
|
||
|
|
[INFO] ------------------------------------------------------------------------
|
||
|
|
[INFO] Total time: 14.978 s
|
||
|
|
[INFO] Finished at: 2026-09-10T20:57:10+08:00
|
||
|
|
[INFO] ------------------------------------------------------------------------
|
||
|
|
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project crm-base:
|
||
|
|
[ERROR]
|
||
|
|
[ERROR] Please refer to E:\code\crm-backend-matt\crm-base\target\surefire-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
|
||
|
|
[ERROR]
|
||
|
|
[ERROR] After correcting the problems, you can resume the build with the command
|
||
|
|
[ERROR] mvn <args> -rf :crm-base
|