KoenZomers / KeePassOneDriveSync

Allows syncing of KeePass databases stored on OneDrive Personal, OneDrive for Business or SharePoint
Eclipse Public License 1.0
379 stars 43 forks source link

Object reference not set to an instance of an object. #97

Closed stack2stack closed 3 years ago

stack2stack commented 5 years ago

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.NullReferenceException: Object reference not set to an instance of an object. at KoenZomersKeePassOneDriveSync.Providers.OneDriveProvider.d19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at KoenZomersKeePassOneDriveSync.KeePassDatabase.d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at KoenZomersKeePassOneDriveSync.KoenZomersKeePassOneDriveSyncExt.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

KeePass Assembly Version: 2.42.1.23464 Win32 Version: 2.42.1.0 CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/KeePass%20Password%20Safe%202/KeePass.exe

System Assembly Version: 4.0.0.0 Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

KoenZomersKeePassOneDriveSync Assembly Version: 2.0.6.0 Win32 Version: 2.0.6.0 CodeBase: file:///C:/Users/nl16116/AppData/Local/KeePass/PluginCache/qjRc3mDqplTaKdqcHF0g/KoenZomersKeePassOneDriveSync.dll

Newtonsoft.Json Assembly Version: 8.0.0.0 Win32 Version: 8.0.1.19229 CodeBase: file:///C:/Users/nl16116/AppData/Local/KeePass/PluginCache/qjRc3mDqplTaKdqcHF0g/Newtonsoft.Json.DLL

System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Xml.Linq Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

KeePass.XmlSerializers Assembly Version: 2.42.1.23464 Win32 Version: 2.42.1.23464 CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/KeePass%20Password%20Safe%202/KeePass.XmlSerializers.DLL

KoenZomers.OneDrive.Api Assembly Version: 2.3.0.3 Win32 Version: 2.3.0.3 CodeBase: file:///C:/Users/nl16116/AppData/Local/KeePass/PluginCache/qjRc3mDqplTaKdqcHF0g/KoenZomers.OneDrive.Api.DLL

Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll

System.Web Assembly Version: 4.0.0.0 Win32 Version: 4.7.3282.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

carlinmack commented 5 years ago

I also had this exact issue. Trying to work around it I went to onedrive.com and found that it's blocked by my browser

This site can’t provide a secure connection onedrive.live.com uses an unsupported protocol.

After some googling I find that BT in the UK has blocked onedrive for security reasons. To fix this you can either use a VPN or change your DNS.

  1. I changed my DNS and accessed my file on onedrive.
  2. Downloaded the database to the location I wanted it to go to
  3. Opened the database in keypass
  4. Received a notification that this database is synced to onedrive and if I would like to sync it now.
  5. Clicked yes.
  6. The onedrive plugin was then able to match the two together.

I tried to use the open the database using the plugin after changing my DNS but it came up with the same error.

Hope this helps someone

KoenZomers commented 5 years ago

@stack2stack, can you provide a bit more details on what you were trying to do when this error was thrown?

Do you happen to be on BT in the UK as well as @carlinmack outlines?

chris49112 commented 5 years ago

Same issue. OneDrive syncing and website works fine here, on Xfinity in the US. I copied an existing KeePass database to OneDrive, was able to authenticate and browse to open it, select a location for the local cache, and immediately after that I hit this exception. Repros 5/5 times so far.

KoenZomers commented 5 years ago

@blackchr, please see if your scenario matches the one described in issue 100 and if it's fixed with version 2.0.7.1

stack2stack commented 5 years ago

@stack2stack, can you provide a bit more details on what you were trying to do when this error was thrown?

Do you happen to be on BT in the UK as well as @carlinmack outlines?

No, I am on WiFi in the Netherlands. This is the error message I am getting: "See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.NullReferenceException: Object reference not set to an instance of an object. at KoenZomersKeePassOneDriveSync.Providers.OneDriveProvider.d19.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at KoenZomersKeePassOneDriveSync.KeePassDatabase.d2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at KoenZomersKeePassOneDriveSync.KoenZomersKeePassOneDriveSyncExt.d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

