Giter VIP home page Giter VIP logo

Comments (2)

mihaj avatar mihaj commented on August 17, 2024

Can you give me an example of the issue so I can test against?

from xoom-net-actors.

tjaskula avatar tjaskula commented on August 17, 2024

@mihaj There is still a bug and I have to reactivate the issue.

In fact the generated proxy has incorrect parameter name handled to Action<> as you can see below:

public void QueryAll(Vlingo.Symbio.Store.Object.QueryExpression expression, Vlingo.Symbio.Store.Object.IQueryResultInterest interest, object @object)
  {
    if(!this.actor.IsStopped)
    {
      Action<Vlingo.Symbio.Store.Object.IObjectStore> cons128873 = __ => __.QueryAll(expression, interest, object);
      if(this.mailbox.IsPreallocated)
      {
        this.mailbox.Send(this.actor, cons128873, null, QueryAllRepresentation6);
      }
      else
      {
        this.mailbox.Send(new LocalMessage<Vlingo.Symbio.Store.Object.IObjectStore>(this.actor, cons128873, QueryAllRepresentation6));
      }
    }
    else
    {
      this.actor.DeadLetters.FailedDelivery(new DeadLetter(this.actor, QueryAllRepresentation6));
    }
  }

As you can see while the top level method name is @object what we pass in Action<Vlingo.Symbio.Store.Object.IObjectStore> cons128873 = __ => __.QueryAll(expression, interest, object); is object where we should pass @object

Here is the exception:

vlingo-net/actors[Debug]: vlingo-net/actors: Generating proxy for main: IObjectStore
Dynamically generated class source for Vlingo.Symbio.Store.Object.ObjectStore__Proxy did not compile because: Invalid expression term 'object'
   at Vlingo.Common.Compiler.DynaCompiler.Compile(Input input)
vlingo-net/actors[Debug]: vlingo-net/actors: Generating proxy for test: IObjectStore
Dynamically generated class source for Vlingo.Symbio.Store.Object.ObjectStore__Proxy did not compile because: Invalid expression term 'object'
   at Vlingo.Common.Compiler.DynaCompiler.Compile(Input input)
Actor proxy IObjectStore not created for main or test: Actor proxy IObjectStore not created because: Dynamically generated class source did not compile: Vlingo.Symbio.Store.Object.ObjectStore__Proxy
   at Vlingo.Actors.ActorProxy.TryGenerateCreate(Type protocol, Actor actor, IMailbox mailbox, String targetClassName, String lookupTypeName)
   at Vlingo.Actors.ActorProxy.CreateFor(Type protocol, Actor actor, IMailbox mailbox)
   at Vlingo.Actors.ActorProxy.CreateFor[T](Actor actor, IMailbox mailbox)
   at Vlingo.Actors.Stage.ActorProxyFor[T](Actor actor, IMailbox mailbox)
   at Vlingo.Actors.Stage.ActorProtocolFor[T](Definition definition, Actor parent, IAddress maybeAddress, IMailbox maybeMailbox, ISupervisor maybeSupervisor, ILogger logger)
vlingo-net/actors[Error]: vlingo-net/actors: FAILED: Actor proxy IObjectStore not created for main or test: Actor proxy IObjectStore not created because: Dynamically generated class source did not compile: Vlingo.Symbio.Store.Object.ObjectStore__Proxy
vlingo-net/actors[Error] [Exception]: Actor proxy IObjectStore not created for main or test: Actor proxy IObjectStore not created because: Dynamically generated class source did not compile: Vlingo.Symbio.Store.Object.ObjectStore__Proxy
vlingo-net/actors[Error] [StackTrace]:    at Vlingo.Actors.ActorProxy.TryGenerateCreate(Type protocol, Actor actor, IMailbox mailbox, String targetClassName, String lookupTypeName)
   at Vlingo.Actors.ActorProxy.CreateFor(Type protocol, Actor actor, IMailbox mailbox)
   at Vlingo.Actors.ActorProxy.CreateFor[T](Actor actor, IMailbox mailbox)
   at Vlingo.Actors.Stage.ActorProxyFor[T](Actor actor, IMailbox mailbox)
   at Vlingo.Actors.Stage.ActorProtocolFor[T](Definition definition, Actor parent, IAddress maybeAddress, IMailbox maybeMailbox, ISupervisor maybeSupervisor, ILogger logger)
vlingo-net/actors[Error] [InnerException]: Actor proxy IObjectStore not created because: Dynamically generated class source did not compile: Vlingo.Symbio.Store.Object.ObjectStore__Proxy
vlingo-net/actors[Error] [InnerException-StackTrace]:    at Vlingo.Actors.ActorProxy.TryGenerateCreate(Type protocol, Actor actor, IMailbox mailbox, ProxyGenerator generator, String targetClassName, String lookupTypeName)
   at Vlingo.Actors.ActorProxy.TryGenerateCreate(Type protocol, Actor actor, IMailbox mailbox, String targetClassName, String lookupTypeName)

from xoom-net-actors.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.