Hi
--Using ArcGIS JSAPI 3.12--

Every once in awhile we are receiving the above 'this.spatialReference is undefined' error when loading our application. I assume it's some sort of race condition but I have no idea how to track it down as I don't know what the API is actually doing at that point. Can anyone help?
Thanks.