You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The actor will automatically stoped after a certain amount of time without any action
I did not change any project code, only upgraded akka to 2.9.6 or 2.10.0 (2.9.5 and before did not have this problem)
[NullPointerException11451] cause = {NullPointerException@11451} "java.lang.NullPointerException: Cannot invoke "akka.actor.typed.javadsl.Receive.receiveSignal(akka.actor.typed.TypedActorContext, akka.actor.typed.Signal)" because the return value of "akka.actor.typed.javadsl.AbstractBehavior.receive()" is null"
I think it is using the poolrouter to generate a certain number of actors for a short time and then there is no request for a long time, the idle actor self-destroyed cause NullPointerException
The actor will automatically stoped after a certain amount of time without any action
I did not change any project code, only upgraded akka to 2.9.6 or 2.10.0 (2.9.5 and before did not have this problem)
[NullPointerException11451] cause = {NullPointerException@11451} "java.lang.NullPointerException: Cannot invoke "akka.actor.typed.javadsl.Receive.receiveSignal(akka.actor.typed.TypedActorContext, akka.actor.typed.Signal)" because the return value of "akka.actor.typed.javadsl.AbstractBehavior.receive()" is null"
stackTrace = {StackTraceElement[22]@11475}
0 = {StackTraceElement@11479} "akka.actor.typed.javadsl.AbstractBehavior.receiveSignal(AbstractBehavior.scala:70)"
1 = {StackTraceElement@11480} "akka.actor.typed.Behavior$.interpret(Behavior.scala:281)"
2 = {StackTraceElement@11481} "akka.actor.typed.Behavior$.interpretSignal(Behavior.scala:244)"
3 = {StackTraceElement@11482} "akka.actor.typed.internal.adapter.ActorAdapter.postStop(ActorAdapter.scala:321)"
4 = {StackTraceElement@11483} "akka.actor.Actor.aroundPostStop(Actor.scala:561)"
5 = {StackTraceElement@11484} "akka.actor.Actor.aroundPostStop$(Actor.scala:476)"
6 = {StackTraceElement@11485} "akka.actor.typed.internal.adapter.ActorAdapter.aroundPostStop(ActorAdapter.scala:285)"
7 = {StackTraceElement@11486} "akka.actor.dungeon.FaultHandling.finishTerminate(FaultHandling.scala:243)"
8 = {StackTraceElement@11487} "akka.actor.dungeon.FaultHandling.terminate(FaultHandling.scala:200)"
9 = {StackTraceElement@11488} "akka.actor.dungeon.FaultHandling.terminate$(FaultHandling.scala:36)"
10 = {StackTraceElement@11489} "akka.actor.ActorCell.terminate(ActorCell.scala:406)"
11 = {StackTraceElement@11490} "akka.actor.ActorCell.invokeAll$1(ActorCell.scala:515)"
12 = {StackTraceElement@11491} "akka.actor.ActorCell.systemInvoke(ActorCell.scala:531)"
13 = {StackTraceElement@11492} "akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:295)"
14 = {StackTraceElement@11493} "akka.dispatch.Mailbox.run(Mailbox.scala:230)"
15 = {StackTraceElement@11494} "akka.dispatch.Mailbox.exec(Mailbox.scala:243)"
16 = {StackTraceElement@11495} "java.base/java.util.concurrent.ForkJoinTask.doExec$$$capture(ForkJoinTask.java:387)"
17 = {StackTraceElement@11496} "java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java)"
18 = {StackTraceElement@11497} "java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)"
19 = {StackTraceElement@11498} "java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)"
20 = {StackTraceElement@11499} "java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)"
21 = {StackTraceElement@11500} "java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)"
The text was updated successfully, but these errors were encountered: