You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2020/08/31 16:55:00 UTC
[jira] [Created] (CASSANDRA-16086) MessageSerializationPropertyTest
fails with bytes should not be empty for type
org.apache.cassandra.db.marshal.BytesType
David Capwell created CASSANDRA-16086:
-----------------------------------------
Summary: 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: David Capwell
{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