Git Product home page Git Product logo

cucumber-strict-bug's Introduction

cucumber-strict-bug

Cucumber throws a NullPointerException when running --strict on an unimplemented feature.

The command to run is:

./gradlew -PadditionalArgs=--strict cucumber

The result of the above command:

Exception in thread "main" cucumber.runtime.CucumberException: java.lang.NullPointerException
	at cucumber.runtime.formatter.JUnitFormatter.sumTimes(JUnitFormatter.java:176)
	at cucumber.runtime.formatter.JUnitFormatter.done(JUnitFormatter.java:105)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at cucumber.runtime.Utils$1.call(Utils.java:34)
	at cucumber.runtime.Timeout.timeout(Timeout.java:13)
	at cucumber.runtime.Utils.invoke(Utils.java:30)
	at cucumber.runtime.RuntimeOptions$1.invoke(RuntimeOptions.java:172)
	at com.sun.proxy.$Proxy0.done(Unknown Source)
	at cucumber.runtime.Runtime.run(Runtime.java:112)
	at cucumber.api.cli.Main.run(Main.java:36)
	at cucumber.api.cli.Main.main(Main.java:18)
Caused by: java.lang.NullPointerException
	at cucumber.runtime.formatter.JUnitFormatter.sumTimes(JUnitFormatter.java:170)
	... 13 more

FAILURE: Build failed with an exception.

* Where:
Script '/Users/bjuhasz/projects/cucumber-strict-bug/gradle/scripts/cucumber.gradle' line: 37

* What went wrong:
Execution failed for task ':cucumber'.
> Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

cucumber-strict-bug's People

Contributors

bacey avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.