Error with no target #6


  • New
  • Defect
Open
Assigned to polyhydride
  • wowery created this issue Sep 3, 2012

    What steps will reproduce the problem?
    1. Open the dressing room
    2. Have no target selected
    3. Click Target button in dressing room

    What is the expected output? What do you see instead?
    Nothing to happen, error pops up when you press target.

    What version of the product are you using?
    1.34

    Do you have an error log of what happened?

    1x FrameXML\ModelFrames.lua:311: attempt to index local "frame" (a nil value)
    FrameXML\ModelFrames.lua:311: in function "SetDressUpBackground"
    Cosplay\Cosplay-v1.3.4.lua:104: in function "Reset"
    Cosplay\Cosplay-v1.3.4.lua:198: in function "DressUpTarget"
    Cosplay\Cosplay-v1.3.4.lua:71: in function <Cosplay\Cosplay.lua:70>

    Locals:
    self = <table> {
    SetDefaultModuleLibraries = <func> @Ace3\..\AceAddon-3.0.lua:383
    Enable = <func> @Ace3\..\AceAddon-3.0.lua:315
    UnregisterAllEvents = <func> @Ace3\..\CallbackHandler-1.0.lua:202
    EnableModule = <func> @Ace3\..\AceAddon-3.0.lua:348
    modules = <table> {}
    GetModule = <func> @Ace3\..\AceAddon-3.0.lua:231
    IterateEmbeds = <func> @Ace3\..\AceAddon-3.0.lua:458
    DressUpTarget = <func> @..\Cosplay.lua:187
    SecureHook = <func> @Ace3\..\AceHook-3.0.lua:339
    defaultModuleLibraries = <table> {}
    RawHookScript = <func> @Ace3\..\AceHook-3.0.lua:398
    SetDefaultModulePrototype = <func> @Ace3\..\AceAddon-3.0.lua:425
    name = "Cosplay"
    IsEnabled = <func> @Ace3\..\AceAddon-3.0.lua:467
    orderedModules = <table> {}
    DisableModule = <func> @Ace3\..\AceAddon-3.0.lua:366
    CreateMainButtons = <func> @..\Cosplay.lua:49
    baseName = "Cosplay"
    OnEnable = <func> @..\Cosplay.lua:211
    RegisterMessage = <func> @Ace3\..\CallbackHandler-1.0.lua:118
    UnregisterMessage = <func> @Ace3\..\CallbackHandler-1.0.lua:181
    OnInitialize = <func> @..\Cosplay.lua:202
    ToggleRotatable = <func> @..\Cosplay.lua:173
    IsHooked = <func> @Ace3\..\AceHook-3.0.lua:496
    Disable = <func> @Ace3\..\AceAddon-3.0.lua:330
    CreateAHButtons = <func> @..\Cosplay.lua:85
    IsModule = <func> @Ace3\..\AceAddon-3.0.lua:484
    db = <table> {}
    SendMessage = <func> @Ace3\..\CallbackHandler-1.0.lua:87
    hooks = <table> {}
    NewModule = <func> @Ace3\..\AceAddon-3.0.lua:256
    SetEnabledState = <func> @Ace3\..\AceAddon-3.0.lua:440
    Hook = <func> @Ace3\..\AceHook-3.0.lua:277
    enabledState = true
    UnhookAll = <func> @Ace3\..\AceHook-3.0.lua:480
    RegisterEvent = <func> @Ace3\..\CallbackHandler-1.0.lua:118
    UnregisterAllMessages = <func> @Ace3\..\CallbackHandler-1.0.lua:202
    Unhook = <func> @Ace3\..\AceHook-3.0.lua:421
    SecureHookScript = <func> @Ace3\..\AceHook-3.0.lua:413
    HookScript = <func> @Ace3\..\AceHook-3.0.lua:369
    IterateModules = <func> @Ace3\..\AceAddon-3.0.lua:453
    SetDefaultModuleState = <func> @Ace3\..\AceAddon-3.0.lua:403
    RawHook = <func> @Ace3\..\AceHook-3.0.lua:316
    GetName = <func> @Ace3\..\AceAddon-3.0.lua:300
    defaultModuleState = true
    UnregisterEvent = <func> @Ace3\..\CallbackHandler-1.0.lua:181
    Reset = <func> @..\Cosplay.lua:102
    }

    Please provide any additional information below.
    Just found it by mistake, by clicking on the target when I had actually no target.

  • wowery added the tags New Defect Sep 3, 2012
  • polyhydride posted a comment Sep 3, 2012

    Can't reproduce this error. Do you have any other addons interacting with the dressing room that might be interfering? If you click the button with no target, the action it takes is to just reset the current window (as if you had pushed the Reset button).


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