View Bug Report
TargetFrameSpellBar
Bug #: 6275
File: FluidFrames
Date: 12-09-09 06:59 PM
By: Nooq
Status: Unconfirmed
Getting an error when I move the target frame spell bar. Here's the error:


Page 1:
Message: Interface\FrameXML\TargetFrame.lua:899: attempt to compare number with nil
Time: 12/09/09 19:50:26
Count: 1
Stack: Interface\FrameXML\TargetFrame.lua:899: in function <Interface\FrameXML\TargetFrame.lua:883>
[C]: in function `SetParent'
Interface\AddOns\FluidFrames\FrameReparent.lua:29: in function `ReparentAssociatedFrames'
Interface\AddOns\FluidFrames\FrameReparent.lua:38: in function `FreeFrameFromParent'
Interface\AddOns\FluidFrames\DraggableFrame.lua:226: in function `StartParentResizing'
Interface\AddOns\FluidFrames\DraggableFrame.lua:116: in function <Interface\AddOns\FluidFrames\DraggableFrame.lua:116>

Locals: self = TargetFrameSpellBar {
showTradeSkills = false
holdTime = 0
unit = "target"
0 = <userdata>
castID = 16
showCastbar = true
maxValue = 2.109
showShield = true
casting = 1
value = 1.5430001035711
updateEvent = "PLAYER_TARGET_CHANGED"
}
parentFrame = UIParent {
0 = <userdata>
firstTimeLoaded = 1
Above = Recount_MainWindow {
}
}
(*temporary) = nil
(*temporary) = UIParent {
0 = <userdata>
firstTimeLoaded = 1
Above = Recount_MainWindow {
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"

Page 2:
Message: Interface\FrameXML\TargetFrame.lua:899: attempt to compare number with nil
Time: 12/09/09 19:55:58
Count: 3
Stack: Interface\FrameXML\TargetFrame.lua:899: in function `Target_Spellbar_AdjustPosition'
Interface\FrameXML\TargetFrame.lua:470: in function `TargetFrame_UpdateAuras'
Interface\FrameXML\TargetFrame.lua:179: in function `OnEvent'
Interface\FrameXML\UnitFrame.lua:417: in function <Interface\FrameXML\UnitFrame.lua:415>

Locals: self = TargetFrameSpellBar {
0 = <userdata>
showTradeSkills = false
holdTime = 0
SetHeight = <function> defined =[C]:-1
unit = "target"
showCastbar = true
value = 2.1100001303857
SetPoint = <function> defined =[C]:-1
updateEvent = "PLAYER_TARGET_CHANGED"
FFShowHooked = true
FFImmobilized = true
Show = <function> defined =[C]:-1
SetParent = <function> defined =[C]:-1
SetWidth = <function> defined =[C]:-1
castID = 18
showShield = true
maxValue = 2.109
FFSetXHooked = true
}
parentFrame = UIParent {
0 = <userdata>
firstTimeLoaded = 1
Above = Recount_MainWindow {
}
}
(*temporary) = nil
(*temporary) = UIParent {
0 = <userdata>
firstTimeLoaded = 1
Above = Recount_MainWindow {
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"

Page 3:
Message: Interface\FrameXML\TargetFrame.lua:899: attempt to compare number with nil
Time: 12/09/09 19:55:56
Count: 1
Stack: Interface\FrameXML\TargetFrame.lua:899: in function <Interface\FrameXML\TargetFrame.lua:883>
[C]: ?
[C]: in function `Show'
Interface\AddOns\FluidFrames\FrameHide.lua:75: in function `ShowAssociatedFrames'
Interface\AddOns\FluidFrames\FrameHide.lua:58: in function `UnlockHiddenFrame'
Interface\AddOns\FluidFrames\DraggableFrame.lua:198: in function <Interface\AddOns\FluidFrames\DraggableFrame.lua:196>

Locals: self = TargetFrameSpellBar {
0 = <userdata>
showTradeSkills = false
holdTime = 0
SetHeight = <function> defined =[C]:-1
unit = "target"
showCastbar = true
value = 2.1100001303857
SetPoint = <function> defined =[C]:-1
updateEvent = "PLAYER_TARGET_CHANGED"
FFShowHooked = true
FFImmobilized = true
Show = <function> defined =[C]:-1
SetParent = <function> defined =[C]:-1
SetWidth = <function> defined =[C]:-1
castID = 18
showShield = true
maxValue = 2.109
FFSetXHooked = true
}
parentFrame = UIParent {
0 = <userdata>
firstTimeLoaded = 1
Above = Recount_MainWindow {
}
}
(*temporary) = nil
(*temporary) = UIParent {
0 = <userdata>
firstTimeLoaded = 1
Above = Recount_MainWindow {
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"

I'm only using the Default unit frames, I just wanted to relocate the Target Cast Bar to above the frame instead of it's default below it.

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Wagthaa - 01-17-10 08:07 PM
Just dealt with the very same error in MoveAnything.

It's caused by reparenting the TargetFrameSpellbar as Target_Spellbar_AdjustPosition uses GetParent to get a hold of the appropriate target frame.