cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Radhakrishnan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-12700) During writing data into Cassandra 3.7.0 using Python driver 3.7 sometimes Connection get lost, because of Server NullPointerException
Date Fri, 23 Sep 2016 13:12:20 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-12700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajesh Radhakrishnan updated CASSANDRA-12700:
---------------------------------------------
    Description: 
In our C* cluster we are using the latest Cassandra 3.7.0 (datastax-ddc.3.70) with Python
driver 3.7. We are trying to insert 2 million row or more data into the database, but sometimes
we are getting "Null pointer Exception". I am quoting  the Exception here.
Any help would be highly appreciated.

We are using Python 2.7.11 and Java 1.8.0_73 in the Cassandra nodes and in the client its
Python 2.7.12.

===========================================================
Cassandra Server log ===========================================================
ERROR [SharedPool-Worker-6] 2016-09-23 09:42:55,002 Message.java:611 - Unexpected exception
during request; channel = [id: 0xc208da86, L:/IP1.IP2.IP3.IP4:9042 - R:/IP5.IP6.IP7.IP8:58418]

java.lang.NullPointerException: null

    at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:33)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:24)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:113) ~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.cql3.UntypedResultSet$Row.getBoolean(UntypedResultSet.java:273)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:85)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:81)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.getRoleFromTable(CassandraRoleManager.java:503)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.getRole(CassandraRoleManager.java:485)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.canLogin(CassandraRoleManager.java:298)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.service.ClientState.login(ClientState.java:227) ~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:79)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507) [apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401) [apache-cassandra-3.7.0.jar:3.7.0]

    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:283)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_73]

    at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)
[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.7.0.jar:3.7.0]

    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73]

ERROR [SharedPool-Worker-1] 2016-09-23 09:42:56,238 Message.java:611 - Unexpected exception
during request; channel = [id: 0x8e2eae00, L:/IP1.IP2.IP3.IP4:9042 - R:/IP5.IP6.IP7.IP8:58421]

java.lang.NullPointerException: null

    at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:33)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:24)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:113) ~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.cql3.UntypedResultSet$Row.getBoolean(UntypedResultSet.java:273)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:85)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:81)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.getRoleFromTable(CassandraRoleManager.java:503)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.getRole(CassandraRoleManager.java:485)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.canLogin(CassandraRoleManager.java:298)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.service.ClientState.login(ClientState.java:227) ~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:79)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507) [apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401) [apache-cassandra-3.7.0.jar:3.7.0]

    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:283)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_73]

    at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)
[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.7.0.jar:3.7.0]

    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73]
===========================================================
=============================================================
Python client Error =======================================================

Traceback (most recent call last):
 File "vssandra_v5.py", line 132, in <module>
   db.insert_batch()
 File "vssandra_v5.py", line 60, in insert_batch
   self.session.execute(self.batch, timeout=None)
 File "cassandra/cluster.py", line 1998, in cassandra.cluster.Session.execute (cassandra/cluster.c:34869)
 File "cassandra/cluster.py", line 3781, in cassandra.cluster.ResponseFuture.result (cassandra/cluster.c:73073)
cassandra.protocol.ServerError: <Error from server: code=0000 [Server error] message="com.google.common.util.concurrent.UncheckedExecutionException:
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException">
===========================================================

  was:
In our C* cluster we are using the latest Cassandra 3.7.0 (datastax-ddc.3.70) with Python
driver 3.7. We are trying to insert 2 million row or more data into the database, but sometimes
we are getting "Null pointer Exception". I am quoting  the Exception here.
Any help would be highly appreciated.

We are using Python 2.7.11 and Java 1.8.0_73 in the Cassandra nodes and in the client its
Python 2.7.12.

==================================================================================================================
ERROR [SharedPool-Worker-6] 2016-09-23 09:42:55,002 Message.java:611 - Unexpected exception
during request; channel = [id: 0xc208da86, L:/IP1.IP2.IP3.IP4:9042 - R:/IP5.IP6.IP7.IP8:58418]

java.lang.NullPointerException: null

    at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:33)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:24)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:113) ~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.cql3.UntypedResultSet$Row.getBoolean(UntypedResultSet.java:273)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:85)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:81)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.getRoleFromTable(CassandraRoleManager.java:503)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.getRole(CassandraRoleManager.java:485)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.canLogin(CassandraRoleManager.java:298)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.service.ClientState.login(ClientState.java:227) ~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:79)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507) [apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401) [apache-cassandra-3.7.0.jar:3.7.0]

    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:283)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_73]

    at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)
[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.7.0.jar:3.7.0]

    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73]

ERROR [SharedPool-Worker-1] 2016-09-23 09:42:56,238 Message.java:611 - Unexpected exception
during request; channel = [id: 0x8e2eae00, L:/IP1.IP2.IP3.IP4:9042 - R:/IP5.IP6.IP7.IP8:58421]

java.lang.NullPointerException: null

    at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:33)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:24)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:113) ~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.cql3.UntypedResultSet$Row.getBoolean(UntypedResultSet.java:273)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:85)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:81)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.getRoleFromTable(CassandraRoleManager.java:503)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.getRole(CassandraRoleManager.java:485)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.auth.CassandraRoleManager.canLogin(CassandraRoleManager.java:298)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.service.ClientState.login(ClientState.java:227) ~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:79)
