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 joseph873
, 1 year ago
Close was called before test could end safely using EndTest.
via GitHub by testphreak
, 1 year ago
Close was called before test could end safely using EndTest.
via GitHub by anil339597
, 1 year 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.IDES.autotest.suite.IJL.IJLAutoregtestsuitenew.afterSuite(IJLAutoregtestsuitenew.java:94)	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:498)	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:329)	at org.testng.SuiteRunner.run(SuiteRunner.java:261)	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)	at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)	at org.testng.TestNG.run(TestNG.java:1048)	at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:152)	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:57)