Method Not Found Exception after updating from 2.0.1 to 2.0.2
See original GitHub issuePlease include your Abp version, exception message and stack trace in bug/problem reports. v2.0.2 Server Error in ‘/’ Application.
Method not found: ‘System.String Abp.Runtime.Security.SimpleStringCipher.Decrypt(System.String, System.String, Byte[])’.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.MissingMethodException: Method not found: ‘System.String Abp.Runtime.Security.SimpleStringCipher.Decrypt(System.String, System.String, Byte[])’.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[MissingMethodException: Method not found: ‘System.String Abp.Runtime.Security.SimpleStringCipher.Decrypt(System.String, System.String, Byte[])’.]
Abp.MultiTenancy.TenantCache2.CreateTenantCacheItem(TTenant tenant) +0 Castle.Proxies.TenantCache
2Proxy.CreateTenantCacheItem_callback(Tenant tenant) +42
Castle.Proxies.Invocations.TenantCache2_CreateTenantCacheItem.InvokeMethodOnTarget() +130 Castle.DynamicProxy.AbstractInvocation.Proceed() +117 Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) +111 Castle.DynamicProxy.AbstractInvocation.Proceed() +484 Castle.Proxies.TenantCache
2Proxy.CreateTenantCacheItem(Tenant tenant) +190
Abp.MultiTenancy.<>c__DisplayClass7_0.<GetOrNull>b__0() +109
Abp.Runtime.Caching.<>c__DisplayClass0_02.<Get>b__0(TKey k) +44 Abp.Runtime.Caching.<>c__DisplayClass3_0
2.<Get>b__0(String k) +50
Abp.Runtime.Caching.CacheBase.Get(String key, Func2 factory) +174 Abp.Runtime.Caching.CacheExtensions.Get(ICache cache, TKey key, Func
2 factory) +206
Abp.Runtime.Caching.TypedCacheWrapper2.Get(TKey key, Func
2 factory) +107
Abp.Runtime.Caching.TypedCacheExtensions.Get(ITypedCache2 cache, TKey key, Func
1 factory) +248
Abp.MultiTenancy.TenantCache2.GetOrNull(Int32 tenantId) +216 Abp.MultiTenancy.TenantCache
2.Get(Int32 tenantId) +55
Castle.Proxies.TenantCache2Proxy.Get_callback(Int32 tenantId) +42 Castle.Proxies.Invocations.TenantCache
2_Get.InvokeMethodOnTarget() +111
Castle.DynamicProxy.AbstractInvocation.Proceed() +117
Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) +111
Castle.DynamicProxy.AbstractInvocation.Proceed() +484
Castle.Proxies.TenantCache2Proxy.Get(Int32 tenantId) +213 Abp.Zero.EntityFramework.DbPerTenantConnectionStringResolver.GetNameOrConnectionString(DbPerTenantConnectionStringResolveArgs args) +178 Abp.Zero.EntityFramework.DbPerTenantConnectionStringResolver.GetNameOrConnectionString(ConnectionStringResolveArgs args) +280 Abp.Domain.Uow.UnitOfWorkBase.ResolveConnectionString(ConnectionStringResolveArgs args) +57 Abp.EntityFramework.Uow.EfUnitOfWork.GetOrCreateDbContext(Nullable
1 multiTenancySide) +485
Abp.EntityFramework.Uow.UnitOfWorkExtensions.GetDbContext(IActiveUnitOfWork unitOfWork, Nullable1 multiTenancySide) +329 Abp.EntityFramework.Uow.UnitOfWorkDbContextProvider
1.GetDbContext(Nullable1 multiTenancySide) +121 Abp.EntityFramework.Repositories.EfRepositoryBase
3.get_Context() +177
Castle.Proxies.EfRepositoryBase3Proxy.get_Context_callback() +36 Castle.Proxies.Invocations.EfRepositoryBase
3_get_Context_2.InvokeMethodOnTarget() +58
Castle.DynamicProxy.AbstractInvocation.Proceed() +117
Abp.Domain.Uow.UnitOfWorkInterceptor.PerformSyncUow(IInvocation invocation, UnitOfWorkOptions options) +81
Abp.Domain.Uow.UnitOfWorkInterceptor.PerformUow(IInvocation invocation, UnitOfWorkOptions options) +97
Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) +159
Castle.DynamicProxy.AbstractInvocation.Proceed() +484
Castle.Proxies.EfRepositoryBase3Proxy.get_Context() +171 Abp.EntityFramework.Repositories.EfRepositoryBase
3.get_Table() +40
Castle.Proxies.EfRepositoryBase3Proxy.get_Table_callback() +36 Castle.Proxies.Invocations.EfRepositoryBase
3_get_Table_2.InvokeMethodOnTarget() +58
Castle.DynamicProxy.AbstractInvocation.Proceed() +117
Abp.Domain.Uow.UnitOfWorkInterceptor.PerformSyncUow(IInvocation invocation, UnitOfWorkOptions options) +81
Abp.Domain.Uow.UnitOfWorkInterceptor.PerformUow(IInvocation invocation, UnitOfWorkOptions options) +97
Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) +159
Castle.DynamicProxy.AbstractInvocation.Proceed() +484
Castle.Proxies.EfRepositoryBase3Proxy.get_Table() +171 Abp.EntityFramework.Repositories.EfRepositoryBase
3.InsertAsync(TEntity entity) +47
Castle.Proxies.EfRepositoryBase3Proxy.InsertAsync_callback(AuditLog entity) +42 Castle.Proxies.Invocations.EfRepositoryBase
3_InsertAsync_2.InvokeMethodOnTarget() +131
Castle.DynamicProxy.AbstractInvocation.Proceed() +117
Abp.Domain.Uow.UnitOfWorkInterceptor.PerformAsyncUow(IInvocation invocation, UnitOfWorkOptions options) +123
Abp.Domain.Uow.UnitOfWorkInterceptor.PerformUow(IInvocation invocation, UnitOfWorkOptions options) +75
Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation) +159
Castle.DynamicProxy.AbstractInvocation.Proceed() +484
Castle.Proxies.EfRepositoryBase3Proxy.InsertAsync(AuditLog entity) +191 Abp.Auditing.AuditingStore.SaveAsync(AuditInfo auditInfo) +69 Abp.Auditing.<>c__DisplayClass0_0.<Save>b__0() +45 System.Threading.Tasks.Task
1.InnerInvoke() +56
System.Threading.Tasks.Task.Execute() +49
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +92
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
System.Runtime.CompilerServices.TaskAwaiter.GetResult() +26
Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) +61
Nito.AsyncEx.<>c__DisplayClass15_0.<Run>b__0(Task t) +47
System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() +52
System.Threading.Tasks.Task.Execute() +49
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +92
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
System.Runtime.CompilerServices.TaskAwaiter.GetResult() +26
Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task) +61
Nito.AsyncEx.AsyncContext.Run(Func1 action) +240 Abp.Threading.AsyncHelper.RunSync(Func
1 action) +29
Abp.Auditing.AuditingStoreExtensions.Save(IAuditingStore auditingStore, AuditInfo auditInfo) +121
Abp.Auditing.AuditingHelper.Save(AuditInfo auditInfo) +98
Abp.Web.Mvc.Auditing.AbpMvcAuditFilter.OnActionExecuted(ActionExecutedContext filterContext) +292
System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +354
System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +323
System.Web.Mvc.Async.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult) +44
System.Web.Mvc.Async.WrappedAsyncResult1.CallEndDelegate(IAsyncResult asyncResult) +47 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +136
System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +102
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +50
System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +72
System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +185
System.Web.Mvc.Async.WrappedAsyncResult1.CallEndDelegate(IAsyncResult asyncResult) +42 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +133
System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +56
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +40
System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +34
System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +70 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +133
System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +56
System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +37
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +44
System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller) +39
System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +62 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +133
System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +56
System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +37
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +39
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +39
System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +39
System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +70 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +133
System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +56
System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +37
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +40
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +38
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9744373
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (11 by maintainers)
Top GitHub Comments
Just released Abp.Zero packages, please upgrade your solution.
Hi @jamesatgithub, you are right. We will try to automate this process.