Ctrl+Hovering over an item errors: "Attempt to call method 'Reset' (a nil value)" #1058


  • Fixed
Closed
  • keli created this issue Jun 29, 2019

    Hi! Opening AtlasLoot and holding ctrl to preview the item and hovering over that item throws the following error. The preview does not show on the mini thumbnail, but I can see it fine if I click the item and look in the dressing room window. The same error ticks up for every item I ctrl+click and hover:

     

    Message: Interface\AddOns\AtlasLoot\Button\Item_type.lua:294: attempt to call method 'Reset' (a nil value)
    Time: Sat Jun 29 09:12:02 2019
    Count: 2
    Stack: Interface\AddOns\AtlasLoot\Button\Item_type.lua:294: attempt to call method 'Reset' (a nil value)
    Interface\AddOns\AtlasLoot\Button\Item_type.lua:294: in function `ShowQuickDressUp'
    Interface\AddOns\AtlasLoot\Button\Item_type.lua:155: in function `OnEnter'
    Interface\AddOns\AtlasLoot\Button\Button.lua:69: in function <Interface\AddOns\AtlasLoot\Button\Button.lua:66>
    
    Locals: itemLink = "[Runic Magnaron Tooth]"
    ttFrame = AtlasLootTooltip {
     0 = <userdata>
     updateTooltip = 0.200000
     needsReset = true
     BottomOverlay = <unnamed> {
     }
     comparing = false
     TopOverlay = <unnamed> {
     }
     shoppingTooltips = <table> {
     }
    }
    frame = AtlasLoot-SetToolTip-ModelFrame {
     minZoom = 0
     curRotation = 0.610000
     maxZoom = 1
     0 = <userdata>
     zoomLevelNew = 0
     zoomLevel = 0
     defaultRotation = 0.610000
    }
    x = 595.000122
    y = 661.833618
    fPoint = "TOPRIGHT"
    oPoint = "BOTTOMRIGHT"
    (*temporary) = nil
    (*temporary) = AtlasLoot-SetToolTip-ModelFrame {
     minZoom = 0
     curRotation = 0.610000
     maxZoom = 1
     0 = <userdata>
     zoomLevelNew = 0
     zoomLevel = 0
     defaultRotation = 0.610000
    }
    (*temporary) = "attempt to call method 'Reset' (a nil value)"
    IsEquippableItem = <function> defined =[C]:-1
    Item = <table> {
     GetStringContent = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:227
     OnEnter = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:132
     OnSet = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:31
     Refresh = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:184
     previewTooltipFrame = AtlasLoot-SetToolTip {
     }
     OnMouseAction = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:92
     ShowQuickDressUp = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:240
     OnClear = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:168
     Query = <table> {
     }
     identifierLength = 1
     identifier = "i"
     index = 1
     OnLeave = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:159
    }
    ALPrivate = <table> {
     BOX_BORDER_BACKDROP = <table> {
     }
     IMAGE_PATH = "Interface\AddOns\AtlasLoot\Images\"
     ACCOUNT_LOCALE = "enUS"
     BOX_BACKDROP = <table> {
     }
     COIN_TEXTURE = <table> {
     }
    }
    GetItemInfo = <function> defined =[C]:-1
    

     

     

     

  • Wyvern7 posted a comment Jul 10, 2019

    Message: Interface\AddOns\AtlasLoot\Button\Item_type.lua:294: attempt to call method 'Reset' (a nil value)
    Time: Wed Jul 10 10:47:39 2019
    Count: 14
    Stack: Interface\AddOns\AtlasLoot\Button\Item_type.lua:294: attempt to call method 'Reset' (a nil value)
    Interface\AddOns\AtlasLoot\Button\Item_type.lua:294: in function `ShowQuickDressUp'
    Interface\AddOns\AtlasLoot\Button\Item_type.lua:155: in function `OnEnter'
    Interface\AddOns\AtlasLoot\Button\Button.lua:73: in function <Interface\AddOns\AtlasLoot\Button\Button.lua:66>

    Locals: itemLink = "[Troggbane, Axe of the Frostborne King]"
    ttFrame = AtlasLootTooltip {
    0 = <userdata>
    numMoneyFrames = 1
    comparing = false
    shoppingTooltips = <table> {
    }
    TopOverlay = <unnamed> {
    }
    shownMoneyFrames = 1
    needsReset = true
    BottomOverlay = <unnamed> {
    }
    hasMoney = 1
    updateTooltip = 0.200000
    }
    frame = AtlasLoot-SetToolTip-ModelFrame {
    minZoom = 0
    curRotation = 0.610000
    maxZoom = 1
    0 = <userdata>
    zoomLevelNew = 0
    zoomLevel = 0
    defaultRotation = 0.610000
    }
    x = 645.000061
    y = 635.999939
    fPoint = "TOPRIGHT"
    oPoint = "BOTTOMRIGHT"
    (*temporary) = nil
    (*temporary) = AtlasLoot-SetToolTip-ModelFrame {
    minZoom = 0
    curRotation = 0.610000
    maxZoom = 1
    0 = <userdata>
    zoomLevelNew = 0
    zoomLevel = 0
    defaultRotation = 0.610000
    }
    (*temporary) = "attempt to call method 'Reset' (a nil value)"
    IsEquippableItem = <function> defined =[C]:-1
    Item = <table> {
    GetStringContent = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:227
    OnEnter = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:132
    OnSet = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:31
    Refresh = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:184
    previewTooltipFrame = AtlasLoot-SetToolTip {
    }
    OnMouseAction = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:92
    ShowQuickDressUp = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:240
    OnClear = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:168
    Query = <table> {
    }
    identifierLength = 1
    identifier = "i"
    index = 1
    OnLeave = <function> defined @Interface\AddOns\AtlasLoot\Button\Item_type.lua:159
    }
    ALPrivate = <table> {
    BOX_BORDER_BACKDROP = <table> {
    }
    IMAGE_PATH = "Interface\AddOns\AtlasLoot\Images\"
    ACCOUNT_LOCALE = "enUS"
    BOX_BACKDROP = <table> {
    }
    COIN_TEXTURE = <table> {
    }
    }
    GetItemInfo = <function> defined =[C]:-1

  • Forge_User_87679168 posted a comment May 28, 2020

    I commented out the line "frame:Reset()", which is line 294 in the file it mentions. 

    This stopped the LUA error and I haven't seen any negative effects so far.

  • arithmandar closed issue Oct 25, 2020
  • arithmandar added a tag Fixed Oct 25, 2020

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