You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation doesn't manage the case where the suite is empty:
Caused by: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
Caused by: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.base/java.util.Objects.checkIndex(Objects.java:361)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at org.ops4j.pax.exam.testng.listener.PaxExam.stageReactor(PaxExam.java:224)
at org.ops4j.pax.exam.testng.listener.PaxExam.onStart(PaxExam.java:186)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:242)
at org.testng.SuiteRunner.run(SuiteRunner.java:310)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
The "current" (abandoned) version 5 wasn't touched for 7 years. See also the refactoring mentioned in PAXEXAM-772.
Do you have capacity to backport the approach to 4.x?
The current implementation doesn't manage the case where the suite is empty:
https://github.com/ops4j/org.ops4j.pax.exam2/blob/master/drivers/pax-exam-testng/src/main/java/org/ops4j/pax/exam/testng/driver/DriverListener.java#L153-L154
The text was updated successfully, but these errors were encountered: