[ http://jira.codehaus.org/browse/JBEHAVE-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mauro Talevi updated JBEHAVE-400: --------------------------------- Component/s: (was: Core) Web Selenium Fix Version/s: (was: 3.x) web-3.3 Summary: Error in WebDriverProvider initialize method causes NPE in StoryRunner (was: Error in WebDriverProvider intialize method ignored because of consequential NPE for StoryRunner.reporter) > Error in WebDriverProvider initialize method causes NPE in StoryRunner > ---------------------------------------------------------------------- > > Key: JBEHAVE-400 > URL: http://jira.codehaus.org/browse/JBEHAVE-400 > Project: JBehave > Issue Type: Bug > Components: Web Selenium > Affects Versions: web-3.1 > Reporter: Paul Hammant > Fix For: web-3.3 > > 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