Use of tabular data with cucumber-jvm for Clojure results in NullPointerException #250

Closed
nilswloka opened this Issue Mar 9, 2012 · 2 comments

Projects

None yet

2 participants

@nilswloka
Member

Looks like a bug in cucumber.runtime.StepDefinitionMatch where the code that deals with tabular data calls getGenericListType(int), which in turn dereferences StepDefinition#getParameterTypes().

Unfortunately, cucumber.runtime.clojure.ClojureStepDefinition#getParameterTypes() always returns null, thus resulting in the NPE.

(also see http://stackoverflow.com/questions/9622832/npe-attempting-to-read-tabular-data-in-cucumber-jvm-cucumber-clojure for problem and analysis).

@nilswloka
Member

Fixed in #255

@aslakhellesoy
Member

Fixed!

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