KeePass Assembly Version: 2.42.1.23464 Win32 Version: 2.42.1.0 CodeBase: file:///C:/Users/nl16116/OneDrive%20-%20Atos/KeePass-2.42.1/KeePass.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

KoenZomersKeePassOneDriveSync Assembly Version: 2.0.6.0 Win32 Version: 2.0.6.0 CodeBase: file:///C:/Users/nl16116/AppData/Local/KeePass/PluginCache/qjRc3mDqplTaKdqcHF0g/KoenZomersKeePassOneDriveSync.dll

Newtonsoft.Json Assembly Version: 8.0.0.0 Win32 Version: 8.0.1.19229 CodeBase: file:///C:/Users/nl16116/AppData/Local/KeePass/PluginCache/qjRc3mDqplTaKdqcHF0g/Newtonsoft.Json.DLL

System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Xml.Linq Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

KeePass.XmlSerializers Assembly Version: 2.42.1.23464 Win32 Version: 2.42.1.23464 CodeBase: file:///C:/Users/nl16116/OneDrive%20-%20Atos/KeePass-2.42.1/KeePass.XmlSerializers.DLL

KoenZomers.OneDrive.Api Assembly Version: 2.3.0.3 Win32 Version: 2.3.0.3 CodeBase: file:///C:/Users/nl16116/AppData/Local/KeePass/PluginCache/qjRc3mDqplTaKdqcHF0g/KoenZomers.OneDrive.Api.DLL

Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll

System.Web Assembly Version: 4.0.0.0 Win32 Version: 4.7.3282.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

".

chris49112 commented 5 years ago

@blackchr, please see if your scenario matches the one described in issue 100 and if it's fixed with version 2.0.7.1

@KoenZomers, just downloaded and verified that it does resolve the crash I saw as well. Thanks for the quick investigation and fix!

Chris

KoenZomers commented 5 years ago

@blackchr Thanks for confirming it has been fixed for you. @stack2stack From the callstack I can only see that it crashes on trying to download something from your OneDrive. You don't have any problems accessing the same OneDrive through your webbrowser? Are you on a (corporate) network which uses a proxy or any other devices which could intercept your traffic such as a transparent proxy or advanced firewall? Do you have the same issue when using Graph and the OneDrive providers? Are you opening a database from OneDrive or syncing an already available local one? Please provide exact repro steps.

KoenZomers commented 5 years ago

Closing due to inactivity

gpion commented 3 years ago

Just started getting the exact same error (NullReferenceException: Object reference not set to an instance of an object.) few hours ago

Using version 2.2.2.1 Tried using an alternate (empty test kdbx) database Same error

gpion commented 3 years ago

Just checked: I'm facing the issue only on my work computer, no problem with my Home PC

If I start by deleting the database from Onedrive, the 1st sync uploads it successfully. Messages: "Database does not exist yet on OneDrive. uploading it now" then "Successfully uploaded the new KeePass database to OneDrive" (and its there) But the a 2nd sync just after it gives: "Failed to sync database : La référence d'objet n'est pas définie à une instance d'un objet"

gpion commented 3 years ago

Issue occurs only with personal OneDrive , not with OneDrive for Business

gpion commented 3 years ago

As a workaround I've moved my personal database to my Onedrive pro account, but I not totally satisfied with that.

KoenZomers commented 3 years ago

Let me see if I can reproduce it, @gpion

KoenZomers commented 3 years ago

It works fine for me here. Perhaps it has been a temporary glitch in the Microsoft Graph API? Can you try again and see if it works now? It would help me tremendously if you could share a Fiddler trace of when it goes wrong so I can see what the issue is. Don't share it here though as it will contain access tokens, instead e-mail it to me at koen@zomers.eu if you have no obligations of sharing it.

gpion commented 3 years ago

