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
While running the tests on Java+TestNG+LogBack with new version of agent-java-testng by pointing to V5 ReportPortal, i'm getting following exception. It used to work well until 5.0.0-BETA-6 version.
Exception in thread "TestNG-test=Multiple-1" java.lang.NullPointerException: ItemID should not be null
at java.util.Objects.requireNonNull(Objects.java:228)
at com.epam.reportportal.service.LaunchImpl.finishTestItem(LaunchImpl.java:283)
at com.epam.reportportal.testng.TestNGService.finishTestMethod(TestNGService.java:167)
at com.epam.reportportal.testng.BaseTestNGListener.onTestFailure(BaseTestNGListener.java:93)
at org.testng.internal.TestListenerHelper.runTestListeners(TestListenerHelper.java:67)
at org.testng.internal.Invoker.runTestListeners(Invoker.java:1389)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1042)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Unfortunately, TestNG made version 7 binary incompatible with version 6. We have to follow TestNG versions since there are a batch of users who want to move forward. And we have very limited resources to support many versions of TestNG.
For anyone who end up with same issue, please update the TestNG version from 6.x.x to 7.x.x and update the TestNG version in IDE (in my case its Eclipse).
While running the tests on
Java+TestNG+LogBack
with new version ofagent-java-testng
by pointing to V5 ReportPortal, i'm getting following exception. It used to work well until5.0.0-BETA-6
version.pom.xml
TestNG.xml
OS: Mac, java version "1.8.0_201"
Note: You can run any TestNG test to reproduce it.
The text was updated successfully, but these errors were encountered: