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
2020-04-14 18:51:13,557 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (vert.x-eventloop-thread-1) HTTP Request to /vertx/hello failed, error id: 52c18190-b23c-4464-b9ef-7d474fc89714-2: java.lang.NullPointerException
at io.quarkus.it.amazon.lambda.GreetingVertx_RouteHandler_helloPost_2512177757deffeae7730edad0d3de9b1a58d00b.invoke(GreetingVertx_RouteHandler_helloPost_2512177757deffeae7730edad0d3de9b1a58d00b.zig:48)
at io.quarkus.vertx.web.runtime.RouteHandler.handle(RouteHandler.java:44)
at io.quarkus.vertx.web.runtime.RouteHandler.handle(RouteHandler.java:15)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1034)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:95)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.doEnd(BodyHandlerImpl.java:296)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.end(BodyHandlerImpl.java:276)
at io.vertx.ext.web.handler.impl.BodyHandlerImpl.lambda$handle$0(BodyHandlerImpl.java:87)
at io.vertx.core.http.impl.HttpServerRequestImpl.onEnd(HttpServerRequestImpl.java:530)
at io.vertx.core.http.impl.HttpServerRequestImpl.lambda$pendingQueue$1(HttpServerRequestImpl.java:118)
at io.vertx.core.streams.impl.InboundBuffer.handleEvent(InboundBuffer.java:237)
at io.vertx.core.streams.impl.InboundBuffer.write(InboundBuffer.java:127)
at io.vertx.core.http.impl.HttpServerRequestImpl.handleEnd(HttpServerRequestImpl.java:514)
at io.vertx.core.http.impl.Http1xServerConnection.handleEnd(Http1xServerConnection.java:176)
at io.vertx.core.http.impl.Http1xServerConnection.handleContent(Http1xServerConnection.java:163)
at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:140)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
I don't think that this is amazon lambda specific, I've seen it on Quarkus - Vert.x Web - Deployment test. It seems to be quite non-deterministic, maybe some race condition. I wasn't able to reproduce it locally, only on github's CI action.
It looks like io.quarkus.vertx.web.runtime.RouteHandler.initialize() is not called. I tired this. It passed CI 3 times in row, but it still doesn't meant that it is correct.
Not sure if this is reproducible easily or if it's a race condition.
https://github.com/quarkusio/quarkus/pull/8116/checks?check_run_id=586609694
/cc @patriot1burke @evanchooly @oztimpower
The text was updated successfully, but these errors were encountered: