AzeriteUI

AzeriteUI

591k Downloads

[BUG] LUA Error when applying poisons in TWW

phlzZz opened this issue ยท 0 comments

commented

Game Flavor

Dragonflight

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When applying poisons LUA errors appear:

1/5
Message: ...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:2555: attempt to call global 'GetSpellTexture' (a nil value)
Time: Wed Sep 11 10:10:09 2024
Count: 4
Stack: ...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:2555: attempt to call global 'GetSpellTexture' (a nil value)
[string "=[C]"]: ?
[string "@Interface/AddOns/Blizzard_FrameXML/RestrictedExecution.lua"]:483: in function <...ace/AddOns/Blizzard_FrameXML/RestrictedExecution.lua:446>
string "=(tail call)": ?
[string "@Interface/AddOns/Blizzard_FrameXML/SecureHandlers.lua"]:285: in function <...nterface/AddOns/Blizzard_FrameXML/SecureHandlers.lua:279>
string "=(tail call)": ?

Locals:

2/5
Message: ...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:2563: attempt to call global 'IsUsableSpell' (a nil value)
Time: Wed Sep 11 10:10:14 2024
Count: 5
Stack: ...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:2563: attempt to call global 'IsUsableSpell' (a nil value)
[string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:2563: in function `IsUsable'
[string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:1956: in function <...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:1943>
[string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:1142: in function <...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:1132>

Locals: self = LABFlyoutButton4 {
FlyoutArrowContainer = Frame {
}
NewActionTexture = Texture {
}
Border = LABFlyoutButton4Border {
}
Flash = LABFlyoutButton4Flash {
}
TargetReticleAnimFrame = Frame {
}
_state_action = 381637
SpellCastAnimFrame = Frame {
}
InterruptDisplay = Frame {
}
isMouseOver = true
HotKey = LABFlyoutButton4HotKey {
}
HighlightTexture = Texture {
}
action = 0
PushedTexture = Texture {
}
AutoCastOverlay = Frame {
}
CheckedTexture = Texture {
}
CooldownFlash = Frame {
}
TextOverlayContainer = Frame {
}
IconMask = MaskTexture {
}
state_actions =

{
}
NormalTexture = LABFlyoutButton4NormalTexture {
}
FlyoutBorderShadow = LABFlyoutButton4FlyoutBorderShadow {
}
header = LAB10GEFlyoutHandlerFrame {
}
SpellHighlightAnim = AnimationGroup {
}
LevelLinkLockIcon = Texture {
}
id = 4
SpellHighlightTexture = Texture {
}
__LAB_Version = 130
icon = LABFlyoutButton4Icon {
}
config =
{
}
Count = LABFlyoutButton4Count {
}
_state_type = "spell"
state_types =
{
}
Name = LABFlyoutButton4Name {
}
cooldown = LABFlyoutButton4Cooldown {
}
zoneAbilityDisabled = false
}
(*temporary) = nil
(*temporary) = 381637
(*temporary) = "attempt to call global 'IsUsableSpell' (a nil value)"

3/5
Message: ...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:2561: attempt to call global 'IsCurrentSpell' (a nil value)
Time: Wed Sep 11 10:10:15 2024
Count: 4
Stack: ...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:2561: attempt to call global 'IsCurrentSpell' (a nil value)
[string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:2561: in function `IsCurrentlyActive'
[string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:1932: in function <...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:1931>
[string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:1185: in function <...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:1184>

Locals: self = LABFlyoutButton4 {
FlyoutArrowContainer = Frame {
}
NewActionTexture = Texture {
}
Border = LABFlyoutButton4Border {
}
Flash = LABFlyoutButton4Flash {
}
TargetReticleAnimFrame = Frame {
}
_state_action = 381637
SpellCastAnimFrame = Frame {
}
InterruptDisplay = Frame {
}
HotKey = LABFlyoutButton4HotKey {
}
HighlightTexture = Texture {
}
action = 0
PushedTexture = Texture {
}
AutoCastOverlay = Frame {
}
CheckedTexture = Texture {
}
CooldownFlash = Frame {
}
TextOverlayContainer = Frame {
}
IconMask = MaskTexture {
}
state_actions =

{
}
NormalTexture = LABFlyoutButton4NormalTexture {
}
FlyoutBorderShadow = LABFlyoutButton4FlyoutBorderShadow {
}
header = LAB10GEFlyoutHandlerFrame {
}
SpellHighlightAnim = AnimationGroup {
}
LevelLinkLockIcon = Texture {
}
id = 4
SpellHighlightTexture = Texture {
}
__LAB_Version = 130
icon = LABFlyoutButton4Icon {
}
config =
{
}
Count = LABFlyoutButton4Count {
}
_state_type = "spell"
state_types =
{
}
Name = LABFlyoutButton4Name {
}
cooldown = LABFlyoutButton4Cooldown {
}
zoneAbilityDisabled = false
}
(*temporary) = nil
(*temporary) = 381637
(*temporary) = "attempt to call global 'IsCurrentSpell' (a nil value)"

4/5
Message: ...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:2563: attempt to call global 'IsUsableSpell' (a nil value)
Time: Wed Sep 11 10:10:15 2024
Count: 2
Stack: ...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:2563: attempt to call global 'IsUsableSpell' (a nil value)
[string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:2563: in function IsUsable' [string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:1956: in function <...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:1943> [string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:1149: in function <...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:1146> [string "=[C]"]: in function Hide'
[string "@Interface/AddOns/Blizzard_FrameXML/RestrictedFrames.lua"]:382: in function `Hide'
[string " if self:GetAttribute("type") == "action" then
local type, action = GetActionInfo(self:GetAttribute("action"))

		if type == "flyout" and self:GetAttribute("LABUseCustomFlyout") then
			local flyoutHandler = owner:GetFrameRef("flyoutHandler")
			if not down and flyoutHandler then
				flyoutHandler:SetAttribute("flyoutParentHandle", self)
				flyoutHandler:RunAttribute("HandleFlyout", action)
			end

			self:CallMethod("UpdateFlyout")
			return false
		end

		-- hide the flyout
		local flyoutHandler = owner:GetFrameRef("flyoutHandler")
		if flyoutHandler then
			flyoutHandler:Hide()
		end

		-- if this is a pickup click, disable on-down casting
		-- it should get re-enabled in the post handler, or the OnDragStart handler, whichever occurs
		if button ~= "Keybind" and ((self:GetAttribute("unlockedpreventdrag") and not self:GetAttribute("buttonlock")) or IsModifiedClick("PICKUPACTION")) and not self:GetAttribute("LABdisableDragNDrop") then
			self:CallMethod("ToggleOnDownForPickup", true)
			self:SetAttribute("LABToggledOnDown", true)
		end
		return (button == "Keybind") and "LeftButton" or nil, format("%s|%s", tostring(type), tostring(action))
	end

	-- hide the flyout, the extra down/ownership check is needed to not hide the button we're currently pressing too early
	local flyoutHandler = owner:GetFrameRef("flyoutHandler")
	if flyoutHandler and (not down or self:GetParent() ~= flyoutHandler) then
		flyoutHandler:Hide()
	end

	if button == "Keybind" then
		return "LeftButton"
	end
"]:33: in function <[string "		if self:GetAttribute("type") == "action" ..."]:1>

[string "=[C]"]: ?
[string "@Interface/AddOns/Blizzard_FrameXML/RestrictedExecution.lua"]:483: in function <...ace/AddOns/Blizzard_FrameXML/RestrictedExecution.lua:446>
string "=(tail call)": ?
[string "@Interface/AddOns/Blizzard_FrameXML/SecureHandlers.lua"]:285: in function <...nterface/AddOns/Blizzard_FrameXML/SecureHandlers.lua:279>
string "=(tail call)": ?

Locals: self = LABFlyoutButton4 {
FlyoutArrowContainer = Frame {
}
NewActionTexture = Texture {
}
Border = LABFlyoutButton4Border {
}
Flash = LABFlyoutButton4Flash {
}
TargetReticleAnimFrame = Frame {
}
_state_action = 381637
SpellCastAnimFrame = Frame {
}
InterruptDisplay = Frame {
}
HotKey = LABFlyoutButton4HotKey {
}
HighlightTexture = Texture {
}
action = 0
PushedTexture = Texture {
}
AutoCastOverlay = Frame {
}
CheckedTexture = Texture {
}
CooldownFlash = Frame {
}
TextOverlayContainer = Frame {
}
IconMask = MaskTexture {
}
state_actions =

{
}
NormalTexture = LABFlyoutButton4NormalTexture {
}
FlyoutBorderShadow = LABFlyoutButton4FlyoutBorderShadow {
}
header = LAB10GEFlyoutHandlerFrame {
}
SpellHighlightAnim = AnimationGroup {
}
LevelLinkLockIcon = Texture {
}
id = 4
SpellHighlightTexture = Texture {
}
__LAB_Version = 130
icon = LABFlyoutButton4Icon {
}
config =
{
}
Count = LABFlyoutButton4Count {
}
_state_type = "spell"
state_types =
{
}
Name = LABFlyoutButton4Name {
}
cooldown = LAB

5/5
Message: ...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:2563: attempt to call global 'IsUsableSpell' (a nil value)
Time: Wed Sep 11 10:10:14 2024
Count: 3
Stack: ...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:2563: attempt to call global 'IsUsableSpell' (a nil value)
[string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:2563: in function `IsUsable'
[string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:1956: in function <...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:1943>
[string "@Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua"]:1149: in function <...bs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua:1146>

Locals: self = LABFlyoutButton3 {
FlyoutArrowContainer = Frame {
}
NewActionTexture = Texture {
}
Border = LABFlyoutButton3Border {
}
Flash = LABFlyoutButton3Flash {
}
TargetReticleAnimFrame = Frame {
}
_state_action = 3408
SpellCastAnimFrame = Frame {
}
InterruptDisplay = Frame {
}
HotKey = LABFlyoutButton3HotKey {
}
HighlightTexture = Texture {
}
action = 0
PushedTexture = Texture {
}
AutoCastOverlay = Frame {
}
CheckedTexture = Texture {
}
CooldownFlash = Frame {
}
TextOverlayContainer = Frame {
}
IconMask = MaskTexture {
}
state_actions =

{
}
NormalTexture = LABFlyoutButton3NormalTexture {
}
FlyoutBorderShadow = LABFlyoutButton3FlyoutBorderShadow {
}
header = LAB10GEFlyoutHandlerFrame {
}
SpellHighlightAnim = AnimationGroup {
}
LevelLinkLockIcon = Texture {
}
id = 3
SpellHighlightTexture = Texture {
}
__LAB_Version = 130
icon = LABFlyoutButton3Icon {
}
config =
{
}
Count = LABFlyoutButton3Count {
}
_state_type = "spell"
state_types =
{
}
Name = LABFlyoutButton3Name {
}
cooldown = LABFlyoutButton3Cooldown {
}
zoneAbilityDisabled = false
}
(*temporary) = nil
(*temporary) = 3408
(*temporary) = "attempt to call global 'IsUsableSpell' (a nil value)"

To reproduce

apply poisons

Expected behavior

No response

Screenshots

No response

Additional context

none