You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2026/03/28 06:41:07 UTC

[PR] Improve error message for actorOf on typed ActorSystem [pekko]

He-Pin opened a new pull request, #2798:
URL: https://github.com/apache/pekko/pull/2798

   ## Motivation
   
   When users accidentally call classic actorOf on a typed ActorSystem, the error message was confusing and did not clearly explain the problem.
   
   ## Modification
   
   Improved the error message to clearly state that classic actor creation is not supported on typed ActorSystem, and suggest using typed actor spawning instead. Fixed isTypedGuardian detection.
   
   ## Result
   
   Users get actionable guidance when they hit this common migration pitfall.
   
   ## References
   
   - Upstream commit: [akka/akka-core@f73fae3783](https://github.com/akka/akka-core/commit/f73fae3783), which is now Apache licensed.
   - Cherry-picked from akka/akka-core v2.8.0 (released Sept 2022, BSL -> Apache 2.0 after 3 years).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


Re: [PR] Improve error message for actorOf on typed ActorSystem [pekko]

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin merged PR #2798:
URL: https://github.com/apache/pekko/pull/2798


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org