Details
-
Bug
-
Status: Triage Needed
-
Normal
-
Resolution: Unresolved
-
None
-
None
-
All
-
None
Description
I hit this recently:
ERROR materialized_views_test.py::TestMaterializedViews::test_complex_mv_select_statements - Failed: Unexpected error found in node logs (see stdout for full details). Errors: [[node1] 'ERROR [ViewBuildExecutor:1] 2024-01-26 16:51:12,197 JVMStabilityInspector.java:70 - Exception in thread Thread[ViewBuildExecutor:1,5,ViewBuildExecutor]\njava.lang.NullPointerException: Cannot invoke "org.apache.cassandra.schema.TableMetadata.partitionKeyColumns()" because "this.viewMetadata" is null\n\tat org.apache.cassandra.db.view.ViewUpdateGenerator.<init>(ViewUpdateGenerator.java:99)\n\tat org.apache.cassandra.db.view.TableViews.generateViewUpdates(TableViews.java:228)\n\tat org.apache.cassandra.db.view.ViewBuilderTask.buildKey(ViewBuilderTask.java:114)\n\tat org.apache.cassandra.db.view.ViewBuilderTask.call(ViewBuilderTask.java:154)\n\tat org.apache.cassandra.db.compaction.CompactionManager.lambda$submitViewBuilder$11(CompactionManager.java:2008)\n\tat org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)\n\tat org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat java.base/java.lang.Thread.run(Thread.java:833)', [node1] 'ERROR [GlobalLogFollower] 2024-01-26 16:51:12,200 LocalLog.java:478 - Could not process the entry\njava.lang.NullPointerException: Cannot invoke "org.apache.cassandra.schema.TableMetadata.partitionKeyColumns()" because "this.viewMetadata" is null\n\tat org.apache.cassandra.db.view.ViewUpdateGenerator.<init>(ViewUpdateGenerator.java:99)\n\tat org.apache.cassandra.db.view.TableViews.generateViewUpdates(TableViews.java:228)\n\tat org.apache.cassandra.db.view.ViewBuilderTask.buildKey(ViewBuilderTask.java:114)\n\tat org.apache.cassandra.db.view.ViewBuilderTask.call(ViewBuilderTask.java:154)\n\tat org.apache.cassandra.db.compaction.CompactionManager.lambda$submitViewBuilder$11(CompactionManager.java:2008)\n\tat org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)\n\tat org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat java.base/java.lang.Thread.run(Thread.java:833)']