Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Hi Team,

    While executing tests using multithreading getting below error.

    com.relevantcodes.extentreports.ExtentTestInterruptedException: Close was called before test could end safely using EndTest. at com.relevantcodes.extentreports.Report.terminate(Re

Solutions on the web

via GitHub by testphreak
, 2 years ago
Close was called before test could end safely using EndTest.
via GitHub by blairlearn
, 1 month ago
Close was called before test could end safely using EndTest.
via GitHub by joseph873
, 2 years ago
Close was called before test could end safely using EndTest.
via GitHub by anil339597
, 2 years ago
Close was called before test could end safely using EndTest.
com.relevantcodes.extentreports.ExtentTestInterruptedException: Close was called before test could end safely using EndTest. at com.relevantcodes.extentreports.Report.terminate(Report.java:421) at com.relevantcodes.extentreports.ExtentReports.close(ExtentReports.java:920) at com.axiom.turbo.webdriver.BaseTest.closeExtentReports(BaseTest.java:404) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:515) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:216) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:143) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:336) at org.testng.SuiteRunner.run(SuiteRunner.java:268) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1225) at org.testng.TestNG.runSuitesLocally(TestNG.java:1150) at org.testng.TestNG.runSuites(TestNG.java:1075) at org.testng.TestNG.run(TestNG.java:1047) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281) at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)