question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Method Not Found Exception after updating from 2.0.1 to 2.0.2

See original GitHub issue

Please 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.TenantCache2Proxy.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.TenantCache2Proxy.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_02.<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, Func2 factory) +206 Abp.Runtime.Caching.TypedCacheWrapper2.Get(TKey key, Func2 factory) +107 Abp.Runtime.Caching.TypedCacheExtensions.Get(ITypedCache2 cache, TKey key, Func1 factory) +248 Abp.MultiTenancy.TenantCache2.GetOrNull(Int32 tenantId) +216 Abp.MultiTenancy.TenantCache2.Get(Int32 tenantId) +55 Castle.Proxies.TenantCache2Proxy.Get_callback(Int32 tenantId) +42 Castle.Proxies.Invocations.TenantCache2_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(Nullable1 multiTenancySide) +485 Abp.EntityFramework.Uow.UnitOfWorkExtensions.GetDbContext(IActiveUnitOfWork unitOfWork, Nullable1 multiTenancySide) +329 Abp.EntityFramework.Uow.UnitOfWorkDbContextProvider1.GetDbContext(Nullable1 multiTenancySide) +121 Abp.EntityFramework.Repositories.EfRepositoryBase3.get_Context() +177 Castle.Proxies.EfRepositoryBase3Proxy.get_Context_callback() +36 Castle.Proxies.Invocations.EfRepositoryBase3_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.EfRepositoryBase3.get_Table() +40 Castle.Proxies.EfRepositoryBase3Proxy.get_Table_callback() +36 Castle.Proxies.Invocations.EfRepositoryBase3_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.EfRepositoryBase3.InsertAsync(TEntity entity) +47 Castle.Proxies.EfRepositoryBase3Proxy.InsertAsync_callback(AuditLog entity) +42 Castle.Proxies.Invocations.EfRepositoryBase3_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.Task1.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(Func1 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.WrappedAsyncResultBase1.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.WrappedAsyncResultBase1.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.WrappedAsyncResultBase1.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.WrappedAsyncResultBase1.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.WrappedAsyncResultBase1.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:closed
  • Created 6 years ago
  • Comments:17 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
hikalkancommented, Apr 26, 2017

Just released Abp.Zero packages, please upgrade your solution.

1reaction
ismcagdascommented, Aug 3, 2017

Hi @jamesatgithub, you are right. We will try to automate this process.

Read more comments on GitHub >

github_iconTop Results From Across the Web

System.MissingMethodException: Method not found?
I resolved this issue by installing the correct .NET Framework version on the server. The website was running under version 4.0 and the...
Read more >
Method not found #2945
I've an exception which i can't resolve. My abp version: 1.5.1. Method not found: 'System.String Abp.Runtime.Security.SimpleStringCipher.
Read more >
Conan package manager completely broken after 2.0 release
I was able to started the build by deleting ~/.conan/data , and the build process took about an hour before something failed with...
Read more >
[SOLVED] ThreadLocal.withInitial not found - android
Today I tried running my game on avd and was thrown exception "ThreadLocal.withinitial method not found. It was called from jme
Read more >
3 ways to solve java.lang.NoClassDefFoundError in Java ...
Exception in thread “main” simply indicates that it's the “main” thread that is not able to find a particular class it could be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found