Точнее, ошибка:
Код: Выделить всё
java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:98
Caused by: org.springframework.beans.factory.BeanCreationException at InitDestroyAnnotationBeanPostProcessor.java:160
Caused by: java.lang.NullPointerException at XMLObjectProviderRegistrySupport.java:107
Код: Выделить всё
public static XMLObjectBuilderFactory getBuilderFactory() {
return ((XMLObjectProviderRegistry)ConfigurationService.get(XMLObjectProviderRegistry.class)).getBuilderFactory();
}
Код: Выделить всё
XMLObjectProviderRegistrySupport.getParserPool()
Версия Gradle: 8.4
Версия OpenSaml : 4.0.1
Версия загрузки Spring: 2.7.18
Среда Spring: 5.3.x
Я что-то здесь упустил?
ОБНОВЛЕНИЕ:
Я понял, что проблема с XMLObjectProviderRegistrySupport — не единственная проблема.
В целом junit тесты стали нестабильными (периодически терпят неудачу) после обновления с версии 7.2 до 7.6.x
Подробнее здесь: https://stackoverflow.com/questions/792 ... le-upgrade