Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Double entry same table field causes exception with misleading message #657

Closed
mgurov opened this Issue Jan 11, 2014 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

mgurov commented Jan 11, 2014

Given mistakenly duplicated table column:

    | credits     | credits     |
    | 5           | 5           |

following exception is seen:

cucumber.runtime.CucumberException: Can't assign null value to one of the primitive fields in cucumber.runtime.table.ToDataTableTest$UserPojo. Please use boxed types.
Owner

aslakhellesoy commented Jan 11, 2014

How can we reproduce this? Is this a Scenario Outline/Examples table or a Data Table (under a step)?

Contributor

mgurov commented Jan 11, 2014

Data table under a step. Test and fix pull request pending.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment