Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1269

FileNotFoundException by SureFire after execution of tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Bug
    • 2.19.1
    • None
    • None
    • OS: Win10
      Java: 8 rev.102
      Maven: 3.3.9
      TestNG: 6.9.10
      SureFire: 2.19.1
      SystemMemory: 16G

    Description

      After executing tests, maven is throwing a FienotFoundException which originates from surefire (I understood the source from trace.).

      java.io.FileNotFoundException: \Users\cedric\java\misc\jquery\head (The system cannot find the path specified)
      at java.io.FileInputStream.open0(Native Method)
      at java.io.FileInputStream.open(FileInputStream.java:195)
      at java.io.FileInputStream.<init>(FileInputStream.java:138)
      at org.testng.reporters.Files.readFile(Files.java:21)
      at org.testng.reporters.JqReporter.generateReport(JqReporter.java:40)
      at org.testng.TestNG.generateReports(TestNG.java:1135)
      at org.testng.TestNG.run(TestNG.java:1081)
      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)

      This is not impacting either test result or build status but it is creating some confusion while analyzing logs from both file system and from maven console.

      Attachments

        1. Test.zip
          2 kB
          Deepak Mahapatro
        2. screenshot-1.png
          53 kB
          Deepak Mahapatro

        Activity

          People

            tibordigana Tibor Digana
            dkm87 Deepak Mahapatro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: