LUA error when dinging 50 in Chromie Time #97


  • Waiting
  • External Error
Open
Assigned to burstroc
  • finwickle created this issue Nov 5, 2020

    BankItems Version: 9.0.1.1-Beta 3b

    Game Version: 9.0.1 (36492)

    Description of Error:

    I was leveling in BfA but still had Chromie Time active from previous questing elsewhere. I dinged 50 on a quest completion and immediately got this LUA error. When I moused over the quest reward for the follow-up quest, I got the error again and no mouse over text for the item at all. Accepting the quest and then opening the quest from quest log didn't give me the error and gave me a correct mouse over text for the quest reward. Seems like a Chomie Time glitch or something. Very minor issue, but thought to report it anyway.

     

    Steps to Reproduce Error:

    Level to 50... No idea if this happens all the time or if it was coincidence. I don't have any 45+ chars left to try to replicate.

     

    LUA error:

    Message: Interface\AddOns\BankItems\BankItems.lua:6650: Invalid quest item in SetQuestItem("type", index)
    Time: Thu Nov 5 21:32:24 2020
    Count: 2
    Stack: Interface\AddOns\BankItems\BankItems.lua:6650: Invalid quest item in SetQuestItem("type", index)
    [string "=[C]"]: ?
    [string "@Interface\AddOns\BankItems\BankItems.lua"]:6650: in function `SetQuestItem'
    [string "@Interface\FrameXML\QuestInfo.lua"]:1049: in function <Interface\FrameXML\QuestInfo.lua:1034>

    Locals: (*temporary) = GameTooltip {
    0 = <userdata>
    SetCurrencyByID = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6595
    backdropInfo = <table> {
    }
    OnBackdropLoaded = <function> defined @Interface\SharedXML\Backdrop.lua:205
    textLeft1Font = "GameTooltipHeaderText"
    BottomLeftCorner = <unnamed> {
    }
    ItemTooltip = <unnamed> {
    }
    SetHyperlink = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6607
    SetGuildBankItem = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6667
    hasMoney = 1
    TopLeftCorner = <unnamed> {
    }
    RightEdge = <unnamed> {
    }
    SetMerchantCostItem = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6621
    GetBackdropColor = <function> defined @Interface\SharedXML\Backdrop.lua:443
    SetCurrencyToken = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6601
    SetBackdropBorderColor = <function> defined @Interface\SharedXML\Backdrop.lua:475
    textRight2Font = "GameTooltipText"
    SetMerchantItem = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6687
    ApplyBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:347
    SetBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:382
    ClearBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:335
    TopOverlay = <unnamed> {
    }
    GetBackdropBorderColor = <function> defined @Interface\SharedXML\Backdrop.lua:462
    GetBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:400
    TextRight1 = GameTooltipTextRight1 {
    }
    Center = <unnamed> {
    }
    SetLFGDungeonReward = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6701
    SetQuestItem = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6648
    comparing = false
    SetBorderBlendMode = <function> defined @Interface\SharedXML\Backdrop.lua:319
    SetPvPReward = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6711
    numMoneyFrames = 1
    HasBackdropInfo = <function> defined @Interface\SharedXML\Backdrop.lua:331
    BottomEdge = <unnamed> {
    }
    SetRecipeReagentItem = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6637
    SetQuestCurrency = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6661
    TextLeft1 = GameTooltipTextLeft1 {
    }
    SetQuestLogItem = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6643
    SetCurrencyTokenByID = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6615
    SetupTextureCoordinates = <function> defined @Interface\SharedXML\Backdrop.lua:267
    SetBackpackToken = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6630
    TopRightCorner = <unnamed> {
    }
    SetInboxItem = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6677
    shoppingTooltips = <table> {
    }
    textRight1Font = "GameTooltipHeaderText"
    OnBackdropSizeChanged = <function> defined @Interface\SharedXML\Backdrop.lua:235
    GetEdgeSize = <function> defined @Interface\SharedXML\Backdrop.lua:241
    updateTooltip = 0.005000
    textLeft2Font = "GameTooltipText"
    TopEdge = <unnamed> {
    }
    TextRight2 = GameTooltipTextRight2 {
    }
    TextLeft2 = GameTooltipTextLeft2 {
    }
    BottomOverlay = <unnamed> {
    }
    BottomRightCorner = <unnamed> {
    }
    SetQuestLogCurrency = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6653
    needsReset = true
    SetupPieceVisuals = <function> defined @Interface\SharedXML\Backdrop.lua:299
    SetBackdropColor = <function> defined @Interface\SharedXML\Backdrop.lua:452
    LeftEdge = <unnamed> {
    }
    SetRecipeResultItem = <function> defined @Interface\AddOns\BankItems\BankItems.lua:6695
    }
    (*temporary) = "choice"

     

    ...  (cut off)

  • finwickle added a tag New Nov 5, 2020
  • Burstroc posted a comment Nov 5, 2020

    Would you be able/willing to provide a list of other addons you are using and the name of one of the quests this happened on?

     

    Given the error you listed and the way BankItems interacts with SetQuestItem it appears BankItems is just getting blamed for incorrect arguments for SetQuestItem being passed by the Blizzard UI or more likely another addon. I could add something in to prevent the error from showing but that would likely mean I'm hiding errors from other addons that aren't functioning properly making issues their users are having harder for that addon author to address.

  • Burstroc self-assigned this issue Nov 5, 2020
  • Burstroc added a tag Info Needed Nov 5, 2020
  • Burstroc removed a tag New Nov 5, 2020
  • Burstroc added a tag Replied Nov 5, 2020
  • Burstroc posted a comment Nov 5, 2020

    Actually I should be able to add something that will catch the error and then display a custom error message indicating the addon at fault.

  • finwickle posted a comment Nov 5, 2020

    Quest I handed in is The Glory of the Hunt. Follow up quest is The Stoat Hunt.

     

    Addons used (all updated to the latest version yesterday; only Coordinates is not updated for 9.0.1):

    • BankItems
    • Blizzmove
    • Coordinates
    • MonkeySpeed
    • SavedInstances
    • TinyPad
    • WeakAuras

    As far as I know none of these addons other than BankItems do something with items or item descriptions. It could very well be a game glitch with switching from Chomie Time to regular time, and not be an addon issue at all.

  • Burstroc posted a comment Nov 5, 2020

    If you run into this again Beta 4 should give a lua error message that includes the name of the addon or Blizzard function that caused the error.


    Edited Nov 5, 2020
  • Burstroc posted a comment Nov 5, 2020

    Thanks for posting that list of addons and those quests. 

     

    You're hunch is probably right and this was just the game not updating something properly during the switch out of Chromie Time. If the game thought that The Glory of the Hunt was still the actively displayed quest while it was really The Stoat Hunt that could definitely cause this issue. Glory is a simple quest with no required items or item rewards. Any attempt to run SetQuestItem for Glory would throw this error trying to display a quest item that doesn't exist.


    Edited Nov 5, 2020
  • Burstroc added a tag External Error Nov 5, 2020
  • Burstroc removed the tags Info Needed Replied Nov 5, 2020
  • Burstroc added a tag Waiting Nov 5, 2020
  • finwickle posted a comment Nov 6, 2020

    Thanks, I'll download Beta 4 for when it does happen again.


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