Bug: Test failure: materialized_views_test.TestMaterializedViewsConsistency.test_multi_partition_consistent_reads_after_write
Status: Resolved
Priority: Normal
Resolution: Fixed
Created: 24/Nov/23 09:40
Resolved: 01/Dec/23 14:38

Fails or is flaky on both JDK 11 and 17 


[https://app.circleci.com/pipelines/github/michaelsembwever/cassandra/256/workflows/c4fda8f1-a8d6-4523-be83-5e30b9de39fe/jobs/20462/parallel-runs/14]
 
{noformat}

[node3] 'ERROR [MutationStage-1] 2023-11-23 21:18:31,953 JVMStabilityInspector.java:70 - Exception in thread Thread[MutationStage-1,10,SharedPool]
java.lang.NullPointerException: Cannot invoke "org.apache.cassandra.schema.TableMetadata.partitionKeyColumns()" because "this.viewMetadata" is null
    at org.apache.cassandra.db.view.ViewUpdateGenerator.<init>(ViewUpdateGenerator.java:99)
    at org.apache.cassandra.db.view.TableViews.generateViewUpdates(TableViews.java:227)
    at org.apache.cassandra.db.view.TableViews.pushViewReplicaUpdates(TableViews.java:193)
    at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:615)
    at org.apache.cassandra.db.Keyspace.applyFuture(Keyspace.java:447)
    at org.apache.cassandra.db.Mutation.applyFuture(Mutation.java:239)
    at org.apache.cassandra.db.MutationVerbHandler.applyMutation(MutationVerbHandler.java:64)
    at org.apache.cassandra.db.AbstractMutationVerbHandler.processMessage(AbstractMutationVerbHandler.java:60)
    at org.apache.cassandra.db.MutationVerbHandler.doVerb(MutationVerbHandler.java:54)
    at org.apache.cassandra.net.InboundSink.lambda$new$0(InboundSink.java:102)
    at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:122)
    at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:51)
    at org.apache.cassandra.net.InboundMessageHandler$ProcessMessage.run(InboundMessageHandler.java:432)
    at org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:133)
    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:833)', [node3] 'ERROR [MutationStage-2] 2023-11-23 21:18:31,953 JVMStabilityInspector.java:70 - Exception in thread Thread[MutationStage-2,5,SharedPool]
java.lang.NullPointerException: Cannot invoke "org.apache.cassandra.schema.TableMetadata.partitionKeyColumns()" because "this.viewMetadata" is null
    at org.apache.cassandra.db.view.ViewUpdateGenerator.<init>(ViewUpdateGenerator.java:99)
    at org.apache.cassandra.db.view.TableViews.generateViewUpdates(TableViews.java:227)
    at org.apache.cassandra.db.view.TableViews.pushViewReplicaUpdates(TableViews.java:193)
    at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:615)
    at org.apache.cassandra.db.Keyspace.applyFuture(Keyspace.java:447)
    at org.apache.cassandra.db.Mutation.applyFuture(Mutation.java:239)
    at org.apache.cassandra.db.MutationVerbHandler.applyMutation(MutationVerbHandler.java:64)
    at org.apache.cassandra.db.AbstractMutationVerbHandler.processMessage(AbstractMutationVerbHandler.java:60)
    at org.apache.cassandra.db.MutationVerbHandler.doVerb(MutationVerbHandler.java:54)
    at org.apache.cassandra.net.InboundSink.lambda$new$0(InboundSink.java:102)
    at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:122)
    at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:51)
    at org.apache.cassandra.net.InboundMessageHandler$ProcessMessage.run(InboundMessageHandler.java:432)
    at org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:133)
    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:833)']
{noformat}