Error in WebDriverProvider intialize method ignored because of consequential
NPE for StoryRunner.reporter
---------------------------------------------------------------------------------------------------------
Key: JBEHAVE-400
URL: http://jira.codehaus.org/browse/JBEHAVE-400
Project: JBehave
Issue Type: Bug
Components: Web Selenium
Affects Versions: 3.2
Reporter: Paul Hammant
Attachments: BadlyInitializingWebDriverStepsTest.java
{noformat}
new WebDriverProvider() {
public void initialize() {
throw new RuntimeException(); // or Error or something
}
}
{noformat}
... does not get reported. It's consumed because of a later NPE
The NPE is in StoryRunner, concerning member variable 'reporter' which is not
set before use, in this situation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email