cucumber.runtime.CucumberException: java.io.IOException: Failed to create directory /sdcard/cucumber-report


Solutions on the web2

Solution icon of github
java.io.IOException: Failed to create directory /sdcard/cucumber-report

Solution icon of github
via GitHub by niberius
, 1 year ago
java.io.IOException: Failed to create directory C:\Jenkins\workspace\MyProjectWorkspace\target\json-files

Stack trace

cucumber.runtime.CucumberException: java.io.IOException: Failed to create directory /sdcard/cucumber-report
	at cucumber.runtime.formatter.PluginFactory.create(PluginFactory.java:80)
	at cucumber.runtime.RuntimeOptions.getPlugins(RuntimeOptions.java:207)
	at cucumber.runtime.RuntimeOptions$1.invoke(RuntimeOptions.java:241)
	at java.lang.reflect.Proxy.invoke(Proxy.java:813)
	at $Proxy15.stepDefinition(Unknown Source)
	at cucumber.runtime.RuntimeGlue.reportStepDefinitions(RuntimeGlue.java:91)
	at cucumber.runtime.android.CucumberExecutor.execute(CucumberExecutor.java:110)
	at cucumber.api.android.CucumberInstrumentationCore.start(CucumberInstrumentationCore.java:88)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago