2017-09-07 5 views
0

모두 업데이트 한 후에 .... 나는 그러나, Akka.Persistence 문제 1.3.1.0

많은 문제가있어 ... 1.3.1.0에 AKKA.NET으로 업데이트하기로 결정하고이를 해결 나는이 마지막 해결책에 대한 해결책을 찾는 것처럼 보이지 않는다 (나는 희망한다). 오류 메시지 :

---> System.Reflection.TargetInvocationException : 예외가 호출 대상에 의해 throw되었습니다. ---> System.MissingMethodException : 메서드를 찾을 수 없음 : 'Void Akka.Persistence.Sql.Common.Snapshot.QueryConfiguration..ctor (System.String, System.String, System.String, System.String, System. String, System.String, System.String, System.TimeSpan) '이 (가) 있습니다. Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore..ctor에서 (구성 설정)

도와주세요. 아직 Akka.Persistence 1.3과 최신없는 Akka.Persistence.SqlServer를 사용하는 것처럼

> [ERROR][9/7/2017 1:44:56 PM][Thread 0007][akka://ECHO3DEV/system/akka.persistence.snapshot-store.sql-server] Error while creating actor instance of type Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore with 1 args: ( class : "Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore, Akka.Persistence.SqlServer" 
    plugin-dispatcher : akka.actor.default-dispatcher 
    table-name : _SnapshotStore 
    schema-name : dbo 
    auto-initialize : on 
    connection-string : "Data Source=XX.XX.16.XX;Initial Catalog=ECHO3DEV;Integrated Security=True" 
) 
Cause: [akka://ECHO3DEV/system/akka.persistence.snapshot-store.sql-server#1885464091]: Akka.Actor.ActorInitializationException: Exception during creation ---> System.TypeLoadException: Error while creating actor instance of type Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore with 1 args: ( class : "Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore, Akka.Persistence.SqlServer" 
    plugin-dispatcher : akka.actor.default-dispatcher 
    table-name : _SnapshotStore 
    schema-name : dbo 
    auto-initialize : on 
    connection-string : "Data Source=XX.XX.16.XX;Initial Catalog=ECHO3DEV;Integrated Security=True" 
) ---> **System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void Akka.Persistence.Sql.Common.Snapshot.QueryConfiguration..ctor(System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.TimeSpan)**'. 
    at Akka.Persistence.SqlServer.Snapshot.SqlServerSnapshotStore..ctor(Config config) 
    --- 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.Actor.Props.ActivatorProducer.Produce() 
    at Akka.Actor.Props.NewActor() 
    --- End of inner exception stack trace --- 
    at Akka.Actor.Props.NewActor() 
    at Akka.Actor.ActorCell.CreateNewActorInstance() 
    at Akka.Actor.ActorCell.<>c__DisplayClass109_0.<NewActor>b__0() 
    at Akka.Actor.ActorCell.UseThreadContext(Action action) 
    at Akka.Actor.ActorCell.NewActor() 
    at Akka.Actor.ActorCell.Create(Exception failure) 
    --- End of inner exception stack trace --- 
    at Akka.Actor.ActorCell.Create(Exception failure) 
    at Akka.Actor.ActorCell.SysMsgInvokeAll(EarliestFirstSystemMessageList messages, Int32 currentState) 
[ERROR][9/7/2017 1:44:56 PM][Thread 0007][akka://ECHO3DEV/system/akka.persistence.journal.sql-server] Error while creating actor instance of type Akka.Persistence.SqlServer.Journal.SqlServerJournal with 1 args: ( class : "Akka.Persistence.SqlServer.Journal.SqlServerJournal, Akka.Persistence.SqlServer" 
    plugin-dispatcher : akka.actor.default-dispatcher 
    connection-string : "Data Source=XX.XX.16.XX;Initial Catalog=ECHO3DEV;Integrated Security=True" 
    connection-timeout : 30s 
    schema-name : dbo 
    table-name : _EventJournal 
    auto-initialize : on 
    timestamp-provider : "Akka.Persistence.Sql.Common.Journal.DefaultTimestampProvider, Akka.Persistence.Sql.Common" 
    metadata-table-name : _Metadata 
) 
Cause: [akka://ECHO3DEV/system/akka.persistence.journal.sql-server#578824267]: Akka.Actor.ActorInitializationException: Exception during creation ---> System.TypeLoadException: Error while creating actor instance of type Akka.Persistence.SqlServer.Journal.SqlServerJournal with 1 args: ( class : "Akka.Persistence.SqlServer.Journal.SqlServerJournal, Akka.Persistence.SqlServer" 
    plugin-dispatcher : akka.actor.default-dispatcher 
    connection-string : "Data Source=XX.XX.16.XX;Initial Catalog=ECHO3DEV;Integrated Security=True" 
    connection-timeout : 30s 
    schema-name : dbo 
    table-name : _EventJournal 
    auto-initialize : on 
    timestamp-provider : "Akka.Persistence.Sql.Common.Journal.DefaultTimestampProvider, Akka.Persistence.Sql.Common" 
    metadata-table-name : _Metadata 
) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void Akka.Persistence.Sql.Common.Journal.QueryConfiguration..ctor(System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.String, System.TimeSpan)'. 
    at Akka.Persistence.SqlServer.Journal.SqlServerJournal..ctor(Config journalConfig) 
    --- 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.Actor.Props.ActivatorProducer.Produce() 
    at Akka.Actor.Props.NewActor() 
    --- End of inner exception stack trace --- 
    at Akka.Actor.Props.NewActor() 
    at Akka.Actor.ActorCell.CreateNewActorInstance() 
    at Akka.Actor.ActorCell.<>c__DisplayClass109_0.<NewActor>b__0() 
    at Akka.Actor.ActorCell.UseThreadContext(Action action) 
    at Akka.Actor.ActorCell.NewActor() 
    at Akka.Actor.ActorCell.Create(Exception failure) 
    --- End of inner exception stack trace --- 
    at Akka.Actor.ActorCell.Create(Exception failure) 
    at Akka.Actor.ActorCell. 
SysMsgInvokeAll(EarliestFirstSystemMessageList messages, Int32 currentState) 

답변

0

것 같습니다 - 당신이 진행 here을 추적 할 수 있습니다 전체 로그 아래 (XX로 대체 IP)입니다.

또한 다음에는 한 번 Akka.Persistence.SqlServer의 새 버전이 준비가 부착되고, 새로운 SerializerId 열이 추가됩니다대로, 업데이트 스크립트 실행이 필요합니다 업그레이드 - 자세한 내용은 v1.3.1 release notes을 참조하십시오.

+0

그럼 이제 어떻게해야합니까? 모든 AKKA.NET 라이브러리를 이전 버전이나 영구적 인 부분으로 롤백해야합니까? 또한 이전 버전 중 가장 강력하고 작동하는 버전은 무엇입니까? – tk1977tk

+0

같은 문제가있는 분들을 위해 : Noto 관리자로 이동하여 AKKA.NET을 1.2.3으로 다운 그레이드하십시오 (모든 종속 패키지를 다운 그레이드 할 예정입니다). 또한 Hyperion serializer를 사용하는 경우 0.92로 다운 그레이드합니다. – tk1977tk