Thread Tools Display Modes
08-25-08, 11:55 AM   #1
Erina29
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 12
Error addon from woltk betatest

Interface\FrameXML\UIDropdownmenu.lua:838:Attempt to call method 'GetName'
a nil value

Help me please.
  Reply With Quote
08-25-08, 12:44 PM   #2
LBXZero
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 61
What is the addon? Also, do you have more data with that error message?

Unfortunately, what you have is a symptom of a logical error, given that the FrameXML file is good.
  Reply With Quote
08-25-08, 01:23 PM   #3
Akryn
A Firelord
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 479
I'm going to take a wild guess and say that the problem is probably caused by your addon's calls to the various UIDropDownMenu_XXX functions not being updated to the WoW 3.x signatures.

Many of them require you to pass the actual menu object as the first parameter now, including the ones that used to require it as a 2nd parameter. For example, UIDropDownMenu_SetWidth(self, 203) as opposed to UIDropDownMenu_SetWidth(203, self) or UIDropDownMenu_SetWidth(203)
  Reply With Quote
08-27-08, 02:17 AM   #4
Thaoky
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 30
I confirm what Akryn said, I'm making heavy use of drop downs in my addon, and I've been confronted to that issue, almost all drop down related api functions now have the frame as first parameter.
  Reply With Quote
08-27-08, 05:06 AM   #5
Mera
Retired of WoW, In ESO :)
 
Mera's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 331
bug difficult to fixe because such error is not directly linked to an addon in the error report so you will have to enable each addon one per one to find out which one is causing this.
__________________
If you need to reach me I'm in ESO, @class101 or "Fathis Ules i"
addons: SpamBayes, BrokerCPU
projects: ThunderBayes
Mera[xeh]? - La CroisadeEcarlate (wow)
  Reply With Quote
08-27-08, 05:23 AM   #6
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
btw: http://www.wowinterface.com/forums/s...ad.php?t=17624
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Error addon from woltk betatest


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off