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

Jacek Lewandowski updated CASSANDRA-19880:
------------------------------------------
    Attachment: results_details.tar.xz
                ci_summary.html

> 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
>             Fix For: 4.0.14, 4.1.7, 5.0.1, 5.1
>
>         Attachments: ci_summary.html, results_details.tar.xz
>
>
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to