I have this error that is new in 11.12 that is highly irritating as I have to force quit the mendex studio pro.When I go to the security settings for the App, I see the module status, interacting with the modules, cause the app to freeze for a while and then this error is reported, the app is then unusable.Any susgestions on if this is some I could fix or I have to wait for .13?System.InvalidOperationException: Could not get exclusive lock on global transaction within timeout. at Mendix.Modeler.Undo.GlobalTransactionManager.Begin(LocalizableString description) in Mendix.Modeler.Undo/GlobalTransactionManager.cs:line 55 at Mendix.Modeler.Undo.GlobalTransactionManager.DoConditionally(LocalizableString description, Func`1 action) in Mendix.Modeler.Undo/GlobalTransactionManager.cs:line 131 at Mendix.Modeler.Core.View.Editors.DocumentEditorManager.EditInModalEditor(IDocumentViewProvider provider, IDocumentBase document, FocusInfo focusInfo) in Mendix.Modeler.Core.View/Editors/DocumentEditorManager.cs:line 170 at Mendix.Modeler.Core.View.Editors.DocumentEditorManager.EditDocument(IDocumentBase document, FocusInfo focusInfo) in Mendix.Modeler.Core.View/Editors/DocumentEditorManager.cs:line 159 at Mendix.Modeler.Core.View.Common.DocumentUtil.ObsoleteEdit(IDocument document, FocusInfo focusInfo) in Mendix.Modeler.Core.View/Common/DocumentUtil.cs:line 17 at Mendix.Modeler.DomainModels.View.ProjectSecurityForm.EditModuleSecurity(ModuleStatusReport report) at Mendix.Modeler.Controls.Grids.EtoGridConfig`1.<>c__DisplayClass103_0.<AddToolEditButton>g__OnEditButtonClicked|0(IList`1 selectedItems) in Mendix.Modeler.Controls/Grids/EtoGridConfig.cs:line 389 at Mendix.Modeler.Controls.Grids.EtoGridToolButton`1.<>c__DisplayClass17_0.<AddToolBarItem>b__0() in Mendix.Modeler.Controls/Grids/ToolBarItems/EtoGridToolButton.cs:line 91 at Mendix.Modeler.Controls.ToolBar.ToolBar.<>c__DisplayClass11_0.<AddButton>b__0(Object _, EventArgs _) in Mendix.Modeler.Controls/ToolBar/ToolBar.cs:line 57 at Eto.Forms.Command.OnExecuted(EventArgs e) at Eto.Forms.Command.Execute() at Eto.Forms.Command.System.Windows.Input.ICommand.Execute(Object parameter) at Mendix.Modeler.Controls.Grids.Grid`1.OnCellDoubleClick(Object sender, GridCellMouseEventArgs e) in Mendix.Modeler.Controls/Grids/GridOfT.cs:line 531 at Eto.PropertyStore.TriggerEvent[T](Object key, Object sender, T args) at Eto.Forms.Grid.OnCellDoubleClick(GridCellMouseEventArgs e) at Eto.Forms.Grid.Callback.OnCellDoubleClick(Grid widget, GridCellMouseEventArgs e) at Eto.Mac.Forms.Controls.GridHandler`3.HandleMouseEvent(NSEvent theEvent) at Eto.Mac.Forms.Controls.GridViewHandler.EtoTableView.MouseDown(NSEvent theEvent) at Eto.Mac.Forms.Controls.GridViewHandler.EtoTableView.__Registrar_Callbacks__.callback_168_Eto_Mac_Forms_Controls_GridViewHandler_EtoTableView_MouseDown(IntPtr pobj, IntPtr sel, IntPtr p0, IntPtr* exception_gchandle) --- End of stack trace from previous location --- at ObjCRuntime.Runtime.rethrow_managed_exception(IntPtr original_exception_gchandle, IntPtr* exception_gchandle) at ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr(IntPtr receiver, IntPtr selector, IntPtr arg1) at AppKit.NSApplication.RunModalSession(IntPtr session) at Eto.Mac.Forms.ModalEventArgs.RunSession() at Eto.Mac.Forms.ModalEventArgs.RunModal() at Eto.Mac.Forms.MacModal.Run(Window window, NSWindow nativeWindow, ModalEventArgs& helper, Boolean isSheet) at Eto.Mac.Forms.DialogHandler.ShowModal() at Eto.Forms.Dialog.ShowModal() at Eto.Forms.Dialog.ShowModal(Control owner) at Mendix.Modeler.UIFramework.DialogDisplayer.<>c__DisplayClass4_0.<ShowDialog>b__0() in Mendix.Modeler.UIFramework/Dialogs/DialogDisplayer.cs:line 29 at Mendix.Modeler.Controls.GuiThreadExecutor.<>c__DisplayClass5_0.<WrapActionWithRethrowHack>b__0() in Mendix.Modeler.Controls/GuiThreadExecutor.cs:line 46 --- End of stack trace from previous location --- at Mendix.Modeler.Controls.GuiThreadExecutor.Rethrow(Exception ex) in Mendix.Modeler.Controls/GuiThreadExecutor.cs:line 74 at Mendix.Modeler.Controls.GuiThreadExecutor.<>c__DisplayClass5_0.<WrapActionWithRethrowHack>b__0() in Mendix.Modeler.Controls/GuiThreadExecutor.cs:line 50 at Mendix.StudioPro.MacOS.StudioProApplicationHandler.ActionWrapper.PerformAction()
asked
Toby Broom
2 answers
0
Hi,
This looks like a Studio Pro issue in the macOS version rather than an issue with your app model. The error occurs while Studio Pro is trying to obtain an internal global transaction lock when opening Module Security.
Since Mendix Studio Pro on macOS is still relatively new and evolving, this may be a platform-specific issue in 11.12. You can try closing all open editors, restarting Studio Pro, and reopening the project before going to App Security. If it continues, I would recommend raising a Mendix Support ticket with this stack trace and a small reproducible project if possible.
As a workaround, you may need to update the module security from Windows Studio Pro until a fix is available in a later 11.12 patch or 11.13.
Kindly mark this as the accepted answer if it helps.
answered
Krishnakumar S
0
I can raise a ticket it is repoducable on my computer.