Anno and the Legend Widget

1985
3
01-21-2011 06:09 AM
Drew
by
Occasional Contributor III
Has anyone had any problems with Anno and the Legend Widget?
I am getting an error when the legend widget is open and I Pan around.
There error is in the API itself ??? suspect this is a bug

ERROR:
-------------------------------------------------------------------------
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.esri.ags.skins::LegendSkin/findLeafLayerLegendInfo()
at com.esri.ags.skins::LegendSkin/findLeafLayerLegendInfo()
at com.esri.ags.skins::LegendSkin/findLeafLayerLegendInfo()
at com.esri.ags.skins::LegendSkin/extentChangeHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at com.esri.ags::Map/http://www.esri.com/2008/ags/internal::dispatchPanEnd()
at PanHandler/enterFrameHandler()

Drew
Tags (2)
0 Kudos
3 Replies
IsharaKotiah
New Contributor II
Andrew

I have experienced the same issue. Tried a map service with no anno and it worked fine. I agree it must be a bug.

Ishara
0 Kudos
BjornSvensson
Esri Regular Contributor
Yes, it's a bug in the Legend component.  We are planning to fix it for the next release (version 2.3).
0 Kudos
NageshNangi
New Contributor
Yes, it's a bug in the Legend component.  We are planning to fix it for the next release (version 2.3).


Similar issue is seen in JavaScript API 3.4. In 3.1 version it was working fine.
0 Kudos