small medium large xlarge

Generic-user-small
15 Aug 2016, 21:06
peter kirby (1 post)

Hi here’s the full error im getting im currently about 3/4 of the way down page 18. Can anyone help? I’ve been fine up to this point. I’ve also downloaded the latest jdk and set its path.

C:\Users\Peter\checkout>cucumber

C:\Users\Peter\checkout>javac -cp “jars/*” step_definitions/CheckoutSteps.java ‘javac’ is not recognized as an internal or external command, operable program or batch file.

C:\Users\Peter\checkout>java -cp “jars/*” cucumber.api.cli.Main -p pretty –snippets camelcase \ -g step_definitions features Exception in thread “main” java.lang.NullPointerException at java.util.Objects.requireNonNull(Unknown Source) at java.util.Arrays$ArrayList.(Unknown Source) at java.util.Arrays.asList(Unknown Source) at cucumber.runtime.io.FileResourceIterator$FileIterator.(FileResourceIterator.java:50) at cucumber.runtime.io.FileResourceIterator$FileIterator.next(FileResourceIterator.java:64) at cucumber.runtime.io.FlatteningIterator.moveToNext(FlatteningIterator.java:29) at cucumber.runtime.io.FlatteningIterator.moveToNext(FlatteningIterator.java:32) at cucumber.runtime.io.FlatteningIterator.moveToNext(FlatteningIterator.java:27) at cucumber.runtime.io.FlatteningIterator.moveToNext(FlatteningIterator.java:27) at cucumber.runtime.io.FlatteningIterator.moveToNext(FlatteningIterator.java:32) at cucumber.runtime.io.FlatteningIterator.moveToNext(FlatteningIterator.java:27) at cucumber.runtime.io.FlatteningIterator.moveToNext(FlatteningIterator.java:32) at cucumber.runtime.io.FlatteningIterator.moveToNext(FlatteningIterator.java:32) at cucumber.runtime.io.FlatteningIterator.hasNext(FlatteningIterator.java:57) at cucumber.runtime.io.FileResourceIterator.hasNext(FileResourceIterator.java:25) at cucumber.runtime.model.CucumberFeature.loadFromFeaturePath(CucumberFeature.java:103) at cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:54) at cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:34) at cucumber.runtime.RuntimeOptions.cucumberFeatures(RuntimeOptions.java:235) at cucumber.runtime.Runtime.run(Runtime.java:110) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18)

You must be logged in to comment