7 - Error on logging in to game
What steps will reproduce the problem?
1. log in to game
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using?
v1-303
Do you have an error log of what happened?
Date: 2009-12-09 03:14:43
ID: 1
Error occured in: Global
Count: 1
Message: ...ItemDataCache\ItemDataCache_ByID_class_Functions.lua line 27:
attempt to call method 'GetFrameType' (a nil value)
Debug:
[C]: GetFrameType()
...ItemDataCache\ItemDataCache_ByID_class_Functions.lua:27: RefreshItem()
...ItemDataCache\ItemDataCache_ByID_class_Functions.lua:43: RefreshClass()
...ItemDataCache\ItemDataCache_ByID_class_Functions.lua:130: InitLocalClassName()
...\AddOns\ItemDataCache\ItemDataCache_Scan_Tooltip.lua:203:
...\AddOns\ItemDataCache\ItemDataCache_Scan_Tooltip.lua:202
...\AddOns\ItemDataCache\ItemDataCache_Scan_Tooltip.lua:210: PurgeLocalDataByID_maxcharges()
ItemDataCache\IDC.lua:71: Init()
ItemDataCache\IDC.lua:22: OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
(ck=1070)
Please provide any additional information below.
| User | When | Change |
|---|---|---|
| Aoife | Dec 09, 2009 at 11:20 UTC | Create |
- 4 comments
- 4 comments
- Reply
- #4
Ringkeeper Oct 17, 2010 at 17:47 UTC - 0 likesDate: 2010-10-17 19:45:58 ID: 1 Error occured in: Global Count: 1 Message: [string "ItemDataCacheTooltip:Onload"] line 1: attempt to index global 'this' (a nil value) Debug: [C]: ? [string "*:Onload"]:1: [string "*:Onload"]:1
i think "this" is no more valid (got the same error on another addon) , but dont know how to replace it here :(
- Reply
- #3
Aoife Dec 13, 2009 at 14:56 UTC - 0 likesZywadugu's fix works. Thank you!
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
Aoife
Divine Alliance of Mok'Nathal
- Reply
- #2
Zywadugu Dec 11, 2009 at 04:11 UTC - 0 likesHey folks, sorry in advance for caps:
THIS IS FIXED BY THE FOLLOWING:
edit "ItemDataCache_ByID_class_Functions". search for "GetFrameType" and replace with "GetObjectType"
-> http://forums.worldofwarcraft.com/thread.html?topicId=20437376853&sid=1 notes that the GetFrameType is no longer in use, and GetObjectType should return the same values.
- Reply
- #1
kazso Dec 09, 2009 at 19:25 UTC - 0 likesI get similar errors when logging in after patch 3.3 (copy/paste from buggrabber):
1x ...ItemDataCache\ItemDataCache_ByID_class_Functions.lua:27: attempt to call method 'GetFrameType' (a nil value): ...ItemDataCache\ItemDataCache_ByID_class_Functions.lua:43: in function `RefreshClass': ...ItemDataCache\ItemDataCache_ByID_class_Functions.lua:130: in function `InitLocalClassName': ItemDataCache-1.303\ItemDataCache_Scan_Tooltip.lua:203: in function <...\AddOns\ItemDataCache\ItemDataCache_Scan_Tooltip.lua:202> ItemDataCache-1.303\ItemDataCache_Scan_Tooltip.lua:210: in function `PurgeLocalDataByID_maxcharges' ItemDataCache-1.303\IDC.lua:71: in function `Init' ItemDataCache-1.303\IDC.lua:22: in function `OnEvent' <string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
Locals: classID = 9 subclassID = 3 (for index) = 1 (for limit) = 3 (for step) = 1 idx = 1 itemID = 4408 _ = nil _ = nil _ = nil _ = nil _ = nil itemClass = nil itemSubclass = nil lastRefreshDone = 29287.194 THROTTLE = 5 NEED_MATCHES_GT = 2 itemClassSubclassKnown = <table> { 12 = <table> {} 6 = <table> {} 0 = <table> {} 1 = <table> {} 7 = <table> {} 9 = <table> {} 2 = <table> {} 5 = <table> {} 11 = <table> {} } ItemDataCache = <table> { OnInit = <table> {} PatternStatsMod = <table> {} OverrideBtmScan = <function> @ ItemDataCache\ItemDataCache_Addon_BtmScan.lua:12: TooltipScanBagItem = <function> @ ItemDataCache\ItemDataCache_Scan_Tooltip.lua:172: ScanMerchantItems = <function> @ ItemDataCache\ItemDataCache_Scan_Merchant.lua:1: TooltipScanBagItemIsSoulbound = <function> @ ItemDataCache\ItemDataCache_Scan_Tooltip.lua:187: OnTooltipAddMoney = <function> @ ItemDataCache\ItemDataCache_Scan_Tooltip.lua:22: DebugScanTooltip = <function> @ ItemDataCache\ItemDataCache_Scan_Tooltip.lua:193: PurgeLocalData = <function> @ ItemDataCache\IDC.lua:85: RefreshItem = <function> @ ItemDataCache\ItemDataCache_ByID_class_Functions.lua:22: NewInformantGetItem = <function> @ ItemDataCache\ItemDataCache_Addon_Informant.lua:5: ScanBagsAtMerchant = <function> @ ItemDataCache\ItemDataCache_Scan_Tooltip.lua:225: OnUpdate = <table> {} GetClassSubclassID = <function> @ ItemDataCache\ItemDataCache_ByID_class_Functions.lua:136: NewBtmScanGetVendorPrice = <function> @ ItemDataCache\ItemDataCache_Addon_BtmScan.lua:6: ScanTooltipPattern = <function> @ ItemDataCache\ItemDataCache_Scan_Tooltip.lua:164: ScanTooltip = <function> @ ItemDataCache\ItemDataCache_Scan_Tooltip.lua:98: Init = <function> @ ItemDataCache\IDC.lua:55: InitStatModPatterns = <function> @ ItemDataCache\ItemDataCache_Scan_Tooltip.lua:60: PurgeLocalDataByID_maxcharges = <function> @ ItemDataCache\ItemDataCache_Scan_Tooltip.lua:209: GetClassSubclassName = <function> @ ItemDataCache\ItemDataCache_ByID_class_Functions.lua:156: OnEvent = <function> @ ItemDataCache\IDC.lua:20: OverrideInformant = <function> @ ItemDataCache\ItemDataCache_Addon_Informant.lua:14: InitLocalClassName = <function> @ ItemDataCache\ItemDataCache_ByID_class_Functions.lua:82: UpdateLocalDataByID = <function> @ ItemDataCache\IDC.lua:110: ScaningStatsModFound = <table> {} RefreshClass = <function> @ ItemDataCache\ItemDataCache_ByID_class_Functions.lua:35: OnLoad = <function> @ ItemDataCache\IDC.lua:9: Chatback = <function> @ ItemDataCache\IDC.lua:131: Get = <table> {} }
-