Description
How to reproduce
- Create a test with 2 steps
- Create a test run
- Delete one of the steps
- Do the following request
.../rest/raven/2.0/testrun?testExecIssueKey=abc-1&testIssueKey=abc-2
Actual result
java.lang.NullPointerException at com.xpandit.raven.rest.api.beans.testrun.TestRunBeanFactoryImpl.a(Unknown Source) at com.xpandit.raven.rest.api.beans.testrun.TestRunBeanFactoryImpl.b(Unknown Source) 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.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) at com.xpandit.raven.rest.api.beans.testrun.TestRunBeanFactoryImpl.c(Unknown Source