You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you abort karate from a Background-block like this:
Feature: demonstrating abort in the background block
Background:
* if (true) karate.abort()
Scenario: dummy scenario 1
* print, 'dummy scenario 1'
Scenario: dummy scenario 2
* print, 'dummy scenario 2'
it throws the following NullPointerException in maven output when you execute mvn clean test:
Running examples.ExamplesTest
13:00:40.059 [main] INFO com.intuit.karate - karate.env system property was: null
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.664 sec <<< FAILURE!
examples.ExamplesTest Time elapsed: 0.014 sec <<< ERROR!
java.lang.NullPointerException
at com.intuit.karate.core.Step.getDebugInfo(Step.java:46)
at com.intuit.karate.core.ScenarioExecutionUnit.execute(ScenarioExecutionUnit.java:202)
at com.intuit.karate.core.ScenarioExecutionUnit.run(ScenarioExecutionUnit.java:239)
at com.intuit.karate.core.FeatureExecutionUnit.run(FeatureExecutionUnit.java:164)
at com.intuit.karate.core.FeatureExecutionUnit.run(FeatureExecutionUnit.java:73)
at com.intuit.karate.junit4.Karate.runChild(Karate.java:125)
...
See myproject.zip in attachments and execute mvn clean test to test it.
The text was updated successfully, but these errors were encountered:
If you abort karate from a Background-block like this:
it throws the following
NullPointerException
in maven output when you executemvn clean test
:See myproject.zip in attachments and execute
mvn clean test
to test it.The text was updated successfully, but these errors were encountered: