Skip to content

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

Description

@st4s1k

Game Flavor

Classic Era

Is there an existing issue for this?

  • 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)"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions