LUA error when leaving combat or attempting to mount dragon
hollo6 opened this issue ยท 2 comments
Addon Version
10.0.12
World of Warcraft Version
retail
Happens only on one of my characters. After this starts to happen, I get the below error every time when leaving combat or mounting a dragon.
1669x FrameXML/EditModeUtil.lua:22: attempt to perform arithmetic on local 'offsetX' (a nil value)
[string "@FrameXML/EditModeUtil.lua"]:22: in function GetRightActionBarWidth' [string "@FrameXML/EditModeUtil.lua"]:53: in function
GetRightContainerAnchor'
[string "@FrameXML/UIParent.lua"]:3091: in function UIParentManageFramePositions' [string "@FrameXML/UIParent.lua"]:2570: in function <FrameXML/UIParent.lua:2557> [string "=[C]"]: in function
SetAttribute'
[string "@FrameXML/UIParent.lua"]:3113: in function UIParent_ManageFramePositions' [string "@FrameXML/EditModeManager.lua"]:640: in function
UpdateBottomActionBarPositions'
[string "@FrameXML/EditModeManager.lua"]:554: in function UpdateActionBarLayout' [string "@FrameXML/EditModeSystemTemplates.lua"]:655: in function
UpdateGridLayout'
[string "@FrameXML/ActionBar.lua"]:350: in function `UpdateVisibility'
[string "@FrameXML/ActionBar.lua"]:282: in function <FrameXML/ActionBar.lua:278>
[string "=[C]"]: ?
[string "=[C]"]: ?
Locals:
self =
GetSettingMapFromSettings = defined @FrameXML/EditModeUtil.lua:58
IsRightAnchoredActionBar = defined @FrameXML/EditModeUtil.lua:3
GetRightContainerAnchor = defined @FrameXML/EditModeUtil.lua:52
IsBottomAnchoredActionBar = defined @FrameXML/EditModeUtil.lua:8
GetRightActionBarWidth = defined @FrameXML/EditModeUtil.lua:18
GetBottomActionBarHeight = defined @FrameXML/EditModeUtil.lua:33
}
offset = 0
point = nil
relativeTo = nil
relativePoint = nil
offsetX = nil
offsetY = nil
(*temporary) = 45.000072
(*temporary) = 45.000072
(*temporary) = MultiBarRight {
0 =
buttonPadding = 2
UpdateSystemSettingAlwaysShowButtons = defined @FrameXML/EditModeSystemTemplates.lua:772
UpdateMagnetismRegistration = defined @FrameXML/EditModeSystemTemplates.lua:506
GetSnapOffsets = defined @FrameXML/EditModeSystemTemplates.lua:411
UpdateFrameStrata = defined @FrameXML/ActionBar.lua:194
UpdateButtonArt = defined @FrameXML/EditModeSystemTemplates.lua:669
IsFrameAnchoredToMe = defined @FrameXML/EditModeSystemTemplates.lua:469
buttonTemplate = "MultiBar3ButtonTemplate"
ShowBase = defined =[C]:-1
IsShown = defined @FrameXML/ActionBar.lua:286
GetSelectionOffset = defined @FrameXML/EditModeSystemTemplates.lua:363
ResetToDefaultPosition = defined @FrameXML/EditModeSystemTemplates.lua:148
RefreshButtonArt = defined @FrameXML/EditModeSystemTemplates.lua:662
GetScaledSelectionSides = defined @FrameXML/EditModeSystemTemplates.lua:355
SelectSystem = defined @FrameXML/EditModeSystemTemplates.lua:534
buttonArtDirty = false
GetFrameMagneticEligibility = defined @FrameXML/EditModeSystemTemplates.lua:489
AddLayoutChildren = defined @SharedXML/LayoutFrame.lua:48
IsBelowFrame = defined @FrameXML/EditModeSystemTemplates.lua:322
UpdateSystemSettingIconSize = defined @FrameXML/EditModeSystemTemplates.lua:714
SetScaleBase = defined =[C]:-1
HasActiveChanges = defined @FrameXML/EditModeSystemTemplates.lua:244
GetScaledCenter = defined @FrameXML/EditModeSystemTemplates.lua:348
DoesSettingDisplayValueEqual = defined @FrameXML/EditModeSystemTemplates.lua:268
Layout = defined @SharedXML/LayoutFrame.lua:333
settingDisplayInfoMap =
}
addSystemIndexToName = true
IsLayoutFrame = defined @SharedXML/LayoutFrame.lua:36
DoesSettingValueEqual = defined @FrameXML/EditModeSystemTemplates.lua:263
MarkDirty = defined @SharedXML/LayoutFrame.lua:90
ShouldResetSettingsDialogAnchors = defined @FrameXML/EditModeSystemTemplates.lua:91
dirtySettings =
}
UpdateGridLayout = defined @FrameXML/EditModeSystemTemplates.lua:648
IsToTheLeftOfFrame = defined @FrameXML/EditModeSystemTemplates.lua:304
GetSettingsDialogAnchor = defined @FrameXML/EditModeSystemTemplates.lua:288
hasActiveChanges = false
OnSystemLoad = defined @FrameXML/EditModeSystemTemplates.lua:3
ClearFrameSnap = defined @FrameXML/EditModeSystemTemplates.lua:448
GetCombinedCenterOffset = defined @FrameXML/EditModeSystemTemplates.lua:398
SetupSettingsDialogAnchor = defined @FrameXML/EditModeSystemTemplates.lua:232
IsShownOverride = defined @FrameXML/ActionBar.lua:286
dirty = false
SetPointBase = defined =[C]:-1
UpdateSystem = defined @FrameXML/EditModeSystemTemplates.lua:586
CacheGridSettings =
Upon further testing, it seems to be "toggled on" when dismounting using a skill instead of the dismount action. When this "toggle" is on, leaving/entering combat, displaying some tooltips, mounting and several other actions trigger this error.
Re-mounting and dismounting (without using a skill but toggling the mount off) seems to fix it until dismounting using a skill again.