When not requiring every glue class that uses spring to have an ```@ContextConfiguration/@ContextHierarchy``` annotation, I thought it would be a bit easy to end up having none, and this exception is better than the NullPointerException that will occur on the next line otherwise.
As long as any glue class on the glue paths has a Spring annotation this will work, even if there are some scenarios that do not depend on Spring contexts (glue classes are added for the whole cucumber execution, but the only the glue classes needed are instantiated for each Scenario).
As in Cucumber-JVM v1.1.3 all glue classes are instantiated using an ApplicationContext/BeanFactory, regardless of they actually need it or not.