Came across a peculiar problem with an application implemented in vertx. I have a connection pool of ~20 connections.
Once a NullPointerException is encountered in any of the request, the mysql connection stops responding.
Found below logs but could not understand why this would make the mysql connection non-responsive.
Exception in thread "vert.x-eventloop-thread-2" io.reactivex.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.lang.NullPointerException
Also, this exception comes exactly as many times as the number of connections in the connection pool after which the complete application becomes non-responsive.