FAQ Database Discussion Community


project-reactor - Nullpointer when loading UUIDUtils with a failsafe integraton test

reactor,project-reactor
I am running into a NP when running an integration test of the reactor EventBus with failsafe I think this this because the class UUIDUtils is being loaded by the bootstrap classloader and hence the call to getClassLoader() is returning null? Caused by: java.lang.NullPointerException at reactor.core.support.UUIDUtils.<clinit>(UUIDUtils.java:39) IS_THREADLOCALRANDOM_AVAILABLE = null !=...

Python Twister Reactor callLater time source?

python,twisted,reactor
I figured out that when I schedule a function with : reactor.callLater(delay, function) If during the delay, the system date is changed, the delay set in reactor.callLater will not be respected. So, for example, if at 15:00:00 I schedule my function in 30 secondes : reactor.callLater(30, function) If during these...

Shading reactor

reactor,project-reactor
I am trying to shade the reactor (https://github.com/reactor/reactor) and am running into an issue starting the event bus up. I am getting the following error. Any advice on shading this project would be greatly appreciated Caused by: java.lang.IllegalArgumentException: No Dispatcher found for name 'threadPoolExecutor', it must be present in the...

increase thread count in Spring reactor AsyncTaskExecutor

spring,reactor,project-reactor
How do I increase the thread count while using thread pool my code is as follows, @SpringBootApplication @EnableReactor public class Application implements CommandLineRunner { @Autowired private Reactor reactor @Bean Reactor createReactor(Environment env) { return Reactors.reactor() .env(env) .dispatcher(Environment.THREAD_POOL) .get(); } Adding the following code did not increase the thread count, which...