-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
Exception - Failed to generate configuration report #1442
Comments
We can't do much with this error in its present state - can you provide a sample project that reproduces the issue? |
|
is it enough? |
No, we would need a full project that reproduces the issue. The issue is most likely related to the tests themselves. |
Not sure I can upload the entire project. |
Do you have at least a full stack trace? |
the stack I got is in the description. |
trying to run gradle test with --full-stacktrace
|
There should be line numbers, in the report (which is a summary version) or in the Gradle test reports. |
OK found it. I have stack trace for each line seperatley. loading them. |
net.thucydides.core.reports.ReportGenerationFailedError: Failed to generate configuration report |
Caused by: java.util.concurrent.ExecutionException: net.thucydides.core.reports.ReportGenerationFailedError: Failed to generate reports using net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@e08d1e3 at java.util.concurrent.FutureTask.report(FutureTask.java:122) |
Caused by: net.thucydides.core.reports.ReportGenerationFailedError: Failed to generate reports using net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@e08d1e3 at net.thucydides.core.reports.ReportService.generateReportFor(ReportService.java:241) |
Caused by: java.util.NoSuchElementException: No value present at java.util.Optional.get(Optional.java:151) |
Based on this I will need to see your whole project. |
I cannot really share the whole project. |
Then try to create a sample project that reproduces the issue. Specific files won't help very much, as I don't know where the problem is. |
I think I know whats causing the problem.
looks like matchingAncestorFor(requirement.get()) returns different output on the if part (.isPresent) and on the line below (.get). I will create a PR for it. |
looks like the problem is solved in 2.0.13. |
This issues seems to be happening with 2.0.42. Below is the exception stack trace. net.thucydides.core.reports.ReportGenerationFailedError: Failed to generate configuration report |
I'm facing the same problem when running remotely
|
I'm running Serenity-Core version 2.0.11
and serenity-gradle-plugin version 2.0.11
and Serenity-Cucumber 1.9.19
and I get (inconsistently) the following exception:
The text was updated successfully, but these errors were encountered: