[ 
https://issues.apache.org/jira/browse/CASSANDRA-13363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16115480#comment-16115480
 ] 

Jeff Jirsa commented on CASSANDRA-13363:
----------------------------------------

Relevant code is:

{code}
        public ClusteringIndexFilter deserialize(DataInputPlus in, int version, 
CFMetaData metadata) throws IOException
        {
            Kind kind = Kind.values()[in.readUnsignedByte()]; // We read a 
byte, and then try to find the kind, and we're way outside of the array
            boolean reversed = in.readBoolean();

            return kind.deserializer.deserialize(in, version, metadata, 
reversed);
        }
{code}

And

{code}
            public Slice.Bound deserialize(DataInputPlus in, int version, 
List<AbstractType<?>> types) throws IOException
            {
                Kind kind = Kind.values()[in.readByte()]; // same thing, read a 
byte, way outside of the array
                return deserializeValues(in, kind, version, types);
            }
{code}


> java.lang.ArrayIndexOutOfBoundsException: null
> ----------------------------------------------
>
>                 Key: CASSANDRA-13363
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13363
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: CentOS 6, Cassandra 3.10
>            Reporter: Artem Rokhin
>            Priority: Critical
>
> Constantly see this error in the log without any additional information or a 
> stack trace.
> {code}
> Exception in thread Thread[MessagingService-Incoming-/10.0.1.26,5,main]
> {code}
> {code}
> java.lang.ArrayIndexOutOfBoundsException: null
> {code}
> Logger: org.apache.cassandra.service.CassandraDaemon
> Thrdead: MessagingService-Incoming-/10.0.1.12
> Method: uncaughtException
> File: CassandraDaemon.java
> Line: 229



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to