-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KOGITO-9844] Enhace jq validation to detect invalid functions #3239
Conversation
7117a39
to
4bee484
Compare
@@ -275,6 +275,12 @@ void testMagicWordsExpressions(String expression, String expectedResult, KogitoP | |||
assertThat(parsedExpression.eval(getObjectNode(), String.class, context)).isEqualTo(expectedResult); | |||
} | |||
|
|||
@Test | |||
void testHardcodedStringIsValidOrNot() { | |||
assertThat(ExpressionHandlerFactory.get("jq", "kserve_payload = to_kserve(image)").isValid()).isFalse(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isValid was returning true before this PR for that expression
PR job Reproducerbuild-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u #3239 --skipParallelCheckout NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3239/6/display/redirect Test results:
Those are the test failures: org.kie.kogito.serverless.workflow.executor.StaticFluentWorkflowApplicationTest.testInterpolationjava.lang.NullPointerExceptionat org.kie.kogito.expr.jq.JqExpression.getAllExprFields(JqExpression.java:205) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:195) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:197) at org.kie.kogito.expr.jq.JqExpression.(JqExpression.java:68) at org.kie.kogito.expr.jq.JqExpressionHandler.buildExpression(JqExpressionHandler.java:57) at java.base/java.util.Map.computeIfAbsent(Map.java:1003) at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2682) at org.kie.kogito.serverless.workflow.utils.CachedExpressionHandler.get(CachedExpressionHandler.java:34) at org.kie.kogito.process.expr.ExpressionHandlerFactory.get(ExpressionHandlerFactory.java:33) at org.kie.kogito.serverless.workflow.actions.BaseExpressionAction.(BaseExpressionAction.java:34) at org.kie.kogito.serverless.workflow.actions.ExpressionAction.(ExpressionAction.java:30) at org.kie.kogito.serverless.workflow.suppliers.ExpressionActionSupplier.(ExpressionActionSupplier.java:72) at org.kie.kogito.serverless.workflow.suppliers.ExpressionActionSupplier$Builder.build(ExpressionActionSupplier.java:65) at org.kie.kogito.serverless.workflow.parser.types.ExpressionTypeHandler.fillAction(ExpressionTypeHandler.java:39) at org.kie.kogito.serverless.workflow.parser.types.ActionTypeHandler.getActionNode(ActionTypeHandler.java:43) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$fromFunctionDefinition$8(CompositeContextNodeHandler.java:214) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.fromFunctionDefinition(CompositeContextNodeHandler.java:214) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$getActionNode$5(CompositeContextNodeHandler.java:200) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:200) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$processActionFilter$0(CompositeContextNodeHandler.java:160) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.filterAndMergeNode(StateHandler.java:436) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.processActionFilter(CompositeContextNodeHandler.java:159) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:97) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:80) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:72) at org.kie.kogito.serverless.workflow.parser.handlers.OperationHandler.makeNode(OperationHandler.java:40) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:188) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:184) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.parseProcess(ServerlessWorkflowParser.java:143) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.getProcessInfo(ServerlessWorkflowParser.java:182) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.createProcess(StaticWorkflowApplication.java:280) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.process(StaticWorkflowApplication.java:233) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.lambda$findOrCreate$1(StaticWorkflowApplication.java:187) at java.base/java.util.Optional.orElseGet(Optional.java:369) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.findOrCreate(StaticWorkflowApplication.java:187) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.execute(StaticWorkflowApplication.java:165) at org.kie.kogito.serverless.workflow.executor.StaticFluentWorkflowApplicationTest.testInterpolation(StaticFluentWorkflowApplicationTest.java:196) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) 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:217) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) 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:147) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) 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) org.kie.kogito.serverless.workflow.executor.StaticFluentWorkflowApplicationTest.testLoggingjava.lang.NullPointerExceptionat org.kie.kogito.expr.jq.JqExpression.getAllExprFields(JqExpression.java:205) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:195) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:197) at org.kie.kogito.expr.jq.JqExpression.(JqExpression.java:68) at org.kie.kogito.expr.jq.JqExpressionHandler.buildExpression(JqExpressionHandler.java:57) at java.base/java.util.Map.computeIfAbsent(Map.java:1003) at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2682) at org.kie.kogito.serverless.workflow.utils.CachedExpressionHandler.get(CachedExpressionHandler.java:34) at org.kie.kogito.process.expr.ExpressionHandlerFactory.get(ExpressionHandlerFactory.java:33) at org.kie.kogito.serverless.workflow.actions.BaseExpressionAction.(BaseExpressionAction.java:34) at org.kie.kogito.serverless.workflow.actions.SysoutAction.(SysoutAction.java:34) at org.kie.kogito.serverless.workflow.suppliers.SysoutActionSupplier.(SysoutActionSupplier.java:32) at org.kie.kogito.serverless.workflow.parser.types.SysOutTypeHandler.fillAction(SysOutTypeHandler.java:46) at org.kie.kogito.serverless.workflow.parser.types.ActionTypeHandler.getActionNode(ActionTypeHandler.java:43) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$fromFunctionDefinition$8(CompositeContextNodeHandler.java:214) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.fromFunctionDefinition(CompositeContextNodeHandler.java:214) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$getActionNode$5(CompositeContextNodeHandler.java:200) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:200) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$processActionFilter$0(CompositeContextNodeHandler.java:160) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.filterAndMergeNode(StateHandler.java:436) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.processActionFilter(CompositeContextNodeHandler.java:159) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:97) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:80) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:72) at org.kie.kogito.serverless.workflow.parser.handlers.OperationHandler.makeNode(OperationHandler.java:40) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:188) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:184) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.parseProcess(ServerlessWorkflowParser.java:143) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.getProcessInfo(ServerlessWorkflowParser.java:182) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.createProcess(StaticWorkflowApplication.java:280) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.process(StaticWorkflowApplication.java:233) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.lambda$findOrCreate$1(StaticWorkflowApplication.java:187) at java.base/java.util.Optional.orElseGet(Optional.java:369) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.findOrCreate(StaticWorkflowApplication.java:187) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.execute(StaticWorkflowApplication.java:165) at org.kie.kogito.serverless.workflow.executor.StaticFluentWorkflowApplicationTest.testLogging(StaticFluentWorkflowApplicationTest.java:227) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) 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:217) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) 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:147) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) 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) org.kie.kogito.serverless.workflow.executor.StaticFluentWorkflowApplicationTest.testConstantInterpolationjava.lang.NullPointerExceptionat org.kie.kogito.expr.jq.JqExpression.getAllExprFields(JqExpression.java:205) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:195) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:197) at org.kie.kogito.expr.jq.JqExpression.(JqExpression.java:68) at org.kie.kogito.expr.jq.JqExpressionHandler.buildExpression(JqExpressionHandler.java:57) at java.base/java.util.Map.computeIfAbsent(Map.java:1003) at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2682) at org.kie.kogito.serverless.workflow.utils.CachedExpressionHandler.get(CachedExpressionHandler.java:34) at org.kie.kogito.process.expr.ExpressionHandlerFactory.get(ExpressionHandlerFactory.java:33) at org.kie.kogito.serverless.workflow.actions.BaseExpressionAction.(BaseExpressionAction.java:34) at org.kie.kogito.serverless.workflow.actions.ExpressionAction.(ExpressionAction.java:30) at org.kie.kogito.serverless.workflow.suppliers.ExpressionActionSupplier.(ExpressionActionSupplier.java:72) at org.kie.kogito.serverless.workflow.suppliers.ExpressionActionSupplier$Builder.build(ExpressionActionSupplier.java:65) at org.kie.kogito.serverless.workflow.parser.types.ExpressionTypeHandler.fillAction(ExpressionTypeHandler.java:39) at org.kie.kogito.serverless.workflow.parser.types.ActionTypeHandler.getActionNode(ActionTypeHandler.java:43) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$fromFunctionDefinition$8(CompositeContextNodeHandler.java:214) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.fromFunctionDefinition(CompositeContextNodeHandler.java:214) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$getActionNode$5(CompositeContextNodeHandler.java:200) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:200) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$processActionFilter$0(CompositeContextNodeHandler.java:160) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.filterAndMergeNode(StateHandler.java:436) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.processActionFilter(CompositeContextNodeHandler.java:159) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:97) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:80) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:72) at org.kie.kogito.serverless.workflow.parser.handlers.OperationHandler.makeNode(OperationHandler.java:40) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:188) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:184) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.parseProcess(ServerlessWorkflowParser.java:143) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.getProcessInfo(ServerlessWorkflowParser.java:182) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.createProcess(StaticWorkflowApplication.java:280) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.process(StaticWorkflowApplication.java:233) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.lambda$findOrCreate$1(StaticWorkflowApplication.java:187) at java.base/java.util.Optional.orElseGet(Optional.java:369) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.findOrCreate(StaticWorkflowApplication.java:187) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.execute(StaticWorkflowApplication.java:165) at org.kie.kogito.serverless.workflow.executor.StaticFluentWorkflowApplicationTest.testConstantInterpolation(StaticFluentWorkflowApplicationTest.java:264) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) 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:217) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) 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:147) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) 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) org.kie.kogito.serverless.workflow.executor.StaticFluentWorkflowApplicationTest.testSwitchjava.lang.NullPointerExceptionat org.kie.kogito.expr.jq.JqExpression.getAllExprFields(JqExpression.java:205) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:195) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:197) at org.kie.kogito.expr.jq.JqExpression.(JqExpression.java:68) at org.kie.kogito.expr.jq.JqExpressionHandler.buildExpression(JqExpressionHandler.java:57) at java.base/java.util.Map.computeIfAbsent(Map.java:1003) at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2682) at org.kie.kogito.serverless.workflow.utils.CachedExpressionHandler.get(CachedExpressionHandler.java:34) at org.kie.kogito.process.expr.ExpressionHandlerFactory.get(ExpressionHandlerFactory.java:33) at org.kie.kogito.serverless.workflow.actions.BaseExpressionAction.(BaseExpressionAction.java:34) at org.kie.kogito.serverless.workflow.actions.SysoutAction.(SysoutAction.java:34) at org.kie.kogito.serverless.workflow.suppliers.SysoutActionSupplier.(SysoutActionSupplier.java:32) at org.kie.kogito.serverless.workflow.parser.types.SysOutTypeHandler.fillAction(SysOutTypeHandler.java:46) at org.kie.kogito.serverless.workflow.parser.types.ActionTypeHandler.getActionNode(ActionTypeHandler.java:43) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$fromFunctionDefinition$8(CompositeContextNodeHandler.java:214) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.fromFunctionDefinition(CompositeContextNodeHandler.java:214) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$getActionNode$5(CompositeContextNodeHandler.java:200) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:200) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$processActionFilter$0(CompositeContextNodeHandler.java:160) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.filterAndMergeNode(StateHandler.java:436) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.processActionFilter(CompositeContextNodeHandler.java:159) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:97) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:80) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:72) at org.kie.kogito.serverless.workflow.parser.handlers.OperationHandler.makeNode(OperationHandler.java:40) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:188) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:184) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.parseProcess(ServerlessWorkflowParser.java:143) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.getProcessInfo(ServerlessWorkflowParser.java:182) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.createProcess(StaticWorkflowApplication.java:280) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.process(StaticWorkflowApplication.java:233) at org.kie.kogito.serverless.workflow.executor.StaticFluentWorkflowApplicationTest.testSwitch(StaticFluentWorkflowApplicationTest.java:121) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) 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:217) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) 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:147) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) 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) org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplicationTest.interpolationFile(String, WorkflowFormat)[1]java.lang.NullPointerExceptionat org.kie.kogito.expr.jq.JqExpression.getAllExprFields(JqExpression.java:205) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:195) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:197) at org.kie.kogito.expr.jq.JqExpression.(JqExpression.java:68) at org.kie.kogito.expr.jq.JqExpressionHandler.buildExpression(JqExpressionHandler.java:57) at java.base/java.util.Map.computeIfAbsent(Map.java:1003) at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2682) at org.kie.kogito.serverless.workflow.utils.CachedExpressionHandler.get(CachedExpressionHandler.java:34) at org.kie.kogito.process.expr.ExpressionHandlerFactory.get(ExpressionHandlerFactory.java:33) at org.kie.kogito.serverless.workflow.actions.BaseExpressionAction.(BaseExpressionAction.java:34) at org.kie.kogito.serverless.workflow.actions.SysoutAction.(SysoutAction.java:34) at org.kie.kogito.serverless.workflow.suppliers.SysoutActionSupplier.(SysoutActionSupplier.java:32) at org.kie.kogito.serverless.workflow.parser.types.SysOutTypeHandler.fillAction(SysOutTypeHandler.java:46) at org.kie.kogito.serverless.workflow.parser.types.ActionTypeHandler.getActionNode(ActionTypeHandler.java:43) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$fromFunctionDefinition$8(CompositeContextNodeHandler.java:214) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.fromFunctionDefinition(CompositeContextNodeHandler.java:214) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$getActionNode$5(CompositeContextNodeHandler.java:200) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:200) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$processActionFilter$0(CompositeContextNodeHandler.java:160) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.filterAndMergeNode(StateHandler.java:436) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.processActionFilter(CompositeContextNodeHandler.java:159) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:97) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:80) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:72) at org.kie.kogito.serverless.workflow.parser.handlers.OperationHandler.makeNode(OperationHandler.java:40) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:188) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:184) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.parseProcess(ServerlessWorkflowParser.java:143) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.getProcessInfo(ServerlessWorkflowParser.java:182) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.createProcess(StaticWorkflowApplication.java:280) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.process(StaticWorkflowApplication.java:233) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.lambda$findOrCreate$1(StaticWorkflowApplication.java:187) at java.base/java.util.Optional.orElseGet(Optional.java:369) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.findOrCreate(StaticWorkflowApplication.java:187) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.execute(StaticWorkflowApplication.java:165) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplicationTest.interpolationFile(StaticWorkflowApplicationTest.java:89) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) 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.interceptTestTemplateMethod(TimeoutExtension.java:94) 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:217) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:226) at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:204) at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:142) at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:110) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:110) at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:44) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) 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:147) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) 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) org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplicationTest.interpolationFile(String, WorkflowFormat)[2]java.lang.NullPointerExceptionat org.kie.kogito.expr.jq.JqExpression.getAllExprFields(JqExpression.java:205) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:195) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:197) at org.kie.kogito.expr.jq.JqExpression.(JqExpression.java:68) at org.kie.kogito.expr.jq.JqExpressionHandler.buildExpression(JqExpressionHandler.java:57) at java.base/java.util.Map.computeIfAbsent(Map.java:1003) at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2682) at org.kie.kogito.serverless.workflow.utils.CachedExpressionHandler.get(CachedExpressionHandler.java:34) at org.kie.kogito.process.expr.ExpressionHandlerFactory.get(ExpressionHandlerFactory.java:33) at org.kie.kogito.serverless.workflow.actions.BaseExpressionAction.(BaseExpressionAction.java:34) at org.kie.kogito.serverless.workflow.actions.SysoutAction.(SysoutAction.java:34) at org.kie.kogito.serverless.workflow.suppliers.SysoutActionSupplier.(SysoutActionSupplier.java:32) at org.kie.kogito.serverless.workflow.parser.types.SysOutTypeHandler.fillAction(SysOutTypeHandler.java:46) at org.kie.kogito.serverless.workflow.parser.types.ActionTypeHandler.getActionNode(ActionTypeHandler.java:43) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$fromFunctionDefinition$8(CompositeContextNodeHandler.java:214) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.fromFunctionDefinition(CompositeContextNodeHandler.java:214) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$getActionNode$5(CompositeContextNodeHandler.java:200) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:200) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$processActionFilter$0(CompositeContextNodeHandler.java:160) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.filterAndMergeNode(StateHandler.java:436) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.processActionFilter(CompositeContextNodeHandler.java:159) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:97) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:80) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:72) at org.kie.kogito.serverless.workflow.parser.handlers.OperationHandler.makeNode(OperationHandler.java:40) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:188) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:184) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.parseProcess(ServerlessWorkflowParser.java:143) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.getProcessInfo(ServerlessWorkflowParser.java:182) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.createProcess(StaticWorkflowApplication.java:280) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.process(StaticWorkflowApplication.java:233) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.lambda$findOrCreate$1(StaticWorkflowApplication.java:187) at java.base/java.util.Optional.orElseGet(Optional.java:369) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.findOrCreate(StaticWorkflowApplication.java:187) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.execute(StaticWorkflowApplication.java:165) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplicationTest.interpolationFile(StaticWorkflowApplicationTest.java:89) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) 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.interceptTestTemplateMethod(TimeoutExtension.java:94) 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:217) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:226) at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:204) at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:142) at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:110) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:110) at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:44) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) 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:147) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) 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) org.kie.kogito.serverless.workflow.executor.RPCWorkflowApplicationTest.rpcInvocationjava.lang.NullPointerExceptionat org.kie.kogito.expr.jq.JqExpression.getAllExprFields(JqExpression.java:205) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:195) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:197) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:197) at org.kie.kogito.expr.jq.JqExpression.checkFunctionCall(JqExpression.java:197) at org.kie.kogito.expr.jq.JqExpression.(JqExpression.java:68) at org.kie.kogito.expr.jq.JqExpressionHandler.buildExpression(JqExpressionHandler.java:57) at java.base/java.util.Map.computeIfAbsent(Map.java:1003) at java.base/java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2682) at org.kie.kogito.serverless.workflow.utils.CachedExpressionHandler.get(CachedExpressionHandler.java:34) at org.kie.kogito.process.expr.ExpressionHandlerFactory.get(ExpressionHandlerFactory.java:33) at org.kie.kogito.serverless.workflow.actions.BaseExpressionAction.(BaseExpressionAction.java:34) at org.kie.kogito.serverless.workflow.actions.ExpressionAction.(ExpressionAction.java:30) at org.kie.kogito.serverless.workflow.suppliers.ExpressionActionSupplier.(ExpressionActionSupplier.java:72) at org.kie.kogito.serverless.workflow.suppliers.ExpressionActionSupplier$Builder.build(ExpressionActionSupplier.java:65) at org.kie.kogito.serverless.workflow.parser.types.ExpressionTypeHandler.fillAction(ExpressionTypeHandler.java:39) at org.kie.kogito.serverless.workflow.parser.types.ActionTypeHandler.getActionNode(ActionTypeHandler.java:43) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$fromFunctionDefinition$8(CompositeContextNodeHandler.java:214) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.fromFunctionDefinition(CompositeContextNodeHandler.java:214) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$getActionNode$5(CompositeContextNodeHandler.java:200) at java.base/java.util.Optional.map(Optional.java:265) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:200) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.lambda$processActionFilter$0(CompositeContextNodeHandler.java:160) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.filterAndMergeNode(StateHandler.java:436) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.processActionFilter(CompositeContextNodeHandler.java:159) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.getActionNode(CompositeContextNodeHandler.java:97) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:80) at org.kie.kogito.serverless.workflow.parser.handlers.CompositeContextNodeHandler.handleActions(CompositeContextNodeHandler.java:72) at org.kie.kogito.serverless.workflow.parser.handlers.OperationHandler.makeNode(OperationHandler.java:40) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:188) at org.kie.kogito.serverless.workflow.parser.handlers.StateHandler.handleState(StateHandler.java:184) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.parseProcess(ServerlessWorkflowParser.java:143) at org.kie.kogito.serverless.workflow.parser.ServerlessWorkflowParser.getProcessInfo(ServerlessWorkflowParser.java:182) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.createProcess(StaticWorkflowApplication.java:280) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.process(StaticWorkflowApplication.java:233) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.lambda$findOrCreate$1(StaticWorkflowApplication.java:187) at java.base/java.util.Optional.orElseGet(Optional.java:369) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.findOrCreate(StaticWorkflowApplication.java:187) at org.kie.kogito.serverless.workflow.executor.StaticWorkflowApplication.execute(StaticWorkflowApplication.java:165) at org.kie.kogito.serverless.workflow.executor.RPCWorkflowApplicationTest.rpcInvocation(RPCWorkflowApplicationTest.java:64) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727) 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:217) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:155) 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:141) 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:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) 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:147) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) 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) |
…e#3239) * [KOGITO-9844] Enhace jq validation to detect invalid functions * [KOGITO-9844] Improving function call
See added test for a better understanding of the issue. Before this JIRA, isValid method was returning true for that expression, because of jq library internals.
This PR uses reflection to try to invoke functions calls (but only function calls) as part of validation procedure.