Scenario's in the default package cause NullPointerException ------------------------------------------------------------
Key: JBEHAVE-152 URL: http://jira.codehaus.org/browse/JBEHAVE-152 Project: JBehave Issue Type: Bug Components: Core Affects Versions: 2.2 Environment: Windows XP Reporter: Andy Mac Gilvery Priority: Minor Attachments: JBehave.patch I'm playing around with JBehave, and encountered the folloing NullPointerException Testcase: testScenario(HeyHeyMyMy): Caused an ERROR null java.lang.NullPointerException at org.jbehave.scenario.parser.UnderscoredCamelCaseResolver.resolve(UnderscoredCamelCaseResolver.java:37) at org.jbehave.scenario.parser.ClasspathScenarioDefiner.loadInputStreamFor(ClasspathScenarioDefiner.java:52) at org.jbehave.scenario.parser.ClasspathScenarioDefiner.loadScenarioDefinitionsFor(ClasspathScenarioDefiner.java:47) at org.jbehave.scenario.AbstractScenario.runScenario(AbstractScenario.java:69) at org.jbehave.scenario.JUnitScenario.runScenario(JUnitScenario.java:49) at org.jbehave.scenario.JUnitScenario.testScenario(JUnitScenario.java:64) I've enclosed a patch for you consideration :-) -- 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