WinDynamicDesktop icon indicating copy to clipboard operation
WinDynamicDesktop copied to clipboard

Can not open WDD occasionally.

Open Skywings96 opened this issue 2 years ago • 6 comments

  • WDD Version: 5.1.0
  • OS Version: Windows 11 22H2 build 22621.521

When I try to open the WDD, an error message appears, and the app closes automatically. I must open it again and it can work normally. The detail of this error is as follow:

[2022-09-22 06:56:38.108] System.DllNotFoundException: Dll was not found. at MS.Internal.WindowsBase.NativeMethodsSetLastError.SetWindowLongWndProc(HandleRef hWnd, Int32 nIndex, WndProc dwNewLong) at MS.Win32.UnsafeNativeMethods.CriticalSetWindowLong(HandleRef hWnd, Int32 nIndex, WndProc dwNewLong) at MS.Win32.HwndSubclass.HookWindowProc(IntPtr hwnd, WndProc newWndProc, IntPtr oldWndProc) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

[2022-09-23 08:03:51.033] System.DllNotFoundException: Dll was not found. at MS.Internal.WindowsBase.NativeMethodsSetLastError.SetWindowLongWndProc(HandleRef hWnd, Int32 nIndex, WndProc dwNewLong) at MS.Win32.UnsafeNativeMethods.CriticalSetWindowLong(HandleRef hWnd, Int32 nIndex, WndProc dwNewLong) at MS.Win32.HwndSubclass.HookWindowProc(IntPtr hwnd, WndProc newWndProc, IntPtr oldWndProc) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

It is worth noting that I didn't see this error before I updated the Windows 11 22H2, and this error happened on my two PC after I updated both of them.

Are you using the Microsoft Store version of WDD?: Yes

Skywings96 avatar Sep 23 '22 08:09 Skywings96

[2023-02-19 02:11:35.698] System.NullReferenceException: Object reference not set to an instance of an object.
   at WinDynamicDesktop.ConfigMigrator.UpdateToVersion4()
   at WinDynamicDesktop.ConfigMigrator.Run()
   at WinDynamicDesktop.JsonConfig.LoadConfig()
   at WinDynamicDesktop.AppContext..ctor(String[] args)
   at WinDynamicDesktop.Program.Main(String[] args)

As is mentioned in #509 it seems to be a random problem. See, everyone's got different error outputs. I guess it may be a bug of Windows 11 or something like that. #504 and #486 are about the same problem and I think these three issues may merge into one.

leostudiooo avatar Feb 22 '23 16:02 leostudiooo

@leostudiooo What version of WinDD do you have installed? I believe the ConfigMigrator error was fixed in v5.2.1.

t1m0thyj avatar Feb 22 '23 17:02 t1m0thyj

image Having the issue on 5.2.1. (Latest release 5 days ago)

leostudiooo avatar Feb 25 '23 15:02 leostudiooo

I don't really know what is all this about. Tried reinstalling the latest release and even building from source but the same error just repeated.

leostudiooo avatar Mar 04 '23 04:03 leostudiooo

@leostudiooo i had same issue. Try delete settings.json file at wdd folder. For me it worked.

Art-go avatar Jun 18 '23 17:06 Art-go

@Skywings96 Does this issue still happen with the latest version of WinDD (5.3.1)?

t1m0thyj avatar Sep 28 '23 01:09 t1m0thyj