state machine and scheduler starts fine also created db on sql server using EF.
Service also started normally without error.
But getting following runtime error while consuming msg from Web application.
Error :
Content-Type: application/vnd.masstransit+json
MT-Reason: fault
MT-Fault-Message: Method not found: 'Void Automatonymous.Contexts.StateMachineEventContext2..ctor(System.__Canon, Automatonymous.Event1, System.Canon, System.Threading.CancellationToken)'.
MT-Fault-StackTrace: at Automatonymous.Pipeline.StateMachineSagaMessageFilter`2.d5.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Automatonymous.Pipeline.StateMachineSagaMessageFilter2.Send(SagaConsumeContext2 context, IPipe1 next) at MassTransit.Pipeline.Pipes.LastPipe1.Send(T context)
at MassTransit.EntityFrameworkIntegration.Saga.EntityFrameworkSagaRepository1.MissingPipe1.d4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MassTransit.Saga.DefaultSagaFactory`2.d2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MassTransit.Saga.Policies.NewOrExistingSagaPolicy2.<MassTransit-Saga-ISagaPolicy<TSaga\,TMessage>-Missing>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MassTransit.EntityFrameworkIntegration.Saga.EntityFrameworkSagaRepository1.d__8`1.MoveNext()
This seems like an assembly version conflict, since it's about a method missing. Did you update an assembly and get the Automatonymous assembly out of sync?
state machine and scheduler starts fine also created db on sql server using EF. Service also started normally without error. But getting following runtime error while consuming msg from Web application.
Error : Content-Type: application/vnd.masstransit+json MT-Reason: fault MT-Fault-Message: Method not found: 'Void Automatonymous.Contexts.StateMachineEventContext, System.Canon, System.Threading.CancellationToken)'.
MT-Fault-StackTrace: at Automatonymous.Pipeline.StateMachineSagaMessageFilter`2.d 5.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Automatonymous.Pipeline.StateMachineSagaMessageFilterd4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MassTransit.Saga.DefaultSagaFactory`2.d 2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MassTransit.Saga.Policies.NewOrExistingSagaPolicyd__8`1.MoveNext()
2..ctor(System.__Canon, Automatonymous.Event
12.Send(SagaConsumeContext
2 context, IPipe1 next) at MassTransit.Pipeline.Pipes.LastPipe
1.Send(T context) at MassTransit.EntityFrameworkIntegration.Saga.EntityFrameworkSagaRepository1.MissingPipe
1.2.<MassTransit-Saga-ISagaPolicy<TSaga\,TMessage>-Missing>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MassTransit.EntityFrameworkIntegration.Saga.EntityFrameworkSagaRepository
1.