You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Lukasz Antoniak (Jira)" <ji...@apache.org> on 2024/08/30 08:42:00 UTC

[jira] [Assigned] (CASSANDRA-19880) With enableTracing set to true, the unset() method of a BoundStatement for a map type field failed during execution

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

Lukasz Antoniak reassigned CASSANDRA-19880:
-------------------------------------------

    Assignee: Lukasz Antoniak

> With enableTracing set to true, the unset() method of a BoundStatement for a map type field failed during execution
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-19880
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19880
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Legacy/Observability
>            Reporter: Jacek Lewandowski
>            Assignee: Lukasz Antoniak
>            Priority: Normal
>
> After creating bound statement, performing UNSET on collection type (e.g. map), and enabling tracing, request fails on C* side with:
> {code:java}
> java.lang.IndexOutOfBoundsException: null
> 	at java.base/java.nio.Buffer.checkIndex(Buffer.java:693)
> 	at java.base/java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:406)
> 	at org.apache.cassandra.utils.ByteBufferUtil.toInt(ByteBufferUtil.java:476)
> 	at org.apache.cassandra.db.marshal.ByteBufferAccessor.toInt(ByteBufferAccessor.java:208)
> 	at org.apache.cassandra.db.marshal.ByteBufferAccessor.toInt(ByteBufferAccessor.java:42)
> 	at org.apache.cassandra.serializers.CollectionSerializer.readCollectionSize(CollectionSerializer.java:147)
> 	at org.apache.cassandra.cql3.CQL3Type$Collection.toCQLLiteral(CQL3Type.java:222)
> 	at org.apache.cassandra.transport.messages.ExecuteMessage.traceQuery(ExecuteMessage.java:223)
> 	at org.apache.cassandra.transport.messages.ExecuteMessage.execute(ExecuteMessage.java:155)
> 	at org.apache.cassandra.transport.Message$Request.execute(Message.java:259)
> 	at org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:416)
> 	at org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:435)
> 	at org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:462)
> 	at org.apache.cassandra.transport.Dispatcher$RequestProcessor.run(Dispatcher.java:307)
> 	at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:99)
> 	at org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
> 	at org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
> 	at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)
> 	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> 	at java.base/java.lang.Thread.run(Thread.java:829) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org