error on threat status update #186


  • Defect
  • Fixed
Closed
Assigned to _ForgeUser117147
  • _ForgeUser5888619 created this issue Oct 20, 2010

    What steps will reproduce the problem?
    1. Joining a raid or bg
    2.
    3.

    What is the expected output? What do you see instead? error on threat status update

    What version of the product are you using? 540

    Do you have an error log of what happened? yes. the how to file tickets link said i didn't have permission. This is my first ticket filing ever. Hope I did it right.

    Please provide any additional information below.

    Message: Interface\AddOns\Grid2\modules\StatusThreat.lua:31: Usage: UnitThreatSituation("unit" [, "mob"])
    Time: 10/20/10 10:56:21
    Count: 206
    Stack: [C]: in function `UnitThreatSituation'
    Interface\AddOns\Grid2\modules\StatusThreat.lua:31: in function `IsActive'
    Interface\AddOns\Grid2\GridIndicator.lua:75: in function `GetCurrentStatus'
    Interface\AddOns\Grid2\GridIndicator.lua:112: in function `Update'
    Interface\AddOns\Grid2\GridFrame.lua:241: in function `UpdateIndicators'
    Interface\AddOns\Grid2\GridFrame.lua:30: in function <Interface\AddOns\Grid2\GridFrame.lua:22>
    [C]: in function `SetAttribute'
    Interface\FrameXML\SecureGroupHeaders.lua:198: in function <Interface\FrameXML\SecureGroupHeaders.lua:115>
    Interface\FrameXML\SecureGroupHeaders.lua:610: in function `SecureGroupPetHeader_Update'
    Interface\FrameXML\SecureGroupHeaders.lua:472: in function <Interface\FrameXML\SecureGroupHeaders.lua:470>

    Locals: (*temporary) = "raidpetpet3"

  • _ForgeUser5888619 added the tags New Defect Oct 20, 2010
  • roncli posted a comment Oct 25, 2010

    I believe the problem is related to the fact that pets do not display. I was unable to pinpoint the issue.

  • _ForgeUser117147 posted a comment Nov 5, 2010

    I hope to have worked around the Blizzard bug that produce this error in rev543.

  • roncli posted a comment Nov 5, 2010

    Pets are visible and interactive in Grid. :)

    However, this error still occurs when taking portals or zoning into instances while you have pets in your party/raid. It does not appear to occur otherwise.

  • _ForgeUser881924 posted a comment Nov 28, 2010

    I have rev545 testing and it is not fixed in this as I still am getting the same bugs reported in accordance to this.

    17x Grid2-Grid2 v545\modules\StatusThreat.lua:31: Usage: UnitThreatSituation("unit" [, "mob"]) Grid2-Grid2 v545\modules\StatusThreat.lua:31: in function `IsActive' Grid2-Grid2 v545\GridIndicator.lua:75: in function `GetCurrentStatus' Grid2-Grid2 v545\GridIndicator.lua:112: in function `Update' Grid2-Grid2 v545\GridFrame.lua:241: in function `UpdateIndicators' Grid2-Grid2 v545\GridFrame.lua:290: in function `?' CallbackHandler-1.0-6:147: in function <...ags\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147> <string>:"safecall Dispatcher[3]":4: in function <[string "safecall Dispatcher[3]"]:4> <in C code>: ? <string>:"safecall Dispatcher[3]":13: in function `?' CallbackHandler-1.0-6:92: in function `SendMessage' Grid2-Grid2 v545\GridRoster.lua:193: in function `?' CallbackHandler-1.0-6:147: in function <...ags\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147> <string>:"safecall Dispatcher[2]":4: in function <[string "safecall Dispatcher[2]"]:4> <in C code>: ? <string>:"safecall Dispatcher[2]":13: in function `?' CallbackHandler-1.0-6:92: in function `Fire' AceEvent-3.0-3 (AdiBags):120: in function <...ce\AddOns\AdiBags\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

  • _ForgeUser4656716 posted a comment Jan 5, 2011

    Hi,

    I have a hack that at least removes the error, by doing some extra sanity checking in StatusThreat. Note the "if(unit and UnitExists(unit)) then" line:

    function Threat:IsActive(unit) if(unit and UnitExists(unit)) then local threat = unit and UnitThreatSituation(unit) if (threat and threat > 0) then return "blink" end end end

  • _ForgeUser117147 posted a comment Jan 5, 2011

    Fix implemented in rev551

    Thanks Potje

  • _ForgeUser117147 removed a tag New Jan 12, 2011
  • _ForgeUser117147 added a tag Fixed Jan 12, 2011
  • _ForgeUser117147 closed issue Jan 12, 2011

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