~[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507) [apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401) [apache-cassandra-3.7.0.jar:3.7.0]

    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:283)
[netty-all-4.0.36.Final.jar:4.0.36.Final]

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_73]

    at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)
[apache-cassandra-3.7.0.jar:3.7.0]

    at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.7.0.jar:3.7.0]

    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73]
==================================================================================================================


> During writing data into Cassandra 3.7.0 using Python driver 3.7 sometimes Connection
get lost, because of Server NullPointerException
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12700
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12700
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Cassandra cluster with two nodes running C* version 3.7.0 and Python
Driver 3.7 using Python 2.7.11. 
> OS: Red Hat Enterprise Linux 6.x x64, 
> RAM :8GB
> DISK :210GB
> Cores: 2
> Java 1.8.0_73 JRE
>            Reporter: Rajesh Radhakrishnan
>             Fix For: 3.7
>
>
> In our C* cluster we are using the latest Cassandra 3.7.0 (datastax-ddc.3.70) with Python
driver 3.7. We are trying to insert 2 million row or more data into the database, but sometimes
we are getting "Null pointer Exception". I am quoting  the Exception here.
> Any help would be highly appreciated.
> We are using Python 2.7.11 and Java 1.8.0_73 in the Cassandra nodes and in the client
its Python 2.7.12.
> ===========================================================
> Cassandra Server log ===========================================================
> ERROR [SharedPool-Worker-6] 2016-09-23 09:42:55,002 Message.java:611 - Unexpected exception
during request; channel = [id: 0xc208da86, L:/IP1.IP2.IP3.IP4:9042 - R:/IP5.IP6.IP7.IP8:58418]
> java.lang.NullPointerException: null
>     at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:33)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:24)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:113) ~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.cql3.UntypedResultSet$Row.getBoolean(UntypedResultSet.java:273)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:85)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:81)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.auth.CassandraRoleManager.getRoleFromTable(CassandraRoleManager.java:503)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.auth.CassandraRoleManager.getRole(CassandraRoleManager.java:485)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.auth.CassandraRoleManager.canLogin(CassandraRoleManager.java:298)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.service.ClientState.login(ClientState.java:227) ~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:79)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507)
[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401)
[apache-cassandra-3.7.0.jar:3.7.0]
>     at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-all-4.0.36.Final.jar:4.0.36.Final]
>     at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
[netty-all-4.0.36.Final.jar:4.0.36.Final]
>     at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)
[netty-all-4.0.36.Final.jar:4.0.36.Final]
>     at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:283)
[netty-all-4.0.36.Final.jar:4.0.36.Final]
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_73]
>     at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)
[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.7.0.jar:3.7.0]
>     at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73]
> ERROR [SharedPool-Worker-1] 2016-09-23 09:42:56,238 Message.java:611 - Unexpected exception
during request; channel = [id: 0x8e2eae00, L:/IP1.IP2.IP3.IP4:9042 - R:/IP5.IP6.IP7.IP8:58421]
> java.lang.NullPointerException: null
>     at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:33)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.serializers.BooleanSerializer.deserialize(BooleanSerializer.java:24)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:113) ~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.cql3.UntypedResultSet$Row.getBoolean(UntypedResultSet.java:273)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:85)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.auth.CassandraRoleManager$1.apply(CassandraRoleManager.java:81)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.auth.CassandraRoleManager.getRoleFromTable(CassandraRoleManager.java:503)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.auth.CassandraRoleManager.getRole(CassandraRoleManager.java:485)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.auth.CassandraRoleManager.canLogin(CassandraRoleManager.java:298)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.service.ClientState.login(ClientState.java:227) ~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.transport.messages.AuthResponse.execute(AuthResponse.java:79)
~[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507)
[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401)
[apache-cassandra-3.7.0.jar:3.7.0]
>     at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-all-4.0.36.Final.jar:4.0.36.Final]
>     at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
[netty-all-4.0.36.Final.jar:4.0.36.Final]
>     at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32)
[netty-all-4.0.36.Final.jar:4.0.36.Final]
>     at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:283)
[netty-all-4.0.36.Final.jar:4.0.36.Final]
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_73]
>     at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)
[apache-cassandra-3.7.0.jar:3.7.0]
>     at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.7.0.jar:3.7.0]
>     at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73]
> ===========================================================
> =============================================================
> Python client Error =======================================================
> Traceback (most recent call last):
>  File "vssandra_v5.py", line 132, in <module>
>    db.insert_batch()
>  File "vssandra_v5.py", line 60, in insert_batch
>    self.session.execute(self.batch, timeout=None)
>  File "cassandra/cluster.py", line 1998, in cassandra.cluster.Session.execute (cassandra/cluster.c:34869)
>  File "cassandra/cluster.py", line 3781, in cassandra.cluster.ResponseFuture.result (cassandra/cluster.c:73073)
> cassandra.protocol.ServerError: <Error from server: code=0000 [Server error] message="com.google.common.util.concurrent.UncheckedExecutionException:
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException">
> ===========================================================



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message