You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Deepak Mahapatro (JIRA)" <ji...@apache.org> on 2016/08/16 01:09:20 UTC

[jira] [Created] (SUREFIRE-1269) FileNotFoundException by SureFire after execution of tests

Deepak Mahapatro created SUREFIRE-1269:
------------------------------------------

             Summary: FileNotFoundException by SureFire after execution of tests
                 Key: SUREFIRE-1269
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1269
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Surefire Plugin, TestNG support
    Affects Versions: 2.19.1
         Environment: OS: Win10
Java: 8 rev.102
Maven: 3.3.9
TestNG: 6.9.10
SureFire: 2.19.1
SystemMemory: 16G
            Reporter: Deepak Mahapatro
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)