It Can you try again and see if it works now? It would help me tremendously if you could share a Fiddler trace of when it goes wrong so I can see what the issue is.

I'll try to reproduce the issue on my work PC and keep you informed. I just need to find what's a "Fiddler trace" and how to generate one.

gpion commented 3 years ago

Can you try again and see if it works now?

Just tried with a freshly created database, same error

It would help me tremendously if you could share a Fiddler trace of when it goes wrong so I can see what the issue is. Don't share it here though as it will contain access tokens, instead e-mail it to me at koen@zomers.eu if you have no obligations of sharing it.

I'm going to forward the trace (copied/pasted from the exception box) immediately FYI, on my work PC, I connect to OneDrive through a proxy, i guess the root cause could be related to it. Anyway i have been using that setup for a very long time without issue, it just started to fail few days ago.

Sir-Launcelot commented 3 years ago

I am getting the same thing. I use OneDrive as well. I haven't correlated this to any particular thing. Just adding data to the ticket.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at KoenZomersKeePassOneDriveSync.KeePassDatabase.<SyncDatabase>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at KoenZomersKeePassOneDriveSync.KoenZomersKeePassOneDriveSyncExt.<MainWindowOnFileSaved>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
KeePass
    Assembly Version: 2.48.1.16933
    Win32 Version: 2.48.1.0
    CodeBase: file:///G:/My%20Drive/opt/KeePass2/KeePass.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4161.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
HaveIBeenPwnedPlugin
    Assembly Version: 0.7.0.0
    Win32 Version: 0.7.0.2
    CodeBase: file:///G:/My%20Drive/opt/KeePass2/Plugins/HaveIBeenPwnedPlugin.dll
----------------------------------------
System.Net.Http
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4161.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
CustomIconDashboarderPlugin
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/jyUKaqqF3nhuvNXrSbJM/CustomIconDashboarderPlugin.dll
----------------------------------------
HaveIBeenPwned
    Assembly Version: 1.3.6.0
    Win32 Version: 1.3.6.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/LxczqdEgB1WBjRPG7oyM/HaveIBeenPwned.dll
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.4.17603
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/LxczqdEgB1WBjRPG7oyM/Newtonsoft.Json.DLL
----------------------------------------
KeeAgent
    Assembly Version: 0.12.1.0
    Win32 Version: 0.12.1.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/jmXEEk10batTUrY3eicI/KeeAgent.dll
----------------------------------------
SshAgentLib
    Assembly Version: 0.9.4.0
    Win32 Version: 0.9.4.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/jmXEEk10batTUrY3eicI/SshAgentLib.DLL
----------------------------------------
SshAgentLib.WinForms
    Assembly Version: 0.9.2.0
    Win32 Version: 0.9.2.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/jmXEEk10batTUrY3eicI/SshAgentLib.WinForms.DLL
----------------------------------------
KeeAnywhere
    Assembly Version: 2.0.3.0
    Win32 Version: 2.0.3.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/KeeAnywhere.dll
----------------------------------------
System.Net.Http.Primitives
    Assembly Version: 4.2.29.0
    Win32 Version: 4.2.29.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/System.Net.Http.Primitives.DLL
----------------------------------------
Newtonsoft.Json
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.3.23909
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Newtonsoft.Json.DLL
----------------------------------------
Microsoft.Graph.Core
    Assembly Version: 1.24.0.0
    Win32 Version: 1.24.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Microsoft.Graph.Core.DLL
----------------------------------------
IdentityModel.OidcClient
    Assembly Version: 3.0.0.0
    Win32 Version: 3.1.2.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/IdentityModel.OidcClient.DLL
----------------------------------------
Box.V2
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Box.V2.DLL
----------------------------------------
Google.Apis.Core
    Assembly Version: 1.49.0.0
    Win32 Version: 1.49.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Google.Apis.Core.DLL
