com.relevantcodes.extentreports.ExtentTestInterruptedException: Close was called before test could end safely using EndTest.

GitHub | testphreak | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 213#238036809

    GitHub | 9 months ago | testphreak
    com.relevantcodes.extentreports.ExtentTestInterruptedException: Close was called before test could end safely using EndTest.
  2. 0

    GitHub comment 616#245072149

    GitHub | 8 months ago | joseph873
    com.relevantcodes.extentreports.ExtentTestInterruptedException: Close was called before test could end safely using EndTest.
  3. 0

    getting below exception while running report

    GitHub | 1 year ago | anil339597
    com.relevantcodes.extentreports.ExtentTestInterruptedException: Close was called before test could end safely using EndTest.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Extent report :com.relevantcodes.extentreports.ExtentTestInterruptedException: Close was called before test could end safely using EndTest

    Stack Overflow | 5 months ago | Shashank Bisht
    com.relevantcodes.extentreports.ExtentTestInterruptedException: Close was called before test could end safely using EndTest.

  1. pgudi 1 times, last 1 year ago
2 unregistered visitors

Root Cause Analysis

  1. com.relevantcodes.extentreports.ExtentTestInterruptedException

    Close was called before test could end safely using EndTest.

    at com.relevantcodes.extentreports.Report.terminate()
  2. com.relevantcodes.extentreports
    ExtentReports.close
    1. com.relevantcodes.extentreports.Report.terminate(Report.java:421)
    2. com.relevantcodes.extentreports.ExtentReports.close(ExtentReports.java:920)
    2 frames
  3. com.axiom.turbo
    BaseTest.closeExtentReports
    1. com.axiom.turbo.webdriver.BaseTest.closeExtentReports(BaseTest.java:404)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  5. TestNG
    TestNG.run
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
    2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:515)
    3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:216)
    4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:143)
    5. org.testng.SuiteRunner.privateRun(SuiteRunner.java:336)
    6. org.testng.SuiteRunner.run(SuiteRunner.java:268)
    7. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    8. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    9. org.testng.TestNG.runSuitesSequentially(TestNG.java:1225)
    10. org.testng.TestNG.runSuitesLocally(TestNG.java:1150)
    11. org.testng.TestNG.runSuites(TestNG.java:1075)
    12. org.testng.TestNG.run(TestNG.java:1047)
    12 frames
  6. org.apache.maven
    TestNGProvider.invoke
    1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:281)
    2. org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
    3. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:121)
    3 frames
  7. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    3 frames