Carbonite Maps

Carbonite Maps

6M Downloads

BfA on PTR - \MapCanvas_ScrollContainerMixin.lua:425: attempt to index local 'layers' (a nil value)

Thrumbar opened this issue ยท 2 comments

commented

This error go off a lot when using carb map and moving mouse over Draenor but happens rarely when mousing over Pandaria...

Message: ...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:425: attempt to index local 'layers' (a nil value)
Time: Wed Jun 20 16:54:36 2018
Count: 76
Stack: ...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:425: attempt to index local 'layers' (a nil value)
...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:425: in function CreateZoomLevels' ...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:412: in function OnCanvasSizeChanged'
...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:404: in function SetMapID' ...ace\AddOns\Blizzard_MapCanvas\Blizzard_MapCanvas.lua:31: in function SetMapID'
Interface\AddOns\Carbonite\NxMap.lua:9112: in function SetCurrentMap' Interface\AddOns\Carbonite\NxMap.lua:6014: in function CheckWorldHotspotsType'
Interface\AddOns\Carbonite\NxMap.lua:5988: in function `CheckWorldHotspots'
Interface\AddOns\Carbonite\NxMap.lua:3898: in function <Interface\AddOns\Carbonite\NxMap.lua:3719>

Locals: self = {
0 =
MarkCanvasDirty = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:381
GetMinZoomViewRect = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:544
GetNormalizedHorizontalScroll = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:700
SetPanTarget = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:577
DenormalizeVerticalSize = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:725
IsAtMaxZoom = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:644
AccumulateMouseDeltas = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:245
ScalingMode = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:290
GetMap = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:656
IsZoomingIn = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:636
ZoomOut = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:598
ShouldZoomInstantly = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:536
SetScalingMode = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:286
targetScale = 0.441796875
GetNormalizedCursorPosition = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:750
TryPanOrZoomOnClick = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:86
shouldPanOnClick = false
SetZoomTarget = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:582
normalizedPanXLerpAmount = 0.15
NormalizeUIPosition = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:745
OnMouseUp = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:104
MarkAreaTriggersDirty = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:373
CalculateViewRect = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:548
ResetZoom = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:610
NormalizeHorizontalSize = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:713
SetNormalizedHorizontalScroll = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:695
OnLoad = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:7
Child = {
}
zoomLevels =

{
}
SetShouldPanOnClick = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMi

commented

After @mikepauer conversion this doesnt accour. Please confirm.

commented

Have not gotten this error after upgrading closing..