cucumber.runtime.CucumberException: Table is unbalanced: expected 5 column(s) but found 6.

GitHub | outadoc | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 1

    Kotlin: TableConverter extracts child object values but not headers

    GitHub | 9 months ago | outadoc
    cucumber.runtime.CucumberException: Table is unbalanced: expected 5 column(s) but found 6.
  2. 0

    [Cucumber] Cucumber-JVM with Selenium WebDriver on IntelliJIDEA(using Maven) - Grokbase

    grokbase.com | 1 year ago
    cucumber.runtime.CucumberException: Failed to instantiate class ProductSteps at cucumber.fallback.runtime.java.DefaultJavaObjectFactory.cacheNewInstance(DefaultJavaObjectFactory.java:45) at cucumber.fallback.runtime.java.DefaultJavaObjectFactory.getInstance(DefaultJavaObjectFactory.java:31) at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:35) at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38)

    Root Cause Analysis

    1. cucumber.runtime.CucumberException

      Table is unbalanced: expected 5 column(s) but found 6.

      at cucumber.api.DataTable.<init>()
    2. Cucumber-JVM: Core
      DataTable.create
      1. cucumber.api.DataTable.<init>(DataTable.java:63)
      2. cucumber.runtime.table.TableConverter.createDataTable(TableConverter.java:272)
      3. cucumber.runtime.table.TableConverter.toTable(TableConverter.java:258)
      4. cucumber.api.DataTable.create(DataTable.java:45)
      5. cucumber.api.DataTable.create(DataTable.java:31)
      5 frames
    3. fr.outadev.android
      ParseStepDefinitions.iGetTheFollowingLines
      1. fr.outadev.android.transport.timeo.ParseStepDefinitions.iGetTheFollowingLines(ParseStepDefinitions.kt:65)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. Cucumber-JVM: Core
      Utils.invoke
      1. cucumber.runtime.Utils$1.call(Utils.java:37)
      2. cucumber.runtime.Timeout.timeout(Timeout.java:13)
      3. cucumber.runtime.Utils.invoke(Utils.java:31)
      3 frames
    6. Cucumber-JVM: Java
      JavaStepDefinition.execute
      1. cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:38)
      1 frame
    7. Cucumber-JVM: Core
      Runtime.runStep
      1. cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
      2. cucumber.runtime.Runtime.runStep(Runtime.java:299)
      2 frames