My addin is causing "External component has thrown an exception" when opening workshared models in Revit 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When my addin is loaded and I try to open a workshared model from the recent files splash screen and I choose to overwrite the current file I sometimes get this error: "External component has thrown an exception"
I get no exceptions while debugging and I only have this in the journal, with no other information:
18/01/2023 16:07:54.685 Dialog TaskDialog_Confirm_Create_New_Local
18/01/2023 16:07:56.713 Dialog TaskDialog_File_Name_In_Use
18/01/2023 16:07:59.052 Dialog
I disabled every single other addin, even the built-in ones and the problem still happens, I tried with older versions of Revit and the problem does not occur, on Revit 2023 it doesn't occur all the time but out of 10 tries it will happen at least once or twice.
I have no idea how to debug this, I tried to suppress the DocumentOpening and DocumentOpened events from the addin and it still happens
The only information I found about this problem is this knowledge base article
which doesn't offer any useful information.
Any idea on how to find out more about this error?
Developer Advocacy and Support,