----------------------------------------
CredentialManagement
    Assembly Version: 1.0.2.0
    Win32 Version: 1.0.2
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/CredentialManagement.DLL
----------------------------------------
IdentityModel
    Assembly Version: 4.1.0.0
    Win32 Version: 4.1.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/IdentityModel.DLL
----------------------------------------
AWSSDK.Core
    Assembly Version: 3.3.0.0
    Win32 Version: 3.5.2.5
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/AWSSDK.Core.DLL
----------------------------------------
AWSSDK.S3
    Assembly Version: 3.3.0.0
    Win32 Version: 3.5.8.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/AWSSDK.S3.DLL
----------------------------------------
Microsoft.Azure.Storage.Common
    Assembly Version: 11.2.2.0
    Win32 Version: 11.2.2.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Microsoft.Azure.Storage.Common.DLL
----------------------------------------
Microsoft.Azure.Storage.Blob
    Assembly Version: 11.2.2.0
    Win32 Version: 11.2.2
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Microsoft.Azure.Storage.Blob.DLL
----------------------------------------
Microsoft.Azure.Storage.File
    Assembly Version: 11.2.2.0
    Win32 Version: 11.2.2
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Microsoft.Azure.Storage.File.DLL
----------------------------------------
Dropbox.Api
    Assembly Version: 6.6.0.0
    Win32 Version: 6.6.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Dropbox.Api.DLL
----------------------------------------
netstandard
    Assembly Version: 2.0.0.0
    Win32 Version: 4.8.4161.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
Google.Apis.Auth
    Assembly Version: 1.49.0.0
    Win32 Version: 1.49.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Google.Apis.Auth.DLL
----------------------------------------
Google.Apis.Drive.v3
    Assembly Version: 1.49.0.2201
    Win32 Version: 1.49.0.2201
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Google.Apis.Drive.v3.DLL
----------------------------------------
Google.Apis
    Assembly Version: 1.49.0.0
    Win32 Version: 1.49.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Google.Apis.DLL
----------------------------------------
Kyrodan.HiDrive
    Assembly Version: 0.2.0.0
    Win32 Version: 0.2.0.43
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Kyrodan.HiDrive.DLL
----------------------------------------
Microsoft.Graph
    Assembly Version: 3.24.0.0
    Win32 Version: 3.24.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/A5arXRbF2L6v6D6Iksqd/Microsoft.Graph.DLL
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Security
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
System.Runtime
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4161.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll
----------------------------------------
System.Threading.Tasks
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4161.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Threading.Tasks/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Threading.Tasks.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4161.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
KoenZomersKeePassOneDriveSync
    Assembly Version: 2.1.2.1
    Win32 Version: 2.1.2.1
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/8dhlZWpgRim9IjBbWCAA/KoenZomersKeePassOneDriveSync.dll
----------------------------------------
Microsoft.IdentityModel.Extensions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.1459.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/8dhlZWpgRim9IjBbWCAA/Microsoft.IdentityModel.Extensions.DLL
----------------------------------------
System.IdentityModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
----------------------------------------
KoenZomers.OneDrive.Api
    Assembly Version: 2.3.0.3
    Win32 Version: 2.3.0.3
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/8dhlZWpgRim9IjBbWCAA/KoenZomers.OneDrive.Api.DLL
----------------------------------------
Microsoft.IdentityModel
    Assembly Version: 3.5.0.0
    Win32 Version: 6.1.7600.16394
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/8dhlZWpgRim9IjBbWCAA/Microsoft.IdentityModel.DLL
----------------------------------------
Newtonsoft.Json
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.1.19229
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/8dhlZWpgRim9IjBbWCAA/Newtonsoft.Json.DLL
----------------------------------------
System.Web.Extensions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4161.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
KeePassFaviconDownloader
    Assembly Version: 2.0.9.31057
    Win32 Version: 1.9.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/Gfg1SEkOrgM68gIeCcCL/KeePassFaviconDownloader.dll
