You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have logged several NPEs during a time where there were network problems on our servers.
We are doing HTTP requests with the Vertx HttpClient. The exceptions led to handlers not being called anymore, neither exception handler nor other handlers. And this led to a effectively dead verticle.
To me it looks like remoteAddress was null, but I have no idea how that could have happened. I cannot reproduce it. If you have an idea please let me know.
Here is the stacktrace I have:
io.vertx.core.impl.ContextImpl 'Unhandled exception'
java.lang.NullPointerException
at io.vertx.ext.dropwizard.impl.NetServerMetricsImpl.connected(NetServerMetricsImpl.java:60)
at io.vertx.ext.dropwizard.impl.HttpClientMetricsImpl.connected(HttpClientMetricsImpl.java:68)
at io.vertx.ext.dropwizard.impl.HttpClientMetricsImpl.connected(HttpClientMetricsImpl.java:33)
at io.vertx.core.http.impl.ClientConnection.<init>(ClientConnection.java:92)
at io.vertx.core.http.impl.HttpClientImpl.createConn(HttpClientImpl.java:815)
at io.vertx.core.http.impl.HttpClientImpl.lambda$connected$74(HttpClientImpl.java:808)
at io.vertx.core.impl.ContextImpl.lambda$wrapTask$18(ContextImpl.java:333)
at io.vertx.core.impl.OrderedExecutorFactory$OrderedExecutor.lambda$new$265(OrderedExecutorFactory.java:91)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
The text was updated successfully, but these errors were encountered:
Hi,
I have logged several NPEs during a time where there were network problems on our servers.
We are doing HTTP requests with the Vertx HttpClient. The exceptions led to handlers not being called anymore, neither exception handler nor other handlers. And this led to a effectively dead verticle.
To me it looks like remoteAddress was null, but I have no idea how that could have happened. I cannot reproduce it. If you have an idea please let me know.
Here is the stacktrace I have:
The text was updated successfully, but these errors were encountered: