Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE at ClusterBackupAgent.reset #1652

Open
artem-v opened this issue Aug 22, 2024 · 0 comments
Open

NPE at ClusterBackupAgent.reset #1652

artem-v opened this issue Aug 22, 2024 · 0 comments

Comments

@artem-v
Copy link

artem-v commented Aug 22, 2024

Hi

Aeron 1.44.1

1 observations from 2024-08-22 15:05:16.554+0300 to 2024-08-22 15:05:16.554+0300 for:
io.aeron.cluster.client.ClusterException: WARN - failed to stop log replay
        at io.aeron.cluster.ClusterBackupAgent.reset(ClusterBackupAgent.java:368)
        at io.aeron.cluster.ClusterBackupAgent.resetBackup(ClusterBackupAgent.java:647)
        at io.aeron.cluster.ClusterBackupAgent.doWork(ClusterBackupAgent.java:287)
       ...
Caused by: java.lang.NullPointerException: Cannot invoke "io.aeron.archive.client.AeronArchive.stopReplay(long)" because "this.clusterArchive" is null
        at io.aeron.cluster.ClusterBackupAgent.reset(ClusterBackupAgent.java:364)
        ... 9 more

Pretty regularly receiving such error in the counted error log file. Looks like there're conditions on which clusterArchive is null during .reset() call in the ClusterBackupAgent.

Unfortunately cannot post clear test that reproduce this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant