dsambandam commented on issue #2576: Pulsar client consume command fails with 
java.lang.IllegalArgumentException: port out of range:-1
URL: 
https://github.com/apache/incubator-pulsar/issues/2576#issuecomment-421398295
 
 
   Stack Trace:
   java.lang.IllegalArgumentException: port out of range:-1
   
    at java.net.InetSocketAddress.checkPort(InetSocketAddress.java:143) 
~[?:1.8.0_171]
           at 
java.net.InetSocketAddress.createUnresolved(InetSocketAddress.java:254) 
~[?:1.8.0_171]
           at 
org.apache.pulsar.client.impl.BinaryProtoLookupService.lambda$null$2(BinaryProtoLookupService.java:109)
 
~[org.apache.pulsar-pulsar-client-original-2.1.0-incubating.jar:2.1.0-incubating]
           at 
java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656) 
[?:1.8.0_171]
           at 
java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
 [?:1.8.0_171]
           at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) 
[?:1.8.0_171]
           at 
java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) 
[?:1.8.0_171]
           at 
org.apache.pulsar.client.impl.ClientCnx.handleLookupResponse(ClientCnx.java:369)
 
[org.apache.pulsar-pulsar-client-original-2.1.0-incubating.jar:2.1.0-incubating]
           at 
org.apache.pulsar.common.api.PulsarDecoder.channelRead(PulsarDecoder.java:115) 
[org.apache.pulsar-pulsar-common-2.1.0-incubating.jar:2.1.0-incubating]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1389) 
[io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.handler.ssl.SslHandler.decodeNonJdkCompatible(SslHandler.java:1171) 
[io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1205) 
[io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1414)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:945)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:806)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:404) 
[io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:304) 
[io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 [io.netty-netty-all-4.1.22.Final.jar:4.1.22.Final]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
   java.util.concurrent.CompletionException: 
java.lang.IllegalArgumentException: port out of range:-1
           at 
java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292)
           at 
java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308)
           at 
java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:943)
           at 
java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926)
           at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
           at 
java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977)
           at 
org.apache.pulsar.client.impl.BinaryProtoLookupService.lambda$null$2(BinaryProtoLookupService.java:138)
           at 
java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656)
           at 
java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
           at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
           at 
java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
           at 
org.apache.pulsar.client.impl.ClientCnx.handleLookupResponse(ClientCnx.java:369)
           at 
org.apache.pulsar.common.api.PulsarDecoder.channelRead(PulsarDecoder.java:115)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
           at 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
           at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
           at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1389)
           at 
io.netty.handler.ssl.SslHandler.decodeNonJdkCompatible(SslHandler.java:1171)
           at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1205)
           at 
io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489)
           at 
io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428)
           at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
           at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1414)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
           at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:945)
           at 
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:806)
           at 
io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:404)
           at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:304)
           at 
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
           at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
           at java.lang.Thread.run(Thread.java:748)
   Caused by: java.lang.IllegalArgumentException: port out of range:-1
           at java.net.InetSocketAddress.checkPort(InetSocketAddress.java:143)
           at 
java.net.InetSocketAddress.createUnresolved(InetSocketAddress.java:254)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to