Shadowed Unit Frames

57 - Showing cast bar flags an error

What steps will reproduce the problem?
1. /suf, Unit Configuration -> Player -> Bars -> Enable Cast Bar
2. Reload the UI and another error is flagged.

What is the expected output? What do you see instead?
I expected to see a cast bar appear under my player unitframe. The unitframe definitely expands to allow for one but the castbar never appears.

What version of the product are you using?
3.2.3

Do you have an error log of what happened?
1x ShadowedUnitFrames-v3.2.3\modules\cast.lua:141 attempt to index field 'name' (a nil value)
ShadowedUnitFrames-v3.2.3\ShadowedUnitFrames.lua:288 in function `FireModuleEvent'
ShadowedUnitFrames-v3.2.3\modules\layout.lua:117 in function `Load'
ShadowedUnitFrames-v3.2.3\modules\units.lua:223 in function `SetVisibility'
ShadowedUnitFrames-v3.2.3\modules\units.lua:529 in function <...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:389
<in C code>: in function `SetAttribute'
ShadowedUnitFrames-v3.2.3\modules\units.lua:790 in function `LoadUnit'
ShadowedUnitFrames-v3.2.3\modules\units.lua:1013 in function `InitializeFrame'
ShadowedUnitFrames-v3.2.3\ShadowedUnitFrames.lua:107 in function `LoadUnits'
ShadowedUnitFrames-v3.2.3\ShadowedUnitFrames.lua:77 in function `OnInitialize'
ShadowedUnitFrames-v3.2.3\ShadowedUnitFrames.lua:497 in function <...ace\AddOns\ShadowedUnitFrames\ShadowedUnitFrames.lua:495

Locals:
self = <table> {
 defaults = <table> {}
 OnInitialize = <function> @ ShadowedUnitFrames\ShadowedUnitFrames.lua:25
 fakeUnits = <table> {}
 modules = <table> {}
 HideBlizzardFrames = <function> @ ShadowedUnitFrames\ShadowedUnitFrames.lua:335
 CheckUpgrade = <function> @ ShadowedUnitFrames\ShadowedUnitFrames.lua:81
 raidpetUnits = <table> {}
 partyUnits = <table> {}
 Units = <table> {}
 unitList = <table> {}
 noop = <function> @ ShadowedUnitFrames\ShadowedUnitFrames.lua:334
 SmartFormatNumber = <function> @ ShadowedUnitFrames\modules\tags.lua:230
 LoadDefaultLayout = <function> @ ShadowedUnitFrames\modules\defaultlayout.lua:69
 tagFunc = <table> {}
 raidUnits = <table> {}
 db = <table> {}
 playerUnit = "player"
 maintankUnits = <table> {}
 mainassistUnits = <table> {}
 arenaUnits = <table> {}
 enabledUnits = <table> {}
 L = <table> {}
 FireModuleEvent = <function> @ ShadowedUnitFrames\ShadowedUnitFrames.lua:285
 Druid = <table> {}
 Hex = <function> @ ShadowedUnitFrames\modules\tags.lua:206
 GetClassColor = <function> @ ShadowedUnitFrames\modules\tags.lua:240
 FormatShortTime = <function> @ ShadowedUnitFrames\modules\tags.lua:249
 FormatLargeNumber = <function> @ ShadowedUnitFrames\modules\tags.lua:218
 moduleOrder = <table> {}
 Layout = <table> {}
 RegisterModule = <function> @ ShadowedUnitFrames\ShadowedUnitFrames.lua:268
 Tags = <table> {}
 LoadUnitDefaults = <function> @ ShadowedUnitFrames\ShadowedUnitFrames.lua:114
 LoadUnits = <function> @ ShadowedUnitFrames\ShadowedUnitFrames.lua:88
 raidPetUnits = <table> {}
 unitTarget = <table> {}
 ProfilesChanged = <function> @ ShadowedUnitFrames\ShadowedUnitFrames.lua:312
 Print = <function> @ ShadowedUnitFrames\ShadowedUnitFrames.lua:447
 bossUnits = <table> {}
 ProfileReset = <function> @ ShadowedUnitFrames\ShadowedUnitFrames.lua:300
}
event = "OnLayoutApplied"
frame = SUFUnitplayer {
 0 = <userdata>
 fontStrings = <table> {}
 indicators = <unnamed> {}
 portrait = <unnamed> {}
 UnregisterAll = <function> @ ShadowedUnitFrames\modules\units.lua:91
 unitRealType = "player"
 portraitModel = <unnamed> {}
 unit = "player"
 castBar = <unnamed> {}
 combatText = <unnamed> {}
 registeredEvents = <table> {}
 healthBar = <unnamed> {}
 RegisterUnitEvent = <function> @ ShadowedUnitFrames\modules\units.lua:58
 powerBar = <unnamed> {}
 RegisterNormalEvent = <function> @ ShadowedUnitFrames\modules\units.lua:22
 SetVisibility = <function> @ ShadowedUnitFrames\modules\units.lua:173
 menu = <function> @ ShadowedUnitFrames\modules\units.lua:332
 topFrameLevel = 5
 unitInitialized = true
 vehicleUnit = "vehicle"
 UnregisterSingleEvent = <function> @ ShadowedUnitFrames\modules\units.lua:41
 DisableRangeAlpha = <function> @ ShadowedUnitFrames\modules\units.lua:115
 unitOwner = "player"
 fullUpdates = <table> {}
 UnregisterUpdateFunc = <function> @ ShadowedUnitFrames\modules\units.lua:81
 unitType = "player"
 SetRangeAlpha = <function> @ ShadowedUnitFrames\modules\units.lua:123
 highFrame = <unnamed> {}
 FullUpdate = <function> @ ShadowedUnitFrames\modules\units.lua:14
 visibility = <table> {}
 RegisterUpdateFunc = <function> @ ShadowedUnitFrames\modules\units.lua:64
}
unit = <table> {
 xpBar = <table> {}
 indicators = <table> {}
 scale = 1
 totemBar = <table> {}
 auras = <table> {}
 castBar = <table> {}
 powerBar = <table> {}
 enabled = true
 healthBar = <table>
  ---

Please provide any additional information below.
There are only 3 addons loaded at the time, Shadowed Unitframes, Bugsack, and Buggrabber.

User When Change
Shadowed Feb 18, 2010 at 16:51 UTC Changed status from New to Fixed
Pyksel Feb 18, 2010 at 14:34 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Feb 18, 2010
Reported
Feb 18, 2010
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees