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

GitHub | LeoDZhao | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Crash on android 6.0+ due to permission issue

    GitHub | 7 months ago | LeoDZhao
    cucumber.runtime.CucumberException: java.io.IOException: Failed to create directory /sdcard/cucumber-report
  2. 0

    GitHub comment 978#211295093

    GitHub | 1 year ago | niberius
    cucumber.runtime.CucumberException: java.io.IOException: Failed to create directory C:\Jenkins\workspace\MyProjectWorkspace\target\json-files

    2 unregistered visitors

    Root Cause Analysis

    1. cucumber.runtime.CucumberException

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

      at cucumber.runtime.formatter.PluginFactory.create()
    2. Cucumber-JVM: Core
      RuntimeOptions$1.invoke
      1. cucumber.runtime.formatter.PluginFactory.create(PluginFactory.java:80)
      2. cucumber.runtime.RuntimeOptions.getPlugins(RuntimeOptions.java:207)
      3. cucumber.runtime.RuntimeOptions$1.invoke(RuntimeOptions.java:241)
      3 frames
    3. Java RT
      Proxy.invoke
      1. java.lang.reflect.Proxy.invoke(Proxy.java:813)
      1 frame
    4. Unknown
      $Proxy15.stepDefinition
      1. $Proxy15.stepDefinition(Unknown Source)
      1 frame
    5. Cucumber-JVM: Core
      RuntimeGlue.reportStepDefinitions
      1. cucumber.runtime.RuntimeGlue.reportStepDefinitions(RuntimeGlue.java:91)
      1 frame
    6. cucumber.runtime.android
      CucumberExecutor.execute
      1. cucumber.runtime.android.CucumberExecutor.execute(CucumberExecutor.java:110)
      1 frame
    7. cucumber.api.android
      CucumberInstrumentationCore.start
      1. cucumber.api.android.CucumberInstrumentationCore.start(CucumberInstrumentationCore.java:88)
      1 frame