You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Bon (Jira)" <ji...@apache.org> on 2020/09/05 16:35:00 UTC
[jira] [Assigned] (CASSANDRA-16086)
MessageSerializationPropertyTest fails with bytes should not be empty for
type org.apache.cassandra.db.marshal.BytesType
[ https://issues.apache.org/jira/browse/CASSANDRA-16086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bon reassigned CASSANDRA-16086:
-------------------------------
Assignee: Bon (was: David Capwell)
> MessageSerializationPropertyTest fails with bytes should not be empty for type org.apache.cassandra.db.marshal.BytesType
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-16086
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16086
> Project: Cassandra
> Issue Type: Bug
> Components: Test/unit
> Reporter: David Capwell
> Assignee: Bon
> Priority: Normal
> Fix For: 4.0-beta3
>
>
> {code}
> Cause was :-
> java.lang.AssertionError: bytes should not be empty for type org.apache.cassandra.db.marshal.BytesType
> at org.apache.cassandra.db.marshal.AbstractType.writtenLength(AbstractType.java:423)
> at org.apache.cassandra.db.SinglePartitionReadCommand.selectionSerializedSize(SinglePartitionReadCommand.java:1043)
> at org.apache.cassandra.db.ReadCommand$Serializer.serializedSize(ReadCommand.java:1038)
> at org.apache.cassandra.db.ReadCommand$Serializer.serializedSize(ReadCommand.java:909)
> at org.apache.cassandra.net.Message$Serializer.payloadSize(Message.java:1289)
> at org.apache.cassandra.net.Message.payloadSize(Message.java:1333)
> at org.apache.cassandra.net.Message$Serializer.serializePre40(Message.java:917)
> at org.apache.cassandra.net.Message$Serializer.serialize(Message.java:620)
> at org.apache.cassandra.net.MessageSerializationPropertyTest.lambda$serializeSizeProperty$0(MessageSerializationPropertyTest.java:73)
> Seed was 35361441975355
> {code}
> This is caused by the fact the generators allow empty types.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org