[ https://issues.apache.org/jira/browse/SUREFIRE-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15422379#comment-15422379 ]
Julien Herr commented on SUREFIRE-1269: --------------------------------------- The problem is located in JqReporter: https://github.com/cbeust/testng/blob/master/src/main/java/org/testng/reporters/JqReporter.java#L40 `org.testng.reporters.jq.Main` should be used instead. > 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 > Attachments: Test.zip, screenshot-1.png > > > 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)