Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-19338

NPE in materialized_views_test.TestMaterializedViews test_complex_mv_select_statements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • All
    • None

    Description

      I hit this recently:

      https://app.circleci.com/pipelines/github/instaclustr/cassandra/3811/workflows/0e802f47-b17a-427f-8fac-e179d65bb974/jobs/184973/parallel-runs/20?filterBy=FAILED

      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)']
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            smiklosovic Stefan Miklosovic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: