lua error #328


Closed
  • Starbuds created this issue Dec 13, 2018

    If you're reporting a problem, please ALWAYS include the following information or I won't be able to help you!  (Suggestions or feature requests need not use this template)

    • Addon version (Example: r664-alpha)
    • Did you RESTART the game after updating the addon? (Make sure to exit and close fully the client, and not just reload your UI, to detect newly-added files)
    • Steps to reproduce the error or unwanted behaviour (If the addon won't load, make sure to enable script errors!)
    • Any other information you consider relevant or helpful in solving the problem (Screenshots, expected behaviour, things you already tried to fix the issue...)

     Thank you for understanding! It's not always easy to troubleshoot problems. Please don't make it more difficult by disregarding these suggestions.

    1x Rarity\Core.lua:2670: attempt to index field 'db' (a nil value)
    Rarity\Core.lua:2670: in function <Rarity\Core.lua:2669>
    [C]: ?
    Locals:
    self = GameTooltip {
     0 = <userdata>
     updateTooltip = 0.200000
     needsReset = true
     BottomOverlay = <unnamed> {
     }
     SetBagItem = <function> defined =[C]:-1
     TopOverlay = <unnamed> {
     }
     shoppingTooltips = <table> {
     }
    }
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = "attempt to index field 'db' (a nil value)"
    R = <table> {
     GetBarGroup = <function> defined @Rarity\Libs\LibBars-1.0\LibBars-1.0.lua:399
     ReleaseBar = <function> defined @Rarity\Libs\LibBars-1.0\LibBars-1.0.lua:288
     modules = <table> {
     }
     CancelTimer = <function> defined @ElvUI\Libraries\AceTimer-3.0\AceTimer-3.0.lua:147
     string_methods = <table> {
     }
     CanItemBeExportedImported = <function> defined @Rarity\Core.lua:1032
     ProfileStart = <function> defined @Rarity\Core.lua:1393
     GetSinkAce3OptionsDataTable = <function> defined @Rarity\Libs\LibSink-2.0\LibSink-2.0\LibSink-2.0.lua:508
     PrimeItemCache = <function> defined @Rarity\Core.lua:820
     GetNPCIDFromGUID = <function> defined @Rarity\Core.lua:1554
     CreateGroup = <function> defined @Rarity_Options\Options.lua:1306
     ScheduleTimer = <function> defined @ElvUI\Libraries\AceTimer-3.0\AceTimer-3.0.lua:94
     OnBagUpdate = <function> defined @Rarity\Core.lua:2023
     GetZone = <function> defined @Rarity\Core.lua:1153
     RegisterMessage = <function> defined @ElvUI\Libraries\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
     UnregisterMessage = <function> defined @ElvUI\Libraries\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
     RegisterSink = <function> defined @Rarity\Libs\LibSink-2.0\LibSink-2.0\LibSink-2.0.lua:627
     ProfileStart2 = <function> defined @Rarity\Core.lua:1399
     NewBarGroup = <function> defined @Rarity\Libs\LibBars-1.0\LibBars-1.0.lua:331
     catOrder = <table> {
     }
     OnEnable = <function> defined @Rarity\Core.lua:548
     itemsMasterList = <table> {
     }
     modulesEnabled = <table> {
     }
     Options_DoEnable = <function> defined @Rarity_Options\Options.lua:89
     UpdateInterestingThings = <function> defined @Rarity\Core.lua:1431
     StartSession = <function> defined @Rarity\Core.lua:4751
     NewCounterBar = <function> defined @Rarity\Libs\LibBars-1.0\LibBars-1.0.lua:280
     holiday_textures = <table> {
     }
     OnInitialize = <function> defined @Rarity\Core.lua:541
     NewModule = <function> defined @ElvUI\Libraries\AceAddon-3.0\AceAddon-3.0.lua:235
     ach_npcs_achId = <table> {
     }
     items_with_stats = <table> {
     }
     ImportFromBunnyHunter = <function> defined @Rarity\Core.lua:4774
     Deserialize = <function> defined @ElvUI\Libraries\AceSerializer-3.0\AceSerializer-3.0.lua:246
     ProfileDebug = <function> defined @Rarity\Core.lua:1419
     OnCriteriaComplete = <function> defined @Rarity\Core.lua:2456
     DoEnable = <function> defined @Rarity\Core.lua:552
     GetName = <function> defined @ElvUI\Libraries\AceAddon-3.0\AceAddon-3.0.lua:279
     GetBarGroups = <function> defined @Interfac
  • Cakechart posted a comment Jan 15, 2019

    Any context on how this happened? The addon should never have trouble finding its own SavedVariables, but I can't do more with this limited information.

  • fireymerlin posted a comment Jan 23, 2019

    I also get this error quite frequently.  I'm not doing anything special.  It just comes up.

  • Cakechart posted a comment Jan 24, 2019

    Does it affect the addon's functionality in any way? This looks like the game tooltip hook may be called too early (by the client, presumably), but short of adding another exit point to prevent it throwing an error in your face I don't know if I can do much about that.

     

    If this is the problem, then it should only affect the tooltip addition for a brief moment whenever this occurs. Since I can't reproduce it, there's no way to know what causes it, but I'll push a workaround with the next alpha version to see if it prevents the error message.

  • Cakechart closed issue Mar 30, 2020
  • Cakechart posted a comment Mar 30, 2020

    Closing as not actionable. Need far more information if I am to reproduce this, and also newer addon versions may no longer have this problem.


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