Graqr / Threshr

real-time grocery query java library
GNU General Public License v3.0
1 stars 2 forks source link

nullpointer exception is thrown from null check error message #126

Closed Jonathan-Zollinger closed 2 weeks ago

Jonathan-Zollinger commented 3 weeks ago

Current Behavior

the error message in the null check in the threshr controller produces a null pointer exception.

We want to be sure this isn't a one-off problem.

Expected Behavior

performing a query that produces a null-bodied response will provide meaningful data instead of a new null-pointer exception.

Steps To Reproduce

1. make a bad call, ie querying the pdp page with tcin `123456` and a valid store number
2. profites-en.

A picture is worth a thousand words

output from spock test ```MAVEN Condition not satisfied: errStream.toString().isBlank() | | | | | false | java.lang.NullPointerException: Cannot invoke "Object.getClass()" because the return value of "io.micronaut.http.HttpResponse.body()" is null | at com.graqr.threshr.ThreshrController.checkForNull(ThreshrController.java:147) | at com.graqr.threshr.ThreshrController.fetchProductDetails(ThreshrController.java:71) | at com.graqr.threshr.ThreshrCli.run(ThreshrCli.java:41) | at picocli.CommandLine.executeUserObject(CommandLine.java:2026) | at picocli.CommandLine.access$1500(CommandLine.java:148) | at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461) | at picocli.CommandLine$RunLast.handle(CommandLine.java:2453) | at picocli.CommandLine$RunLast.handle(CommandLine.java:2415) | at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273) | at picocli.CommandLine$RunLast.execute(CommandLine.java:2417) | at picocli.CommandLine.execute(CommandLine.java:2170) | at io.micronaut.configuration.picocli.PicocliRunner.run(PicocliRunner.java:146) | at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) | at com.graqr.threshr.ThreshrCliSpec.execute(ThreshrCliSpec.groovy:40) | at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) | at com.graqr.threshr.ThreshrCliSpec.$spock_feature_1_2(ThreshrCliSpec.groovy:94) | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | at java.base/java.lang.reflect.Method.invoke(Method.java:568) | at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:187) | at org.spockframework.runtime.model.MethodInfo.lambda$new$0(MethodInfo.java:49) | at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156) | at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:102) | at io.micronaut.test.extensions.spock.MicronautSpockExtension.lambda$visitSpecAnnotation$0(MicronautSpockExtension.java:77) | at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101) | at org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:398) | at org.spockframework.runtime.PlatformSpecRunner.runFeatureMethod(PlatformSpecRunner.java:324) | at org.spockframework.runtime.IterationNode.execute(IterationNode.java:50) | at org.spockframework.runtime.IterationNode.execute(IterationNode.java:13) | 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.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40) | at org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67) | at org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236) | at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156) | at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:102) | at io.micronaut.test.extensions.spock.MicronautSpockExtension$3.proceed(MicronautSpockExtension.java:199) | at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162) | at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119) | at io.micronaut.test.extensions.spock.MicronautSpockExtension.getInvocationInterceptor(MicronautSpockExtension.java:191) | at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101) | at org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:398) | at org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218) | at org.spockframework.runtime.IterationNode.around(IterationNode.java:67) | at org.spockframework.runtime.IterationNode.around(IterationNode.java:13) | 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.spockframework.runtime.ParameterizedFeatureChildExecutor.execute(ParameterizedFeatureChildExecutor.java:104) | at org.spockframework.runtime.PlatformParameterizedSpecRunner$1.runIteration(PlatformParameterizedSpecRunner.java:72) | at org.spockframework.runtime.extension.IDataDriver.lambda$static$0(IDataDriver.java:37) | at org.spockframework.runtime.PlatformParameterizedSpecRunner.runParameterizedFeature(PlatformParameterizedSpecRunner.java:47) | at org.spockframework.runtime.ParameterizedFeatureNode.execute(ParameterizedFeatureNode.java:40) | at org.spockframework.runtime.ParameterizedFeatureNode.execute(ParameterizedFeatureNode.java:16) | 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.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40) | at org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41) | at org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199) | at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156) | at org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407) | at org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390) | at org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192) | at org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41) | at org.spockframework.runtime.FeatureNode.around(FeatureNode.java:12) | 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:1511) | 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.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40) | at org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63) | at org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61) | at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156) | at org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407) | at org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390) | at org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55) | at org.spockframework.runtime.SpecNode.around(SpecNode.java:63) | at org.spockframework.runtime.SpecNode.around(SpecNode.java:11) | 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:1511) | 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:198) | at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) | at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) | at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) | at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) | at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) | at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) | at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) | at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) | at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:63) | at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:57) | at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) | at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) | at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) | at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) | at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55) java.lang.NullPointerException: Cannot invoke "Object.getClass()" because the return value of "io.micronaut.http.HttpResponse.body()" is null at com.graqr.threshr.ThreshrController.checkForNull(ThreshrController.java:147) at com.graqr.threshr.ThreshrController.fetchProductDetails(ThreshrController.java:71) at com.graqr.threshr.ThreshrCli.run(ThreshrCli.java:41) at picocli.CommandLine.executeUserObject(CommandLine.java:2026) at picocli.CommandLine.access$1500(CommandLine.java:148) at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461) at picocli.CommandLine$RunLast.handle(CommandLine.java:2453) at picocli.CommandLine$RunLast.handle(CommandLine.java:2415) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273) at picocli.CommandLine$RunLast.execute(CommandLine.java:2417) at picocli.CommandLine.execute(CommandLine.java:2170) at io.micronaut.configuration.picocli.PicocliRunner.run(PicocliRunner.java:146) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at com.graqr.threshr.ThreshrCliSpec.execute(ThreshrCliSpec.groovy:40) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at com.graqr.threshr.ThreshrCliSpec.$spock_feature_1_2(ThreshrCliSpec.groovy:94) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:187) at org.spockframework.runtime.model.MethodInfo.lambda$new$0(MethodInfo.java:49) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:102) at io.micronaut.test.extensions.spock.MicronautSpockExtension.lambda$visitSpecAnnotation$0(MicronautSpockExtension.java:77) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101) at org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:398) at org.spockframework.runtime.PlatformSpecRunner.runFeatureMethod(PlatformSpecRunner.java:324) at org.spockframework.runtime.IterationNode.execute(IterationNode.java:50) at org.spockframework.runtime.IterationNode.execute(IterationNode.java:13) 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.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40) at org.spockframework.runtime.IterationNode.lambda$around$0(IterationNode.java:67) at org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunIteration$5(PlatformSpecRunner.java:236) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:102) at io.micronaut.test.extensions.spock.MicronautSpockExtension$3.proceed(MicronautSpockExtension.java:199) at io.micronaut.test.extensions.AbstractMicronautExtension.interceptEach(AbstractMicronautExtension.java:162) at io.micronaut.test.extensions.AbstractMicronautExtension.interceptTest(AbstractMicronautExtension.java:119) at io.micronaut.test.extensions.spock.MicronautSpockExtension.getInvocationInterceptor(MicronautSpockExtension.java:191) at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:101) at org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:398) at org.spockframework.runtime.PlatformSpecRunner.runIteration(PlatformSpecRunner.java:218) at org.spockframework.runtime.IterationNode.around(IterationNode.java:67) at org.spockframework.runtime.IterationNode.around(IterationNode.java:13) 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.spockframework.runtime.ParameterizedFeatureChildExecutor.execute(ParameterizedFeatureChildExecutor.java:104) at org.spockframework.runtime.PlatformParameterizedSpecRunner$1.runIteration(PlatformParameterizedSpecRunner.java:72) at org.spockframework.runtime.extension.IDataDriver.lambda$static$0(IDataDriver.java:37) at org.spockframework.runtime.PlatformParameterizedSpecRunner.runParameterizedFeature(PlatformParameterizedSpecRunner.java:47) at org.spockframework.runtime.ParameterizedFeatureNode.execute(ParameterizedFeatureNode.java:40) at org.spockframework.runtime.ParameterizedFeatureNode.execute(ParameterizedFeatureNode.java:16) 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.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40) at org.spockframework.runtime.FeatureNode.lambda$around$0(FeatureNode.java:41) at org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunFeature$4(PlatformSpecRunner.java:199) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156) at org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407) at org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390) at org.spockframework.runtime.PlatformSpecRunner.runFeature(PlatformSpecRunner.java:192) at org.spockframework.runtime.FeatureNode.around(FeatureNode.java:41) at org.spockframework.runtime.FeatureNode.around(FeatureNode.java:12) 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:1511) 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.spockframework.runtime.SpockNode.sneakyInvoke(SpockNode.java:40) at org.spockframework.runtime.SpecNode.lambda$around$0(SpecNode.java:63) at org.spockframework.runtime.PlatformSpecRunner.lambda$createMethodInfoForDoRunSpec$0(PlatformSpecRunner.java:61) at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:156) at org.spockframework.runtime.PlatformSpecRunner.invokeRaw(PlatformSpecRunner.java:407) at org.spockframework.runtime.PlatformSpecRunner.invoke(PlatformSpecRunner.java:390) at org.spockframework.runtime.PlatformSpecRunner.runSpec(PlatformSpecRunner.java:55) at org.spockframework.runtime.SpecNode.around(SpecNode.java:63) at org.spockframework.runtime.SpecNode.around(SpecNode.java:11) 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:1511) 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:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:63) at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:57) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55) at com.graqr.threshr.ThreshrCliSpec.querying tcin with store id returns data for that tcin from a specific store(ThreshrCliSpec.groovy:97) ```

Environment

Code of Conduct