WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   Joining Party (https://www.wowinterface.com/forums/showthread.php?t=29169)

Jungleanimal 12-12-09 06:18 PM

Joining Party
 
I get this when I join a party. It happens immediately after clicking accept. This is after loading the newest nUI tonight for 3.3

Date: 2009-12-12 18:16:53
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\nUI\Units\nUI_UnitRole.lua line 796:
attempt to index upvalue 'texture' (a nil value)
Debug:
(tail call): ?
[C]: ?
nUI\Units\nUI_UnitRole.lua:796: updateRoleFrame()
nUI\Units\nUI_UnitRole.lua:507: setEnabled()
nUI\Units\nUI_Unit.lua:481: setEnabled()
nUI\Units\nUI_Unit.lua:429:
nUI\Units\nUI_Unit.lua:425
[C]: Show()
nUI\Units\nUI_UnitPanel.lua:746: newUnitInfo()
nUI\Units\nUI_UnitCache.lua:647:
nUI\Units\nUI_UnitCache.lua:591

Xrystal 12-12-09 06:19 PM

Do you remember what role you selected for yourself and what role it attributed to you if that was different somehow ?

Well the block of code that relates to is as follows :

Code:

                        for i=1,numHidden do
                               
                                texture = hidden[i];
                               
                                if texture.active then
                                       
                                        texture.active = false;
                                        texture:ClearAllPoints();
                                        texture:SetAlpha( 0 );
                                       
                                end
                        end

Possibly hidden[i] is empty and thus perhaps a test for texture before accessing sub elements just in case. The question is though whether there should be a value regardless or whether there are chances there won't be a value.

spiel2001 12-12-09 06:26 PM

1 Attachment(s)
Okay -- looks like I fat fingered something.

See if the attached fixes it... just save it in your [ Interface > AddOns > nUI > Units ] folder.

.

Jungleanimal 12-12-09 07:44 PM

Yep, all better. Woo Hoo!

:banana::banana::banana::banana::D

spiel2001 12-12-09 07:45 PM

Awesome -- thanks for letting me know.


All times are GMT -6. The time now is 12:58 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI