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

Hot problem!
This exception has a lot of traffic. You can help 31 users by writing a short tip.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by outadoc
, 1 year ago
Table is unbalanced: expected 5 column(s) but found 6.
cucumber.runtime.CucumberException: Table is unbalanced: expected 5 column(s) but found 6.
at cucumber.api.DataTable.(DataTable.java:63)
at cucumber.runtime.table.TableConverter.createDataTable(TableConverter.java:272)
at cucumber.runtime.table.TableConverter.toTable(TableConverter.java:258)
at cucumber.api.DataTable.create(DataTable.java:45)
at cucumber.api.DataTable.create(DataTable.java:31)
at fr.outadev.android.transport.timeo.ParseStepDefinitions.iGetTheFollowingLines(ParseStepDefinitions.kt:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at cucumber.runtime.Utils$1.call(Utils.java:37)
at cucumber.runtime.Timeout.timeout(Timeout.java:13)
at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:38)
at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
at cucumber.runtime.Runtime.runStep(Runtime.java:299)

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.

Write tip

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