Details! Damage Meter

Details! Damage Meter

250M Downloads

Details/frames/window_playerbreakdown_spells.lua:628: attempt to index a nil value

jeremy-hill opened this issue ยท 2 comments

commented

Before Start!

Make sure the bug also happen when Details! is the only addon enabled.

Game and Details! version
Use /details to grab these two.
DETAILS! VERSION: VWD 11023 RELEASE 10.1.0
(Details.20230520.11023.151)

Describe the bug
I just tried to click into someones' (a hunters') dispels to see specifics, and got a broken UI and the following LUA error.

  • Additional information:

Lua Error

46x ...Ons/Details/frames/window_playerbreakdown_spells.lua:628: attempt to index a nil value
[string "@Details/frames/window_playerbreakdown_spells.lua"]:628: in function <...Ons/Details/frames/window_playerbreakdown_spells.lua:599>

Locals:
spellBar = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11 {
 0 = <userdata>
 index = 11
 spellIcon = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11IconFrameTexture {
 }
 lineText3 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString3 {
 }
 SetFramesToHeaderAlignment = <function> defined @Details/Libs/DF/header.lua:79
 lineText11 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString11 {
 }
 lineText4 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString4 {
 }
 expandButton = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11ExpandButton {
 }
 OnClick = <function> defined @Details/Libs/DF/header.lua:131
 statusBar = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11StatusBar {
 }
 lineText6 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString6 {
 }
 lineText7 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString7 {
 }
 lineText9 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString9 {
 }
 onMouseUpTime = 0
 targetsSquareFrame = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11StatusBarTargetsFrame {
 }
 lineText5 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString5 {
 }
 lineText13 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString13 {
 }
 lineText8 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString8 {
 }
 Index = 11
 lineText10 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString10 {
 }
 spellIconFrame = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11IconFrame {
 }
 lineText2 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString2 {
 }
 OnMouseDown = <function> defined @Details/Libs/DF/header.lua:175
 overlayTexture = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11StatusBarTextureOverlay {
 }
 InLineTexts = <table> {
 }
 lineText14 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString14 {
 }
 lineText16 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString16 {
 }
 lineText15 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString15 {
 }
 lineText12 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString12 {
 }
 ExpandedChildren = <table> {
 }
 GetFramesFromHeaderAlignment = <function> defined @Details/Libs/DF/header.lua:85
 FramesToAlign = <table> {
 }
 AlignWithHeader = <function> defined @Details/Libs/DF/header.lua:92
 OnMouseUp = <function> defined @Details/Libs/DF/header.lua:184
 lineText1 = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11FontString1 {
 }
 ResetFramesToHeaderAlignment = <function> defined @Details/Libs/DF/header.lua:75
 targetsSquareTexture = DetailsBreakdownWindowTabFrameSummary4094SpellScrollContainerSpellScrollSpellBarButton11StatusBarTargetsFrameTexture {
 }
 AddFrameToHeaderAlignment = <function> defined @Details/Libs/DF/header.lua:68
}
motion = true
instance = <table> {
 h_baixo = DetailsBottomSideBarHighlight1 {
 }
 menu_icons_size = 0.850000
 h_esquerda = DetailsLeftSideBarHighlight1 {
 }
 bg_r = 0.094118
 fullborder_size = 0.500000
 color_buttons = <table> {
 }
 rows_showing = 5
 modo = 2
 LastModo = 2
 icons = <table> {
 }
 RefreshWindow = <func...

Screenshots
image

commented

Also saw this switching specs:

[11:37 AM] Details!: D! table.dispell is invalid. spellId: 378076    
[11:37 AM] Details!: D! table.dispell is invalid. spellId: 370    
commented

Thanks for the report. I can reliably reproduce the first issue on a new reload and I know why it's happening. Thank you.