com.datastax.driver.core.TransportException: [/192.172.2.51:9042] Unexpected exception triggered (java.lang.NullPointerException)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via DataStax JIRA by Yohan Liyanage, 1 year ago
[/192.172.2.51:9042] Unexpected exception triggered (java.lang.NullPointerException)
via DataStax JIRA by Yohan Liyanage, 1 year ago
[/192.172.2.51:9042] Unexpected exception triggered (java.lang.NullPointerException)
via Stack Overflow by Udara Bentota
, 1 year ago
[/192.172.1.51:9042] Unexpected exception triggered (java.lang.NullPointerException)
via codedmi.com by Unknown author, 1 year ago
[/127.0.0.1] Unexpected exception triggered (java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;)
via Stack Overflow by Harry
, 1 year ago
[/127.0.0.1] Unexpected exception triggered (java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;)
via Stack Overflow by Shashank Shukla
, 2 years ago
[/192.168.1.26:9042] Unexpected exception triggered (java.lang.OutOfMemoryError: Java heap space)
com.datastax.driver.core.TransportException: [/192.172.2.51:9042] Unexpected exception triggered (java.lang.NullPointerException)
at com.datastax.driver.core.ProtocolOptions.getProtocolVersionEnum(ProtocolOptions.java:178)
at com.datastax.driver.core.QueryLogger.protocolVersion(QueryLogger.java:753)
at com.datastax.driver.core.QueryLogger.parameterValueAsString(QueryLogger.java:738)
at com.datastax.driver.core.QueryLogger.appendParameters(QueryLogger.java:709)
at com.datastax.driver.core.QueryLogger.logQuery(QueryLogger.java:647)
at com.datastax.driver.core.QueryLogger.maybeLogNormalQuery(QueryLogger.java:631)
at com.datastax.driver.core.QueryLogger$ConstantThresholdQueryLogger.maybeLogNormalOrSlowQuery(QueryLogger.java:278)
at com.datastax.driver.core.QueryLogger.update(QueryLogger.java:620)
at com.datastax.driver.core.Cluster$Manager.reportLatency(Cluster.java:1422)
at com.datastax.driver.core.RequestHandler$SpeculativeExecution.onSet(RequestHandler.java:607)
at com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:991)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:254)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:722)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.