AzeriteUI5 icon indicating copy to clipboard operation
AzeriteUI5 copied to clipboard

[BUG] ButtonStateBehavior.lua:39: attempt to call method 'OnButtonStateChanged' (a nil value)

Open st4s1k opened this issue 9 months ago • 0 comments

Game Flavor

Classic Era

Is there an existing issue for this?

  • [x] I have searched the existing issues

Describe the bug

After updating from 1.15.6 to 1.15.7 I get an error when I enter the world or when I hover a button.

To reproduce

Just enter the world in version 1.15.7

If you close the error window and hover over a button, you get an error as well.

Expected behavior

There was no error in version 1.15.6

Screenshots

Image

Additional context

Message: ...ddOns/Blizzard_SharedXMLBase/ButtonStateBehavior.lua:48: attempt to call method 'OnButtonStateChanged' (a nil value)
Time: Thu Apr 10 17:34:01 2025
Count: 2
Stack:
[Interface/AddOns/Blizzard_SharedXMLBase/ButtonStateBehavior.lua]:48: in function 'OnLeave'
[Interface/AddOns/Blizzard_Flyout/Flyout.lua]:32: in function 'OnLeave'
[Interface/AddOns/AzeriteUI/Libs/LibActionButton-1.0-GE/LibActionButton-1.0-GE.lua]:1179: in function 'OnLeave'
[Interface/AddOns/AzeriteUI/Components/ActionBars/Prototypes/ActionButton.lua]:46: in function <...UI/Components/ActionBars/Prototypes/ActionButton.lua:44>

Locals:
self = AzeriteActionBar5Button4 {
 state_actions = <table> {
 }
 NewActionTexture = Texture {
 }
 Border = AzeriteActionBar5Button4Border {
 }
 Flash = AzeriteActionBar5Button4Flash {
 }
 CustomSpellActivationAlert = Texture {
 }
 IconBorder = Texture {
 }
 _state_action = 40
 icon = AzeriteActionBar5Button4Icon {
 }
 AutoCastable = Texture {
 }
 keyBoundTarget = "MULTIACTIONBAR4BUTTON4"
 backdrop = Texture {
 }
 OverlayFrame = Frame {
 }
 hitRects = <table> {
 }
 HotKey = AzeriteActionBar5Button4HotKey {
 }
 action = 0
 cooldownCount = FontString {
 }
 HighlightTexture = Texture {
 }
 CheckedTexture = Texture {
 }
 NormalTexture = AzeriteActionBar5Button4NormalTexture {
 }
 Name = AzeriteActionBar5Button4Name {
 }
 Count = AzeriteActionBar5Button4Count {
 }
 SpellHighlightAnim = AnimationGroup {
 }
 FlyoutBorderShadow = AzeriteActionBar5Button4FlyoutBorderShadow {
 }
 AutoCastShine = AzeriteActionBar5Button4Shine {
 }
 id = 4
 PushedTexture = Texture {
 }
 SpellHighlightTexture = Texture {
 }
 __LAB_Version = 135
 header = AzeriteActionBar5 {
 }
 config = <table> {
 }
 FlyoutBorder = AzeriteActionBar5Button4FlyoutBorder {
 }
 _state_type = "action"
 state_types = <table> {
 }
 FlyoutArrow = AzeriteActionBar5Button4FlyoutArrow {
 }
 cooldown = AzeriteActionBar5Button4Cooldown {
 }
 zoneAbilityDisabled = false
}
(*temporary) = nil
(*temporary) = AzeriteActionBar5Button4 {
 state_actions = <table> {
 }
 NewActionTexture = Texture {
 }
 Border = AzeriteActionBar5Button4Border {
 }
 Flash = AzeriteActionBar5Button4Flash {
 }
 CustomSpellActivationAlert = Texture {
 }
 IconBorder = Texture {
 }
 _state_action = 40
 icon = AzeriteActionBar5Button4Icon {
 }
 AutoCastable = Texture {
 }
 keyBoundTarget = "MULTIACTIONBAR4BUTTON4"
 backdrop = Texture {
 }
 OverlayFrame = Frame {
 }
 hitRects = <table> {
 }
 HotKey = AzeriteActionBar5Button4HotKey {
 }
 action = 0
 cooldownCount = FontString {
 }
 HighlightTexture = Texture {
 }
 CheckedTexture = Texture {
 }
 NormalTexture = AzeriteActionBar5Button4NormalTexture {
 }
 Name = AzeriteActionBar5Button4Name {
 }
 Count = AzeriteActionBar5Button4Count {
 }
 SpellHighlightAnim = AnimationGroup {
 }
 FlyoutBorderShadow = AzeriteActionBar5Button4FlyoutBorderShadow {
 }
 AutoCastShine = AzeriteActionBar5Button4Shine {
 }
 id = 4
 PushedTexture = Texture {
 }
 SpellHighlightTexture = Texture {
 }
 __LAB_Version = 135
 header = AzeriteActionBar5 {
 }
 config = <table> {
 }
 FlyoutBorder = AzeriteActionBar5Button4FlyoutBorder {
 }
 _state_type = "action"
 state_types = <table> {
 }
 FlyoutArrow = AzeriteActionBar5Button4FlyoutArrow {
 }
 cooldown = AzeriteActionBar5Button4Cooldown {
 }
 zoneAbilityDisabled = false
}
(*temporary) = "attempt to call method 'OnButtonStateChanged' (a nil value)"

st4s1k avatar Apr 10 '25 14:04 st4s1k