Warlock Soul Shard Issue #1096


  • Defect
Open
  • decline_1246 created this issue Jan 21, 2018

    On my warlock, currently demo spec. Every time I gain or lose a soul shard, I get the error below. Any ideas?

     

    Message: ...ddOns\ShadowedUnitFrames\modules\basecombopoints.lua:186: bad argument #1 to 'pairs' (table expected, got nil)
    Time: 01/21/18 14:32:23
    Count: 10
    Stack: ...ddOns\ShadowedUnitFrames\modules\basecombopoints.lua:186: bad argument #1 to 'pairs' (table expected, got nil)
    [C]: ?
    [C]: in function `pairs'
    ...ddOns\ShadowedUnitFrames\modules\basecombopoints.lua:186: in function `?'
    ...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:209: in function <...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:206>

  • decline_1246 added a tag Defect Jan 21, 2018
  • nevcairiel posted a comment Jan 22, 2018

    This error shouldn't really be possible unless you had other errors before this one, possibly during login?

     

    I would recommend to install an addon like BugSack to get to see all errors, and not just the latest one.

  • decline_1246 posted a comment Jan 22, 2018
    1x ShadowedUnitFrames\modules\totems.lua:110: attempt to index field '?' (a nil value)
    ShadowedUnitFrames\modules\totems.lua:110: in function `?'
    ...aceShadowedUnitFrames\ShadowedUnitFrames-v4.1.21.lua:577: in function `FireModuleEvent'
    ShadowedUnitFrames\modules\layout.lua:147: in function `Load'
    ShadowedUnitFrames\modules\units.lua:303: in function `SetVisibility'
    ShadowedUnitFrames\modules\units.lua:602: in function <ShadowedUnitFrames\modules\units.lua:435>
    [C]: in function `SetAttribute'
    ShadowedUnitFrames\modules\units.lua:945: in function `LoadUnit'
    ShadowedUnitFrames\modules\units.lua:1318: in function `InitializeFrame'
    ...aceShadowedUnitFrames\ShadowedUnitFrames-v4.1.21.lua:240: in function `LoadUnits'
    ...aceShadowedUnitFrames\ShadowedUnitFrames-v4.1.21.lua:89: in function `OnInitialize'
    ...aceShadowedUnitFrames\ShadowedUnitFrames-v4.1.21.lua:885: in function <...aceShadowedUnitFrames\ShadowedUnitFrames.lua:883>
    
    Locals:
    self = <table> {
     moduleClass = "WARLOCK"
     moduleHasBar = true
     Update = <function> defined @ShadowedUnitFrames\modules\totems.lua:160
     UpdateVisibility = <function> defined @ShadowedUnitFrames\modules\totems.lua:148
     OnLayoutWidgets = <function> defined @ShadowedUnitFrames\modules\helpers.lua:23
     SecureLockable = <function> defined @ShadowedUnitFrames\modules\totems.lua:29
     OnDisable = <function> defined @ShadowedUnitFrames\modules\totems.lua:78
     OnEnable = <function> defined @ShadowedUnitFrames\modules\totems.lua:33
     OnLayoutApplied = <function> defined @ShadowedUnitFrames\modules\totems.lua:87
     moduleKey = "totemBar"
     DisableTag = <function> defined @ShadowedUnitFrames\modules\helpers.lua:13
     moduleName = "Imp & Dreadstalker bar"
     EnableTag = <function> defined @ShadowedUnitFrames\modules\helpers.lua:9
     moduleSpec = <table> {
     }
    }
    frame = SUFUnitplayer {
     vehicleUnit = "vehicle"
     OnEnter = <function> defined @ShadowedUnitFrames\modules\units.lua:659
     UnregisterAll = <function> defined @ShadowedUnitFrames\modules\units.lua:140
     auras = <table> {
     }
     castBar = <unnamed> {
     }
     registeredEvents = <table> {
     }
     UnitClassToken = <function> defined @ShadowedUnitFrames\modules\units.lua:666
     powerBar = <unnamed> {
     }
     RegisterNormalEvent = <function> defined @ShadowedUnitFrames\modules\units.lua:62
     SetVisibility = <function> defined @ShadowedUnitFrames\modules\units.lua:241
     topFrameLevel = 5
     RegisterUpdateFunc = <function> defined @ShadowedUnitFrames\modules\units.lua:113
     SetBlockColor = <function> defined @ShadowedUnitFrames\modules\units.lua:186
     unitType = "player"
     SetRangeAlpha = <function> defined @ShadowedUnitFrames\modules\units.lua:174
     visibility = <table> {
     }
     highlight = <unnamed> {
     }
     fontStrings = <table> {
     }
     unitInitialized = true
     unitRealType = "player"
     totemBar = <unnamed> {
     }
     unit = "player"
     ReregisterUnitEvents = <function> defined @ShadowedUnitFrames\modules\units.lua:41
     altPowerBar = <unnamed> {
     }
     SetBarColor = <function> defined @ShadowedUnitFrames\modules\units.lua:182
     soulShards = <unnamed> {
     }
     RegisterUnitEvent = <function> defined @ShadowedUnitFrames\modules\units.lua:107
     comboPoints = <unnamed> {
     }
     healAbsorb = <unnamed> {
     }
     incAbsorb = <unnamed> {
     }
     0 = <userdata>
     unitEventOverrides = <table> {
     }
     indicators = <unnamed> {
     }
     highFrame = <unnamed> {
     }
     UnregisterSingleEvent = <function> defined @ShadowedUnitFrames\modules\units.lua:90
     DisableRangeAlpha = <function> defined @ShadowedUnitFrames\modules\units.lua:166
     OnLeave = <function> defined @FrameXML\UnitFrame.lua:458
     fullUpdates = <table> {
     }
     UnregisterUpdateFunc = <function> defined @ShadowedUnitFrames\modules\units.lua:130
     healthBar = <unnamed> {
     }
     BlizzRegisterUnitEvent = <function> defined =[C]:-1
     incHeal = <unnamed> {
     }
     FullUpdate = <function> defined @ShadowedUnitFrames\modules\units.lua:33
     comboPointType = "soulShards"
     unitOwner = "player"
    }
    barWidth = 120.50000762939
    config = <table> {
     enabled = true
     background = false
     order = 70
     height = 0.4
    }
    (for generator) = <function> defined =[C]:-1
    (for state) = <table> {
     1 = <unnamed> {
     }
     2 = <unnamed> {
     }
    }
    (for control) = 2
    _ = 2
    totem = <unnamed> {
     0 = <userdata>
     id = 2
     background = <unnamed> {
     }
     parent = SUFUnitplayer {
     }
     fontString = <unnamed> {
     }
    }
    (*temporary) = <function> defined @ShadowedUnitFrames\modules\units.lua:186
    (*temporary) = SUFUnitplayer {
     vehicleUnit = "vehicle"
     OnEnter = <function> defined @ShadowedUnitFrames\modules\units.lua:659
     UnregisterAll = <function> defined @ShadowedUnitFrames\modules\units.lua:140
     auras = <table> {
     }
     castBar = <unnamed> {
     }
    

     

  • decline_1246 posted a comment Jan 22, 2018
    47x ...ddOns\ShadowedUnitFrames\modules\basecombopoints.lua:186: bad argument #1 to 'pairs' (table expected, got nil)
    [C]: in function `pairs'
    ...ddOns\ShadowedUnitFrames\modules\basecombopoints.lua:186: in function `Update'
    ...ceShadowedUnitFrames\modules\combopoints.lua:40: in function `?'
    ShadowedUnitFrames\modules\units.lua:36: in function `?'
    ShadowedUnitFrames\modules\units.lua:209: in function <ShadowedUnitFrames\modules\units.lua:206>
    
    Locals:
    (*temporary) = nil
    (*temporary) = "table expected, got nil"
     = <function> defined =[C]:-1
    

     

  • decline_1246 posted a comment Jan 22, 2018
    536x ShadowedUnitFrames\modules\incheal.lua:119: attempt to perform arithmetic on field 'healthSize' (a nil value)
    ShadowedUnitFrames\modules\incheal.lua:119: in function `PositionBar'
    ...faceShadowedUnitFrames\modules\incabsorb.lua:49: in function `?'
    ShadowedUnitFrames\modules\units.lua:209: in function <ShadowedUnitFrames\modules\units.lua:206>
    
    Locals:
    self = <table> {
     OnLayoutApplied = <function> defined @ShadowedUnitFrames\modules\incabsorb.lua:15
     OnEnable = <function> defined @ShadowedUnitFrames\modules\incabsorb.lua:4
     frameKey = "incAbsorb"
     moduleKey = "incAbsorb"
     UpdateFrame = <function> defined @ShadowedUnitFrames\modules\incabsorb.lua:33
     moduleName = "Incoming absorbs"
     colorKey = "incAbsorb"
     frameLevelMod = 3
    }
    frame = SUFUnitplayer {
     vehicleUnit = "vehicle"
     OnEnter = <function> defined @ShadowedUnitFrames\modules\units.lua:659
     UnregisterAll = <function> defined @ShadowedUnitFrames\modules\units.lua:140
     isDead = false
     auras = <table> {
     }
     castBar = <unnamed> {
     }
     registeredEvents = <table> {
     }
     UnitClassToken = <function> defined @ShadowedUnitFrames\modules\units.lua:666
     powerBar = <unnamed> {
     }
     RegisterNormalEvent = <function> defined @ShadowedUnitFrames\modules\units.lua:62
     SetVisibility = <function> defined @ShadowedUnitFrames\modules\units.lua:241
     topFrameLevel = 5
     RegisterUpdateFunc = <function> defined @ShadowedUnitFrames\modules\units.lua:113
     SetBlockColor = <function> defined @ShadowedUnitFrames\modules\units.lua:186
     unitType = "player"
     SetRangeAlpha = <function> defined @ShadowedUnitFrames\modules\units.lua:174
     visibility = <table> {
     }
     soulShards = <unnamed> {
     }
     highlight = <unnamed> {
     }
     fontStrings = <table> {
     }
     unitInitialized = true
     unitRealType = "player"
     totemBar = <unnamed> {
     }
     unit = "player"
     ReregisterUnitEvents = <function> defined @ShadowedUnitFrames\modules\units.lua:41
     altPowerBar = <unnamed> {
     }
     SetBarColor = <function> defined @ShadowedUnitFrames\modules\units.lua:182
     hasStateWatch = false
     RegisterUnitEvent = <function> defined @ShadowedUnitFrames\modules\units.lua:107
     comboPoints = <unnamed> {
     }
     healAbsorb = <unnamed> {
     }
     incAbsorb = <unnamed> {
     }
     0 = <userdata>
     unitEventOverrides = <table> {
     }
     indicators = <unnamed> {
     }
     highFrame = <unnamed> {
     }
     UnregisterSingleEvent = <function> defined @ShadowedUnitFrames\modules\units.lua:90
     DisableRangeAlpha = <function> defined @ShadowedUnitFrames\modules\units.lua:166
     OnLeave = <function> defined @FrameXML\UnitFrame.lua:458
     fullUpdates = <table> {
     }
     UnregisterUpdateFunc = <function> defined @ShadowedUnitFrames\modules\units.lua:130
     healthBar = <unnamed> {
     }
     BlizzRegisterUnitEvent = <function> defined =[C]:-1
     incHeal = <unnamed> {
     }
     FullUpdate = <function> defined @ShadowedUnitFrames\modules\units.lua:33
     comboPointType = "soulShards"
     unitOwner = "player"
    }
    incAmount = 854316
    bar = <unnamed> {
     parent = SUFUnitplayer {
     }
     background = <unnamed> {
     }
     total = 854316
     0 = <userdata>
    }
    health = 4271580
    maxHealth = 4271580
    (*temporary) = nil
    (*temporary) = 1
    (*temporary) = <userdata>
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = "attempt to perform arithmetic on field 'healthSize' (a nil value)"
    

     

  • decline_1246 posted a comment Jan 22, 2018

    One other thing to add is that soul shards don't appear.

     

    I didn't really notice this until I used the bugsack addon since it makes my lock playable because it hides the errors.

  • nevcairiel posted a comment Jan 23, 2018

    Try updating to the latest alpha version, I fixed one of those errors which I believe may be responsible for the others.


To post a comment, please login or register a new account.