PerformableTree is adding empty PerformableScenario instances causing a NPE

Description

PerformableTree is adding PerformableScenario instances that do not contain any ExamplePerformableScenario instance, causing later a NPE when trying to perform them, since they are handled like a NormalPerformableScenario.

NPE is thrown at PerformableTree Class line 876.

This regression was introduced by (JBehave 4.0.4 version).

Maven project https://github.com/rjimgal/jbehave4-empty-example-scenario demonstrates this.

Assignee

Unassigned

Reporter

RafaelJ

Labels

None

Fix versions

Priority

Blocker
Configure