-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while generating report #160
Comments
I have no idea and information you provided are not very helpful |
I think the cucumber plugin version 2.0.0 is not compatible with jenkins 1.516. So i downgraded the version of the cucumber reports plugin to 0.2.0. The other jars i am using in my pom are Now i am getting the following exception while generating the report: [CucumberReportPublisher] Generating HTML reports |
FYI...There is only one json file produced in the target directory and it is valid as i checked it |
Please find the json below: [ |
I can generate report from above JSON. Don't downgrade because older versions are not supported |
I am also facing the NullPointerException issue with version 0.0.23 with jenkins version 1.516. |
@damianszczepanik Version 2.0.0 of the plugin with jenkins 1.516 gives the exception in my original post. I am not in a position to upgrade the jenkins version since it is shared across projects. |
Hello,
I am getting the following exception while generating the report.
cucumber reports plugin version 2.0.0
jenkins version 1.516
The version of commons-io in my test project pom is 2.4 and i can see that the plugin also uses the same.
Can you please let me know what is wrong?
FATAL: org.apache.commons.io.FileUtils.copyInputStreamToFile(Ljava/io/InputStream;Ljava/io/File;)V
java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.copyInputStreamToFile(Ljava/io/InputStream;Ljava/io/File;)V
at net.masterthought.cucumber.ReportBuilder.copyResources(ReportBuilder.java:84)
at net.masterthought.cucumber.ReportBuilder.copyStaticResources(ReportBuilder.java:60)
at net.masterthought.cucumber.ReportBuilder.generateReports(ReportBuilder.java:50)
at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:134)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:960)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
at hudson.model.Run.execute(Run.java:1601)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:486)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:241)
The text was updated successfully, but these errors were encountered: