Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ExtentReports.close() has thrown an ExtentTestInterruptedException
    Unsorted
    1
    5
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
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)
21 frames hidden

Solution

Palli Naresh1 year ago

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

External results for this pattern (6)

  1. blairlearnvia GitHub3 months ago
    Close was called before test could end safely using EndTest.
    Show stack trace
  2. anil339597via GitHub1 year ago
    Close was called before test could end safely using EndTest.
    Show stack trace
  3. joseph873via GitHub2 years ago
    Close was called before test could end safely using EndTest.
    Show stack trace
  4. testphreakvia GitHub2 years ago
    Close was called before test could end safely using EndTest.
    Show stack trace