TypeError: Error #1009: Cannot access a property or method of a null object reference

3437
2
Jump to solution
06-27-2012 12:36 PM
ShaningYu
Frequent Contributor
I loaded a component to export map to PDF (async one) from http://www.arcgis.com/home/item.html?id=a6dddf4d4297436c8af697d9965f1dd7. However, I got a runtime error: TypeError: Error #1009: Cannot access a property or method of a null object reference at WidgetManager.mxml's Line 403,
widget.widgetId = widgetId;     // Its value = 8 as traced
when I clicked the tool's icon to open the widget.  What's the possible reason for the failure?  I will appreciate if someone can hint me how to debug this problem.  Thanks.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Shaning,

   Hmm... Still posting to the wrong forum.... This is a question about a Flex Viewer Widget.

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Shaning,

   Hmm... Still posting to the wrong forum.... This is a question about a Flex Viewer Widget.

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex
0 Kudos