This is an automated email from the ASF dual-hosted git repository.

benedict pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-accord.git

commit 16cf1eb7ab97c54a6327a924b6692cae520e8eba
Author: Benedict Elliott Smith <bened...@apache.org>
AuthorDate: Tue Jan 23 13:04:01 2024 +0000

    address NPE
---
 accord-core/src/main/java/accord/local/Commands.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/accord-core/src/main/java/accord/local/Commands.java 
b/accord-core/src/main/java/accord/local/Commands.java
index abb5dc7..5f93dfe 100644
--- a/accord-core/src/main/java/accord/local/Commands.java
+++ b/accord-core/src/main/java/accord/local/Commands.java
@@ -1090,7 +1090,7 @@ public class Commands
                 }
             }
             for (int i = 1 ; i <= depth ; ++i)
-                get(safeStore, i).addListener(get(safeStore, i - 
1).current().asListener());
+                initialise(safeStore, i).addListener(get(safeStore, i - 
1).current().asListener());
         }
 
         private SafeCommand ifInitialised(SafeCommandStore safeStore, int i)


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

Reply via email to