----------------------------------------
HtmlAgilityPack
    Assembly Version: 1.4.6.0
    Win32 Version: 1.4.6.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/Gfg1SEkOrgM68gIeCcCL/HtmlAgilityPack.DLL
----------------------------------------
KeePassHttp
    Assembly Version: 2.34.0.0
    Win32 Version: 1.8.4.2
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/BRfnjh5bSshAH8iWT7fJ/KeePassHttp.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/BRfnjh5bSshAH8iWT7fJ/Newtonsoft.Json.DLL
----------------------------------------
QrCodeGenerator
    Assembly Version: 2.0.12.0
    Win32 Version: 2.0.12.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/ClYdQgI6SLy0vaVEq3fS/QrCodeGenerator.dll
----------------------------------------
ThoughtWorks.QRCode
    Assembly Version: 1.0.4092.24171
    Win32 Version: 1.0.4092.24171
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/ClYdQgI6SLy0vaVEq3fS/ThoughtWorks.QRCode.DLL
----------------------------------------
KeePassReadablePassphrase
    Assembly Version: 1.2.1.0
    Win32 Version: 1.2.1.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/2sIT6mEUm6MDdsVKLfoi/KeePassReadablePassphrase.dll
----------------------------------------
ReadablePassphrase.Core
    Assembly Version: 1.2.1.0
    Win32 Version: 1.2.1.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/2sIT6mEUm6MDdsVKLfoi/ReadablePassphrase.Core.DLL
----------------------------------------
ReadablePassphrase.Words
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/2sIT6mEUm6MDdsVKLfoi/ReadablePassphrase.Words.DLL
----------------------------------------
PasswordCounter
    Assembly Version: 0.1.0.0
    Win32 Version: 0.1.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/POUWAdgHbGsW2Qpse2r8/PasswordCounter.dll
----------------------------------------
PasswordChangeReminder
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/AwEMwHqFJHmf4LzB6nxT/PasswordChangeReminder.dll
----------------------------------------
KeePassOTP
    Assembly Version: 0.28.1.0
    Win32 Version: 0.28.1
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/79V1O02i4ZWw3yhLpg3U/KeePassOTP.dll
----------------------------------------
protobuf-net
    Assembly Version: 2.4.0.0
    Win32 Version: 2.4.6.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/79V1O02i4ZWw3yhLpg3U/protobuf-net.DLL
----------------------------------------
zxing
    Assembly Version: 0.16.6.0
    Win32 Version: 0.16.6.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/79V1O02i4ZWw3yhLpg3U/zxing.DLL
----------------------------------------
HIBPOfflineCheck
    Assembly Version: 1.7.4.0
    Win32 Version: 1.7.4.0
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/1efknQ6skMa3csC8ME3P/HIBPOfflineCheck.dll
----------------------------------------
PasswordChangeAssistant
    Assembly Version: 2.11.0.0
    Win32 Version: 2.11
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/E8pocxfQUJ8Ut9NHRVW0/PasswordChangeAssistant.dll
----------------------------------------
KeePass.XmlSerializers
    Assembly Version: 2.48.1.16933
    Win32 Version: 2.48.1.16933
    CodeBase: file:///G:/My%20Drive/opt/KeePass2/KeePass.XmlSerializers.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.4161.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.4161.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
BouncyCastle.Crypto
    Assembly Version: 1.8.1.0
    Win32 Version: 1.8.1.146
    CodeBase: file:///C:/Users/USER/AppData/Local/KeePass/PluginCache/jmXEEk10batTUrY3eicI/BouncyCastle.Crypto.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4161.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.ComponentModel.DataAnnotations
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4161.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
KoenZomers commented 3 years ago

Closing due to no further freedback received.

gpion commented 2 years ago

Closing due to no further freedback received.

I'm still having the exact issue (latest Keepass and KeePassOneDriveSync versions) That occurs when trying to use my personal Office 365 account to store my personal KP database. I'm still using workaround by storing on my work account ("Microsoft 365 Apps for entreprise") although I'd would prefer to keep personal and professional stuff separate