net.masterthought.cucumber.ValidationException: java.io.FileNotFoundException: ../../report/AcceptanceTests/cucumber-html-reports/-home-my-path-com-my-very-deep-package-where-my-features-exists-are-too-long-for-one-file-as-a-file-name-this_is_my_very_own_test_name-feature.html (File name too long)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by SirLenz0rlot
, 1 year ago
java.io.FileNotFoundException: ../../report/AcceptanceTests/cucumber-html-reports/-home-my-path-com-my-very-deep-package-where-my-features-exists-are-too-long-for-one-file-as-a-file-name-this_is_my_very_own_test_name-feature.html (File name too long)
via GitHub by czerwinski1977
, 4 months ago
java.io.FileNotFoundException: C:\Program Files (x86)\Jenkins\jobs\[...]\builds\892\cucumber-html-reports\report-feature_[...dash-encoded path to a non-existent file...]-feature_1.html (The filename, directory name, or volume label syntax is incorrect)
net.masterthought.cucumber.ValidationException: java.io.FileNotFoundException: ../../report/AcceptanceTests/cucumber-html-reports/-home-my-path-com-my-very-deep-package-where-my-features-exists-are-too-long-for-one-file-as-a-file-name-this_is_my_very_own_test_name-feature.html (File name too long)
at net.masterthought.cucumber.generators.AbstractPage.generateReport(AbstractPage.java:72)
at net.masterthought.cucumber.generators.AbstractPage.generatePage(AbstractPage.java:55)
at net.masterthought.cucumber.ReportBuilder.generateAllPages(ReportBuilder.java:108)
at net.masterthought.cucumber.ReportBuilder.generateReports(ReportBuilder.java:59)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.