Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Xray 2023 S3, Xray 2023 S4, Xray 2023 S5
-
Description
This kind of template may lead to an error:
Tests[t].TestRuns[r].Iterations[i].PreConditions[a].Summary
At the logs will appear:
java.lang.NullPointerExceptionjava.lang.NullPointerException at sun.reflect.GeneratedMethodAccessor1960.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.xpandit.raven.document.generator.mapping.simple.SimpleMapper.lambda$getMapping$0(SimpleMapper.java:77)
To reproduce this you need to have an initialised Test Run with outdated Pre-Condition info at the "Pre-Conditions" section, that info will refer to an issue that no longer exists (typically the merge/reset message will appear at the top of the execution page).