java.lang.AssertionError

length is not > 0: 0

Solutions on the web4233

  • length is not > 0: 0
  • via GitHub by utensil
    , 1 year ago
    seeds of -1 give rise to same encodings Expected: is not [<0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <0>, <1>, <0>, <0>, <0>, <0>, <1>, <0>, <0>, <0>, <0>, <0>, <1>, <0>, <0>, <1>, <0>, <0>, <0>, <0
  • HTTP response status is not equal to 200: 504 Gateway Timeout [http://localhost:41674/a?rnd=tHByo] Content-Length: 42 Content-Type: text/plain 0 socket(s) in queue, 0 remaining capacity Expected: HTTP response with status 200 but: was <504
  • Stack trace

    • java.lang.AssertionError: length is not > 0: 0 at org.apache.cassandra.utils.ByteBufferUtil.readBytes(ByteBufferUtil.java:408) at org.apache.cassandra.io.sstable.metadata.CompactionMetadata$CompactionMetadataSerializer.deserialize(CompactionMetadata.java:93) at org.apache.cassandra.io.sstable.metadata.CompactionMetadata$CompactionMetadataSerializer.deserialize(CompactionMetadata.java:73) at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:123) at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:94) at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.mutateLevel(MetadataSerializer.java:133) at org.apache.cassandra.db.compaction.LeveledManifest.add(LeveledManifest.java:132) at org.apache.cassandra.db.compaction.LeveledCompactionStrategy.addSSTable(LeveledCompactionStrategy.java:278) at org.apache.cassandra.db.compaction.CompactionStrategyManager.startup(CompactionStrategyManager.java:135) at org.apache.cassandra.db.compaction.CompactionStrategyManager.reload(CompactionStrategyManager.java:187) at org.apache.cassandra.db.compaction.CompactionStrategyManager.<init>(CompactionStrategyManager.java:75) at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:394) at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:353) at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:560) at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:537) at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:368) at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:305) at org.apache.cassandra.db.Keyspace.open(Keyspace.java:129) at org.apache.cassandra.db.Keyspace.open(Keyspace.java:106) at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:250) at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:551) at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:679)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.