Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MissingMethodException - 未找到类型“Accelerider.Windows.Modules.NetDisk.Models.SixCloud.AutoGeneratedISixCloudApi”上的构造函数 #134

Open
anvin1986 opened this issue Jan 13, 2019 · 1 comment
Assignees
Labels

Comments

@anvin1986
Copy link

[Header]
2019-01-13 16:18:17,631 [1] INFO Accelerider.Windows.App
Accelerider for Windows: 0.0.2;
OS: Microsoft Windows 7 旗舰版 (6.1.7601) 64-bit;
CLR: 4.0.30319.42000;
Processor: Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz;
RAM: 15.94 GB;

2019-01-13 16:18:41,887 [1] INFO Accelerider.Windows.Upgrade.AppModuleUpgradeTask
[UNZIP] From C:\Users\Administrator\AppData\Roaming\Accelerider\Temp\app-any-drive-4crm44bc.cek\3e1tagv0.e2w to C:\Users\Administrator\AppData\Roaming\Accelerider\Temp\app-any-drive-4crm44bc.cek

2019-01-13 16:18:41,893 [1] INFO Accelerider.Windows.Upgrade.AppModuleUpgradeTask
[MOVE FILE] From C:\Users\Administrator\AppData\Roaming\Accelerider\Temp\app-any-drive-4crm44bc.cek\app-any-drive-win-0.0.1-release to C:\Users\Administrator\AppData\Roaming\Accelerider\Apps\app-any-drive-0.0.1

2019-01-13 16:18:41,899 [1] INFO Accelerider.Windows.Upgrade.AppModuleUpgradeTask
[UPGRADE] The package app-any-drive-0.0.1 is ready.

2019-01-13 16:18:42,002 [1] INFO Accelerider.Windows.Upgrade.AppModuleUpgradeTask
[LOAD MODULE] app-any-drive-0.0.1

2019-01-13 16:18:49,140 [1] FATAL Accelerider.Windows.ExceptionHandler
An uncaught exception occurred

Unity.Exceptions.ResolutionFailedException: Resolution of the dependency failed, type = 'Accelerider.Windows.Modules.NetDisk.Models.SixCloud.SixCloudUser', name = '(none)'.
Exception occurred while: Calling constructor Accelerider.Windows.Modules.NetDisk.Models.SixCloud.SixCloudUser().
Exception is: MissingMethodException - 未找到类型“Accelerider.Windows.Modules.NetDisk.Models.SixCloud.AutoGeneratedISixCloudApi”上的构造函数。

At the time of the exception, the container was:
Resolving Accelerider.Windows.Modules.NetDisk.Models.SixCloud.SixCloudUser,(none)
Calling constructor Accelerider.Windows.Modules.NetDisk.Models.SixCloud.SixCloudUser()
---> System.MissingMethodException: 未找到类型“Accelerider.Windows.Modules.NetDisk.Models.SixCloud.AutoGeneratedISixCloudApi”上的构造函数。
在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
在 System.Activator.CreateInstance(Type type, Object[] args)
在 Refit.RestService.For[T](HttpClient client, IRequestBuilder`1 builder)
在 Refit.RestService.For[T](HttpClient client, RefitSettings settings)
在 Refit.RestService.For[T](String hostUrl, RefitSettings settings)
在 Accelerider.Windows.Modules.NetDisk.Models.SixCloud.SixCloudUser..ctor()
在 lambda_method(Closure , IBuilderContext )
在 Unity.ObjectBuilder.BuildPlan.DynamicMethod.DynamicBuildPlanGenerationContext.<>c__DisplayClass16_0.b__0(IBuilderContext context)
在 Unity.ObjectBuilder.BuildPlan.DynamicMethod.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)
在 Unity.Strategies.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
在 Unity.UnityContainer.ThrowingBuildUp(IBuilderContext context)
--- 内部异常堆栈跟踪的结尾 ---
在 Unity.UnityContainer.ThrowingBuildUp(IBuilderContext context)
在 Unity.UnityContainer.Resolve(Type typeToBuild, String nameToBuild, ResolverOverride[] resolverOverrides)
在 Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)
在 Accelerider.Windows.Modules.NetDisk.ViewModels.NetDiskAuthentications.SixCloudSignInViewModel.<<-ctor>b__7_0>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2019-01-13 16:19:15,102 [1] FATAL Accelerider.Windows.ExceptionHandler
An uncaught exception occurred

Unity.Exceptions.ResolutionFailedException: Resolution of the dependency failed, type = 'Accelerider.Windows.Modules.NetDisk.Models.SixCloud.SixCloudUser', name = '(none)'.
Exception occurred while: Calling constructor Accelerider.Windows.Modules.NetDisk.Models.SixCloud.SixCloudUser().
Exception is: MissingMethodException - 未找到类型“Accelerider.Windows.Modules.NetDisk.Models.SixCloud.AutoGeneratedISixCloudApi”上的构造函数。

At the time of the exception, the container was:
Resolving Accelerider.Windows.Modules.NetDisk.Models.SixCloud.SixCloudUser,(none)
Calling constructor Accelerider.Windows.Modules.NetDisk.Models.SixCloud.SixCloudUser()
---> System.MissingMethodException: 未找到类型“Accelerider.Windows.Modules.NetDisk.Models.SixCloud.AutoGeneratedISixCloudApi”上的构造函数。
在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
在 System.Activator.CreateInstance(Type type, Object[] args)
在 Refit.RestService.For[T](HttpClient client, IRequestBuilder`1 builder)
在 Refit.RestService.For[T](HttpClient client, RefitSettings settings)
在 Refit.RestService.For[T](String hostUrl, RefitSettings settings)
在 Accelerider.Windows.Modules.NetDisk.Models.SixCloud.SixCloudUser..ctor()
在 lambda_method(Closure , IBuilderContext )
在 Unity.ObjectBuilder.BuildPlan.DynamicMethod.DynamicBuildPlanGenerationContext.<>c__DisplayClass16_0.b__0(IBuilderContext context)
在 Unity.ObjectBuilder.BuildPlan.DynamicMethod.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)
在 Unity.Strategies.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
在 Unity.UnityContainer.ThrowingBuildUp(IBuilderContext context)
--- 内部异常堆栈跟踪的结尾 ---
在 Unity.UnityContainer.ThrowingBuildUp(IBuilderContext context)
在 Unity.UnityContainer.Resolve(Type typeToBuild, String nameToBuild, ResolverOverride[] resolverOverrides)
在 Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)
在 Accelerider.Windows.Modules.NetDisk.ViewModels.NetDiskAuthentications.SixCloudSignInViewModel.<<-ctor>b__7_0>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
在 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Threading.DispatcherOperation.Invoke()
在 System.Windows.Threading.Dispatcher.ProcessQueue()
在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
在 System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
在 System.Windows.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 System.Windows.Application.Run(Window window)
在 Accelerider.Windows.App.Main()

@DingpingZhang DingpingZhang changed the title 6盘无法登陆 MissingMethodException - 未找到类型“Accelerider.Windows.Modules.NetDisk.Models.SixCloud.AutoGeneratedISixCloudApi”上的构造函数 Jan 13, 2019
@DingpingZhang DingpingZhang self-assigned this Jan 13, 2019
@DingpingZhang
Copy link
Member

可否提供复现步骤?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants