Caerdon Wardrobe

Caerdon Wardrobe

446k Downloads

Bug: Mission.lua error

nancikennedy opened this issue ยท 3 comments

commented

In Retail, with CW 3.0.4 and In Progress Missions installed, I am getting the following error when I open the [current default] Covenant Sanctum report. It does not matter whether it's by clicking on the minimap button or using a variant of "/script ShowGarrisonLandingPage(2)" to open the window. Loaded separately, neither of them are causing this error.

142x ...nterface/AddOns/CaerdonWardrobe/features/Mission.lua:63: attempt to index local 'elementData' (a number value)
[string "@Interface/AddOns/CaerdonWardrobe/features/Mission.lua"]:63: in function func' [string "@Interface/SharedXML/Scroll/ScrollBoxListView.lua"]:109: in function ForEachFrame'
[string "@Interface/SharedXML/Scroll/ScrollBox.lua"]:508: in function ForEachFrame' [string "@Interface/AddOns/CaerdonWardrobe/features/Mission.lua"]:59: in function <...nterface/AddOns/CaerdonWardrobe/features/Mission.lua:57> [string "=[C]"]: ? [string "@Interface/SharedXML/CallbackRegistry.lua"]:143: in function <Interface/SharedXML/CallbackRegistry.lua:142> [string "=[C]"]: ? [string "@Interface/SharedXML/CallbackRegistry.lua"]:146: in function TriggerEvent'
[string "@Interface/SharedXML/Scroll/ScrollBox.lua"]:659: in function Update' [string "@Interface/SharedXML/Scroll/ScrollBox.lua"]:233: in function SetScrollPercentageInternal'
[string "@Interface/SharedXML/Scroll/ScrollBox.lua"]:151: in function FullUpdateInternal' [string "@Interface/SharedXML/Scroll/ScrollBox.lua"]:631: in function FullUpdateInternal'
...
[string "@Interface/FrameXML/UIParent.lua"]:3150: in function <Interface/FrameXML/UIParent.lua:3129>
[string "=[C]"]: in function ShowUIPanel' [string "@Interface/FrameXML/GarrisonBaseUtils.lua"]:410: in function <Interface/FrameXML/GarrisonBaseUtils.lua:360> [string "=[C]"]: ? [string "=[C]"]: in function ShowGarrisonLandingPage'
[string "@Interface/FrameXML/Minimap.lua"]:896: in function GarrisonLandingPage_Toggle' [string "@Interface/FrameXML/Minimap.lua"]:698: in function ToggleLandingPage'
[string "@Interface/FrameXML/Minimap.lua"]:693: in function <Interface/FrameXML/Minimap.lua:692>
[string "=[C]"]: ?
[string "=[C]"]: ?

Locals:
missionButton = Button {
EncounterIcon = Frame {
}
GetOrderIndex = defined @Interface/SharedXML/Scroll/ScrollBoxListView.lua:77
MissionTypeBG = Texture {
}
BG = Texture {
}
CompletedOverlay = Texture {
}
ElementDataMatches = defined @Interface/SharedXML/Scroll/ScrollBoxListView.lua:72
Status = FontString {
}
Level = FontString {
}
TimeLeft = FontString {
}
Reward1 = Frame {
}
Reward2 = Frame {
}
MissionTypeIcon = Texture {
}
Rewards =

{
}
NumFollowers = FontString {
}
SetOrderIndex = defined @Interface/SharedXML/Scroll/ScrollBoxListView.lua:81
GetElementData = defined @Interface/SharedXML/Scroll/ScrollBoxListView.lua:68
Title = FontString {
}
GetMission = defined @Interface/AddOns/InProgressMissions/InProgressMissions.lua:1049
0 =
Reward3 = Frame {
}
CompletedCheck = Texture {
}
MissionType = FontString {
}
}
elementData = 1
missionIndex = 1
index = 1
(*temporary) = defined =[C]:-1
(*temporary) = defined @Interface/SharedXML/TableUtil.lua:29
(*temporary) =
{
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
10 = 10
11 = 11
12 = 12
13 = 13
14 = 14
}
(*temporary) = 1
(*temporary) = 1
(*temporary) = 1
(*temporary) = 1
(*temporary) = 1
(*temporary) = 1
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'elementData' (a number value)"
scrollBox = Frame {
0 =
SetUpdateLocked = defined @Interface/SharedXML/Scroll/ScrollBox.lua:123
OnViewDataChanged = defined @Interface/SharedXML/Scroll/ScrollBox.lua:604
GetPanExtentPercentage = defined @Interface/SharedXML/Scroll/ScrollController.lua:74
GetFrameExtent = defined @Interface/SharedXML/Scroll/ScrollController.lua:11
GetRightPadding = defined @Interface/SharedXML/Scroll/ScrollBox.lua:400
ForEachFrame = defined @Interface/SharedXML/Scroll/ScrollBox.lua:507
Rebuild = defined @Interface/SharedXML/Scroll/ScrollBox.lua:608
IsUpdateLocked = defined @Interface/SharedXML/Scroll/ScrollBox.lua:127
SetLowerShadowAtlas = defined @Interface/SharedXML/Scroll/ScrollBox.lua:440
SetFrameExtent = defined @Interface/SharedXML/Scroll/ScrollController.lua:16
canInterpolateScroll = false
GetUpperPadding = defined @Interface/SharedXML/Scroll/ScrollBox.lua:416
SetShadowsShown = defined @Interface/SharedXML/Scroll/ScrollBox.lua:448
GetDerivedScrollRange = defined @Interface/SharedXML/Scroll/ScrollBox.lua:313
Interpolate = defined @Interface/SharedXML/Scroll/ScrollController.lua:109
GetLowerPadding = defined @Interface/SharedXML/Scroll/ScrollBox.lua:424
HasDataProvider = defined @Interface/SharedXML/Scroll/ScrollBox.lua:555
Update = defined @Interface/SharedXML/Scroll/ScrollBox.lua:635
SetScrollPercentage = defined @Interface/SharedXML/Scroll/ScrollBox.lua:220
GetExtent = defined @Interface/SharedXML/Scroll/ScrollBox.lua:252
GetPanExtent = defined @Interface/SharedXML/Scroll/ScrollBox.lua:244
panExtentPercentage = 0.330357
IsVirtualized = defined @Interface/SharedXML/Scroll/ScrollBox.lua:571
Layout = defined @Interface/SharedXML/Scroll/ScrollBox.lua:166
Event =
{
}
SetPanExtentPercentage = defined @Interface/SharedXML/Scroll/ScrollController.lua:78
SetPanExtent = defined @Interface/SharedXML/Scroll/ScrollBox.lua:248
GetScrollPercentage = defined @Interface/SharedXML/Scroll/ScrollController.lua:86
OnSizeChanged = defined @Interface/SharedXML/Scroll/ScrollBox.lua:98
ScrollToOffset = defined @Interface/SharedXML/Scroll/ScrollBox.lua:338
OnViewAcquiredFrame = defined @Interface/SharedXML/Scroll/ScrollBox.lua:612
FindElementDataByPredicate = <func

commented

I was able to confirm this earlier, but it looks like it may not be occurring with chelatest version of In Progress Missions. Could you confirm?

commented

I can confirm that updating In Progress Missions has resolved this issue.

commented

Thanks!