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

NullPointerException at FSMCallerImpl#doCommitted when this.node.getOptions() #1035

Closed
tkalkirill opened this issue Nov 7, 2023 · 0 comments · Fixed by #1036
Closed

NullPointerException at FSMCallerImpl#doCommitted when this.node.getOptions() #1035

tkalkirill opened this issue Nov 7, 2023 · 0 comments · Fixed by #1036

Comments

@tkalkirill
Copy link
Contributor

Describe the bug

Sometimes error NullPointerException happens at FSMCallerImpl#doCommitted when this.node.getOptions(), here is the stack trace:

java.lang.NullPointerException: null
	at org.apache.ignite.raft.jraft.core.FSMCallerImpl.doCommitted(FSMCallerImpl.java:492)
	at org.apache.ignite.raft.jraft.core.FSMCallerImpl.runApplyTask(FSMCallerImpl.java:382)
	at org.apache.ignite.raft.jraft.core.FSMCallerImpl$ApplyTaskHandler.onEvent(FSMCallerImpl.java:136)
	at org.apache.ignite.raft.jraft.core.FSMCallerImpl$ApplyTaskHandler.onEvent(FSMCallerImpl.java:130)
	at org.apache.ignite.raft.jraft.disruptor.StripedDisruptor$StripeEntryHandler.onEvent(StripedDisruptor.java:226)
	at org.apache.ignite.raft.jraft.disruptor.StripedDisruptor$StripeEntryHandler.onEvent(StripedDisruptor.java:191)
	at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:137)
	at java.lang.Thread.run(Thread.java:834)

Environment

  • SOFAJRaft version:
  • JVM version (e.g. java -version):
  • OS version (e.g. uname -a):
  • Maven version:
  • IDE version:
tkalkirill added a commit to tkalkirill/sofa-jraft that referenced this issue Nov 7, 2023
fengjiachun pushed a commit that referenced this issue Nov 13, 2023
…e.getOptions() #1035 (#1036)

* (fix) NullPointerException at FSMCallerImpl#doCommitted when this.node.getOptions() #1035

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