GeertBellekens / Enterprise-Architect-Toolpack

Addins and tools for Sparx Systems Enterprise Architect
https://bellekens.com/product/bellekens-enterprise-architect-toolpack/
BSD 2-Clause "Simplified" License
102 stars 41 forks source link

Unexpected Exception #130

Open DiogoZL opened 1 month ago

DiogoZL commented 1 month ago

I have installed the Bellekens Enterprise Architect Toolpack to use JSON Schemas. However, after the installation, when I try to connect to the repository, the following error appears:

Unexpected Exception

An unhandled exception has occurred. Error Message: Uma exceção foi acionada pelo destino de uma chamada. Stacktrace: em System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) em System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) em System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) Inner Exception: Tentativa de leitura ou gravação em memória protegida. Normalmente, isso é uma indicação de que outra memória está danificada. Stacktrace: em EA.ElementClass.get_Type() em TSF.UmlToolingFramework.Wrappers.EA.EADBElement.updateFromWrappedElement() na C:\Users\geert\Documents\GitHub\Enterprise-Architect-Add-in-Framework\EADBWrappers\EADBElement.cs:linha 162 em TSF.UmlToolingFramework.Wrappers.EA.EADBElement..ctor(Model model, Element element) na C:\Users\geert\Documents\GitHub\Enterprise-Architect-Add-in-Framework\EADBWrappers\EADBElement.cs:linha 114 em TSF.UmlToolingFramework.Wrappers.EA.Package.getElementForPackage(Model model, Package package) na C:\Users\geert\Documents\GitHub\Enterprise-Architect-Add-in-Framework\EAWrappers\Package.cs:linha 70 em TSF.UmlToolingFramework.Wrappers.EA.Package..ctor(Model model, Package package) na C:\Users\geert\Documents\GitHub\Enterprise-Architect-Add-in-Framework\EAWrappers\Package.cs:linha 46 em TSF.UmlToolingFramework.Wrappers.EA.RootPackage..ctor(Model model, Package package) na C:\Users\geert\Documents\GitHub\Enterprise-Architect-Add-in-Framework\EAWrappers\RootPackage.cs:linha 14 em TSF.UmlToolingFramework.Wrappers.EA.Factory.createPackage(Package package) na C:\Users\geert\Documents\GitHub\Enterprise-Architect-Add-in-Framework\EAWrappers\Factory.cs:linha 258 em TSF.UmlToolingFramework.Wrappers.EA.Factory.get_selectedItem() na C:\Users\geert\Documents\GitHub\Enterprise-Architect-Add-in-Framework\EAWrappers\Factory.cs:linha 210 em TSF.UmlToolingFramework.Wrappers.EA.Model.get_selectedItem() na C:\Users\geert\Documents\GitHub\Enterprise-Architect-Add-in-Framework\EAWrappers\Model.cs:linha 222 em TSF.UmlToolingFramework.Wrappers.EA.Model..ctor() na C:\Users\geert\Documents\GitHub\Enterprise-Architect-Add-in-Framework\EAWrappers\Model.cs:linha 1327 em TSF.UmlToolingFramework.EANavigator.EAAddin.OnContextItemChanged(Repository Repository, String GUID, ObjectType ot) na C:\Users\geert\Documents\GitHub\Enterprise-Architect-Toolpack\EANavigator\EAAddin.cs:linha 552

image
GeertBellekens commented 1 month ago

The error is coming from the EA Navigator add-in. If you only wanted to try out the EA JSON add-in you can disable the EA Navigator add-in using the add-ins window in EA (or you can uninstall the EA Navigator add-in) image

DiogoZL commented 1 month ago

Thank you for your feedback. I removed it as instructed, and it worked.

Congratulations on the great work!