btfou

TypeError: this.spatialReference is undefined

Discussion created by btfou on Oct 16, 2013
Latest reply on Oct 16, 2013 by ZachLiu
Since migrating to AMD I occasionally get a TypeError: this.spatialReference is undefined on app load. It's quite random. Sometimes I can do a hundred page loads and not get it once; sometimes it occurs several times in a row; and at other times it's consistent once every 5-6 page loads.

There's no additional info with the error. It doesn't break the app, and as far as I can tell it doesn't cause any other problems. Still I wonder what it is and if it's something I'm causing with load order?

Outcomes