Я исследую следующую java .lang.VerifyError:
Caused by: java.lang.VerifyError: (class: reactor/core/publisher/FluxCreate$BaseSink, method: scanUnsafe signature: (Lreactor/core/Scannable$Attr;)Ljava/lang/Object;) Illegal type in constant pool
at reactor.core.publisher.FluxCreate.createSink(FluxCreate.java:83) ~[reactor-core-3.3.0.RELEASE.jar:3.3.0.RELEASE]
at reactor.core.publisher.FluxCreate.subscribe(FluxCreate.java:90) ~[reactor-core-3.3.0.RELEASE.jar:3.3.0.RELEASE]
at reactor.core.publisher.Mono.subscribe(Mono.java:4087) ~[reactor-core-3.3.0.RELEASE.jar:3.3.0.RELEASE]
at reactor.core.publisher.FluxFlatMap.trySubscribeScalarMap(FluxFlatMap.java:199) ~[reactor-core-3.3.0.RELEASE.jar:3.3.0.RELEASE]
at reactor.core.publisher.FluxConcatMap.subscribeOrReturn(FluxConcatMap.java:116) ~[reactor-core-3.3.0.RELEASE.jar:3.3.0.RELEASE]
at reactor.core.publisher.MonoFromFluxOperator.subscribe(MonoFromFluxOperator.java:65) ~[reactor-core-3.3.0.RELEASE.jar:3.3.0.RELEASE]
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:52) ~[reactor-core-3.3.0.RELEASE.jar:3.3.0.RELEASE]
at reactor.core.publisher.Mono.subscribe(Mono.java:4087) ~[reactor-core-3.3.0.RELEASE.jar:3.3.0.RELEASE]
at reactor.core.publisher.Mono.subscribeWith(Mono.java:4193) ~[reactor-core-3.3.0.RELEASE.jar:3.3.0.RELEASE]
at reactor.core.publisher.Mono.subscribe(Mono.java:3919) ~[reactor-core-3.3.0.RELEASE.jar:3.3.0.RELEASE]
Я запускаю следующий код с библиотекой redisson-spring-data-21 3.12.0:
final Mono<Boolean> set = reactiveRedisTemplate.opsForValue().set(jsessionId, sessionMap, Duration.ofMinutes(3));
set.doOnError(e -> LOGGER.error("Error")).subscribe();
Ошибка возникает не всегда, после одного развертывания приложения в Openshift все вызовы subscribe () завершились успешно, после другого все вызовы завершились с исключением ошибки Verify.
Я проверил зависимости, и только одна версия библиотеки активной зоны реактора используется и включена в jar приложения.