AnsweredAssumed Answered

Error when executing a query

Question asked by workplayce1 on Nov 29, 2014
Latest reply on Nov 30, 2014 by workplayce1

Executing a query against featurelayer:

 

var queryTask = new Query(layer.url) ;

var esriQuery = new EsriQuery() ;

esriQuery.outFields = ["*"] ;

if (query.where)

     esriQuery.where = query.where;

else

     esriQuery.where = "1=1";

queryTask.execute(esriQuery,  function(featureSet){

//***

});

 

get the following error:

0x800a138f - JavaScript runtime error: Unable to get property 'setTransform' of undefined or null reference

 

from http://js.arcgis.com/3.10/

 

This error occurs for some featurelayers, and works for at least one of them used.

 

Might this go away by upgrading to the latest version?  Currently using 3.10.

Tried upgrading by changing all the references of 3.10 to 3.12.  But this led to other Javascript initialization errors...

Outcomes