You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yifan Cai (Jira)" <ji...@apache.org> on 2025/06/03 16:48:00 UTC

[jira] [Updated] (CASSANALYTICS-59) Fix NPE in the deserialized CassandraClusterInfoGroup

     [ https://issues.apache.org/jira/browse/CASSANALYTICS-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yifan Cai updated CASSANALYTICS-59:
-----------------------------------
     Bug Category: Parent values: Availability(12983)Level 1 values: Process Crash(12992)
       Complexity: Normal
    Discovered By: User Report
         Severity: Normal
           Status: Open  (was: Triage Needed)

PR: [https://github.com/apache/cassandra-analytics/pull/114]

CI: [https://app.circleci.com/pipelines/github/yifan-c/cassandra-analytics?branch=CASSANALYTICS-59%2Ftrunk-fix-npe]

> Fix NPE in the deserialized CassandraClusterInfoGroup
> -----------------------------------------------------
>
>                 Key: CASSANALYTICS-59
>                 URL: https://issues.apache.org/jira/browse/CASSANALYTICS-59
>             Project: Apache Cassandra Analytics
>          Issue Type: Bug
>          Components: Writer
>            Reporter: Yifan Cai
>            Assignee: Yifan Cai
>            Priority: Normal
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {color:#000000}Coordinated write fails with the following NPE. The field is null in the spark workers after deserialization.{color}
> {color:#000000}```{color}
> {color:#000000}Caused by: java.lang.NullPointerException: Cannot invoke java.util.Map.forEach(java.util.function.BiConsumer) because this.clusterInfoById is null{color}
> {color:#000000} {color}{color:#000000}at org.apache.cassandra.spark.bulkwriter.cloudstorage.coordinated.CassandraClusterInfoGroup.forEach(CassandraClusterInfoGroup.java:263){color}
> {color:#000000} {color}{color:#000000}at org.apache.cassandra.spark.bulkwriter.cloudstorage.CloudStorageDataTransferApiFactory.createForCoordinated(CloudStorageDataTransferApiFactory.java:65){color}
> {color:#000000}```{color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org