Scenario's in the default package cause NullPointerException

Description

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

Assignee

Mauro Talevi

Reporter

Andy Mac Gilvery

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure