In Spring 3.2.x ConfigurationClassParser.invokeAwareMethods(…) does not check for the registrar implementing EnvironmentAware. Thus registrars implementing that interface and relying on the Environment being non-null on the call to registerBeanDefinitions(…) will fail.
This works on 4.0.x, as the method has the additional check and will invoke setEnvironment(…).
DATACMNS-494 Remove defaulting of Environment from RepositoryBeanDefinitionRegistrarSupport ("is depended on by")
The text was updated successfully, but these errors were encountered: