Details
Description
Hello !
I'm new to JBehave, I've run my project with version 3.7.3 until now without many problems.
I just tried to use the 4.0-beta-2 version to have steps timings, looks to work well, but I have an issue in WebDriverScreenshotOnFailure.afterScenarioFailure() :
The UUIDExceptionWrapper uuidWrappedFailure is NULL.
I didn't change many things in my configuration from 3.7.3 to 4.x
I do not have all the skills needed to catch why that value is null, maybe something wrong in the framework, or a misconfiguration from my part ?
Here is the trace :
org.jbehave.web.selenium.WebDriverScreenshotOnFailure.afterScenarioFailure(org.jbehave.core.failures.UUIDExceptionWrapper) (ECHEC)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method afterScenarioFailure (annotated with @AfterScenario in class org.jbehave.web.selenium.WebDriverScreenshotOnFailure) failed: java.lang.NullPointerException)
org.jbehave.core.failures.BeforeOrAfterFailed: Method afterScenarioFailure (annotated with @AfterScenario in class org.jbehave.web.selenium.WebDriverScreenshotOnFailure) failed: java.lang.NullPointerException
at org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:462)
at org.jbehave.core.steps.StepCreator$FailureStep.doNotPerform(StepCreator.java:519)
at org.jbehave.core.embedder.PerformableTree$SomethingHappened.run(PerformableTree.java:285)
...
Thanks a lot !
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 4.0 [ 18486 ] |
Attachment | ScreenShotFailure.png [ 62028 ] |
Summary | uuidWrappedFailure null when WebDriverScreenshotOnFailure @AfterScenario is called | uuidWrappedFailure is null when failure occurs |
Component/s | Core [ 11086 ] | |
Component/s | Web Selenium [ 14124 ] |
Assignee | Mauro Talevi [ maurotalevi ] |
Can you share the simplest sample project with your config that reproduces the problem?