marti221

IdentifyTask error: TypeError: io is undefined

Discussion created by marti221 on Jan 21, 2011
Latest reply on Jan 24, 2011 by marti221
Has anyone ever gotten this error doing an IdentifyTask before?

"TypeError: io is undefined"

The way my map is setup... the user clicks on a polygon and does an IdentifyTask for that polygon's geometry on a few different layers.  What's weird is that all polygons work except 3 of them.  On those three I'm getting the error above, and I can't for the life of me figure out what it means or find any reference on it.

Below is a JSON dump of the IdentifyParams object passed to identifyTask.execute();  Also, I've attached a screenshot of the error, and the polygon in which it occurs is highlighted with a red border.  Anyone see anything wrong here?

{"layerOption":"all","dpi":96,"geometry":{"type":"polygon","rings":[[[1697280.673325032,419126.2937986851],[1701824.0126635283,419126.2944548577],[1701836.6087669432,419132.59201443195],[1701858.9669899493,418981.7540615201],[1701869.4069296867,418729.959289521],[1701876.6227945238,418300.514938429],[1701880.2225248516,418086.29226976633],[1701869.5988584459,417817.63204593956],[1701857.6556408554,417663.8629965186],[1701890.6693543643,417426.21583402157],[1701882.3416151106,417185.6395435184],[1701853.3321586847,416927.2978686094],[1701787.9054522812,416569.9570478499],[1701779.9435259402,416493.2905345261],[1701826.431621939,416388.1444193572],[1701874.3531140238,416308.0123617649],[1702273.0816472769,415855.51392292976],[1702335.6645273566,415733.94428418577],[1702538.4600535184,415472.3493349403],[1702811.1294556856,415173.8364805132],[1702854.782911688,415097.02823518217],[1702913.3300386965,414945.08989076316],[1702963.149164781,414840.47133360803],[1702895.106978029,414578.6565685123],[1702881.8422407806,414492.9687477648],[1702886.180486694,414383.0339282751],[1702932.1262609363,414244.5207538605],[1702946.7269535214,414119.1053222716],[1702949.1281954348,414053.05985069275],[1702924.1640065312,413981.9228538573],[1702612.6039341092,413742.50469751656],[1702447.82145527,413495.4609002769],[1702363.8354027718,413386.6717477739],[1702197.113295272,413314.0662499368],[1702161.7711743563,413278.237253353],[1702149.1153597683,413196.6573640257],[1702161.641581446,413133.14633618295],[1702191.986337021,413053.19866143167],[1702479.1058415323,410613.8318210244],[1697262.781956613,412772.15263560414],[1697280.673325032,419126.2937986851]]],"_ring":0,"spatialReference":{"wkid":26743},"_extent":{"xmin":1697262.781956613,"ymin":410613.8318210244,"xmax":1702963.149164781,"ymax":419132.59201443195,"spatialReference":{"wkid":26743}}},"height":700,"layerIds":[0],"mapExtent":{"type":"extent","xmin":1683724.5771594807,"ymin":408618.6296720432,"xmax":1718967.6327150362,"ymax":434104.31034238293,"spatialReference":{"wkid":26743}},"returnGeometry":false,"tolerance":0,"width":968}

Attachments

Outcomes