Skip to content
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

NPE by report generation through "allure generate -o" #535

Closed
1 of 3 tasks
akriuchk opened this issue Aug 7, 2017 · 0 comments
Closed
1 of 3 tasks

NPE by report generation through "allure generate -o" #535

akriuchk opened this issue Aug 7, 2017 · 0 comments
Assignees
Labels
type:bug Something isn't working

Comments

@akriuchk
Copy link

akriuchk commented Aug 7, 2017

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

Generation of the report can be done with allure generate -o

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

  1. Checkout project from SVN
  2. Run testng framework with maven witch 'clean test' parameters
  3. Place results to ./report/results-source folder
  4. Execute allure from test resources ./src/test/resources/reporting/allure/bin/allure generate --clean ./report/results-source -o ./report/results

What is the expected behavior?

Report generated from files in source folder and placed in destination folder
There is no required files in .svn folder.

Please tell us about your environment:

Allure version 2.3.1
Test framework [email protected]
Allure adaptor [email protected]
Generate report using [email protected]
--- ---
Java 1.8.0_131
Linux 4.4.0-78-generic

Other information

Could not generate report: {}
java.nio.file.NoSuchFileException: /report/results/plugins/behaviors/.svn/prop-base/index.js.svn-base
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:243)
at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581)
at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
at java.nio.file.Files.copy(Files.java:1274)
at io.qameta.allure.util.CopyVisitor.visitFile(CopyVisitor.java:36)
at io.qameta.allure.util.CopyVisitor.visitFile(CopyVisitor.java:16)
at java.nio.file.Files.walkFileTree(Files.java:2670)
at java.nio.file.Files.walkFileTree(Files.java:2742)
at io.qameta.allure.plugin.DefaultPlugin.unpackReportStatic(DefaultPlugin.java:44)
at io.qameta.allure.core.ReportWebPlugin.writePluginsStatic(ReportWebPlugin.java:48)
at io.qameta.allure.core.ReportWebPlugin.aggregate(ReportWebPlugin.java:38)
at io.qameta.allure.ReportGenerator.aggregate(ReportGenerator.java:38)
at io.qameta.allure.ReportGenerator.generate(ReportGenerator.java:55)
at io.qameta.allure.ReportGenerator.generate(ReportGenerator.java:43)
at io.qameta.allure.Commands.generate(Commands.java:88)
at io.qameta.allure.CommandLine.run(CommandLine.java:129)
at java.util.Optional.orElseGet(Optional.java:267)
at io.qameta.allure.CommandLine.main(CommandLine.java:72)

@baev baev added the type:bug Something isn't working label Aug 7, 2017
@baev baev assigned baev and unassigned baev Aug 8, 2017
@baev baev closed this as completed in 6c4dc87 Aug 8, 2017
@baev baev removed the review label Aug 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants