These are chat archives for akkadotnet/akka.net

15th
Sep 2017
Saepul Ramdani
@blackclavus
Sep 15 2017 06:29
Is there anyway to check current actor's behavior?
Stephen Newman
@goodisontoffee
Sep 15 2017 06:58
@Aaronontheweb thank you for the Akka.Monitoring drop :)
Arsene T. Gandote
@Tochemey
Sep 15 2017 12:16

Hello geeks, I am having an issue after updating my Akka packages:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void Hyperion.SerializerOptions..ctor(Boolean, Boolean, System.Collections.Generic.IEnumerable`1<Hyperion.Surrogate>, System.Collections.Generic.IEnumerable`1<Hyperion.SerializerFactories.ValueSerializerFactory>, System.Collections.Generic.IEnumerable`1<System.Type>)'.
   at Akka.Serialization.HyperionSerializer..ctor(ExtendedActorSystem system, HyperionSerializerSettings settings)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at Akka.Serialization.Serialization..ctor(ExtendedActorSystem system)
   at Akka.Actor.Internal.ActorSystemImpl..ctor(String name, Config config)
   at Akka.Actor.ActorSystem.Create(String name)

Please assist. This is my config is the app.config:

  <akka>
    <hocon>
      <![CDATA[
          akka 
          {
            loggers = ["Akka.Logger.NLog.NLogLogger, Akka.Logger.NLog"]
            # here we are configuring log levels
            stdout-loglevel = DEBUG
            loglevel = DEBUG
            log-config-on-start = off        
            actor 
            {                
                debug 
                {  
                      receive = on 
                      autoreceive = on
                      lifecycle = on
                      event-stream = on
                      unhandled = on
                }
                serializers {
                      hyperion = "Akka.Serialization.HyperionSerializer, Akka.Serialization.Hyperion"
                }
                serialization-bindings {
                  "System.Object" = hyperion
                }                
            }
          }
      ]]>
    </hocon>
  </akka>
Stephen Newman
@goodisontoffee
Sep 15 2017 12:18
@Tochemey You need to update to the latest prerelease package for Akka.Serialization.Hyperion
Arsene T. Gandote
@Tochemey
Sep 15 2017 12:18
Ok thanks man
I will give it a try
Arsene T. Gandote
@Tochemey
Sep 15 2017 12:25
@goodisontoffee Thanks man. It works :smile:
Kevin McFarlane
@kevinmcfarlane
Sep 15 2017 12:39
I notice that that the Akka.NET home page has some broken links in the "read more." Also the copyright is saying 2013-2016.
Aaron Stannard
@Aaronontheweb
Sep 15 2017 16:06
@kevinmcfarlane would you mind logging an issue with some of those? we'll fix it
the copyright footer fix should be a breeze too
Kevin McFarlane
@kevinmcfarlane
Sep 15 2017 16:32
Hi Aaron, I'll try and do so over the weekend. At work at the moment. :)
Michel van den Berg
@promontis
Sep 15 2017 20:08
What to do when I have a coordinator actor that will deploy work to worker actors on a number of nodes and the number of worker actors is very high (say a million). The coordinator actor is persistent and has a million WorkerCreated events. Will this one coordinator actor be able to handle the creation of a million worker actors by reading the journal? Or will this take a long time? If so, how to speed this up?