Skip to content

isDIGIT http1.xserver ArrayOtOfboundException #5691

@jr981008

Description

@jr981008

Version

4.5.13

Context

2025-08-31 21:52:34.578 [ERROR] [Edge.java-57] [vert.x-eventloop-thread-14]-vertx unexpected fail.
java.lang.ArrayIndexOutOfBoundsException: no message
at io.vertx.core.net.impl.HostAndPortImpl.isDIGIT(HostAndPortImpl.java:129)
at io.vertx.core.net.impl.HostAndPortImpl.isUnreserved(HostAndPortImpl.java:120)
at io.vertx.core.net.impl.HostAndPortImpl.parseRegName(HostAndPortImpl.java:108)
at io.vertx.core.net.impl.HostAndPortImpl.parseHost(HostAndPortImpl.java:25)
at io.vertx.core.net.impl.HostAndPortImpl.isValidAuthority(HostAndPortImpl.java:151)
at io.vertx.core.http.impl.Http1xServerRequest.isValidAuthority(Http1xServerRequest.java:251)
at io.vertx.core.http.impl.HttpServerRequestWrapper.isValidAuthority(HttpServerRequestWrapper.java:123)
at io.vertx.ext.web.impl.RoutingContextImpl.route(RoutingContextImpl.java:81)
at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:69)
at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:37)
at io.vertx.core.http.impl.Http1xServerRequestHandler.handle(Http1xServerRequestHandler.java:150)
at io.vertx.core.http.impl.Http1xServerRequestHandler.handle(Http1xServerRequestHandler.java:42)
at io.vertx.core.impl.ContextImpl.emit(ContextImpl.java:342)
at io.vertx.core.impl.DuplicatedContext.emit(DuplicatedContext.java:163)
at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:174)
at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:159)
at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:153)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.onHttpRequestChannelRead(WebSocketServerExtensionHandler.java:158)
at io.netty.handler.codec.http.HttpObjectDecoder.callDecode(HttpObjectDecoder.java:82)
at io.netty.handler.codec.http.HttpObjectDecoder.channelRead(HttpObjectDecoder.java:444)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1375)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:120)
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.DefaultChannelInboundHandlerAdapter.channelRead(AbstractChannelHandler.java:412)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:107)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:120)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:346)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:455)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1375)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:420)

Steps to reproduce

No response

Do you have a reproducer?

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions