New Install Onload Error #80


  • Defect
  • Fixed
Closed
Assigned to _ForgeUser117147
  • _ForgeUser1509 created this issue Jan 20, 2010

    What steps will reproduce the problem?
    1. Log in with a freash clean install (no saved variables for grid2)
    2.
    3.

    What is the expected output? What do you see instead?

    What version of the product are you using?

    Do you have an error log of what happened?

    1x Grid2Options-r319\GridIndicators.lua:407: attempt to index field 'options' (a nil value)
    Grid2Options-r319\GridMedia.lua:12: in function <Grid2Options\GridMedia.lua:7>
    <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-5:92: in function `Fire'
    LibSharedMedia-3.0-90058:176: in function `Register'
    oRA3-296\modules\Cooldowns.lua:824: in function `OnRegister'
    oRA3-296\modulePrototype.lua:10: in function <oRA3\modulePrototype.lua:5>
    (tail call): ?:
    <in C code>: ?
    <string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
    (tail call): ?:
    AceAddon-3.0-5 (Ace3):510: in function `InitializeAddon'
    AceAddon-3.0-5 (Ace3):622: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:615>
    <in C code>: in function `LoadAddOn'
    AddonLoader-2.0\AddonLoader.lua:109: in function `LoadAddOn'
    AddonLoader-2.0\AddonLoader.lua:130: in function <AddonLoader\AddonLoader.lua:119>

      ---

    Please provide any additional information below.

    This only errors on first time load and looking at your code tells me it is injecting sharedmedia into a table onload then after reload the media table is built and no longer errors.
    Looks as tho you may need to set a default media type so this bug wont fire every first time load.

  • _ForgeUser1509 added the tags New Defect Jan 20, 2010
  • _ForgeUser117147 removed a tag New Jan 22, 2010
  • _ForgeUser117147 added a tag Fixed Jan 22, 2010
  • _ForgeUser117147 posted a comment Jan 22, 2010

    Fixed in rev323.


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