When I download https://developers.arcgis.com/javascript/jssamples/layers_csv.html, or visit the sandbox, run it and download, and then open the file in IE10, Firefox or Chrome, I am appear to be erroring in the call to add the csvlayer to the map. However, the code does appear to work in the live samples area and sandbox. I have checked that the url to the csv file is not being blocked.
I am trying to test whether I will be able to load a local csv file. Once I get past the error, is there any reason I would not be able to load a file on the local file system?
(an empty string) /3.9/ (line 205) error: TypeError: 'toString' called on an object that does not implement interface DOMException. error(a= TypeError: Unable to draw graphic (null): 'toString' called on an object that does not implement interface DOMException.
)/3.9/ (line 640) (?)()/3.9/ (line 74) (?)(a= TypeError: Unable to draw graphic (null): 'toString' called on an object that does not implement interface DOMException.
)/3.9/ (line 76) (?)()/3.9/ (line 74) (?)(a= TypeError: Unable to draw graphic (null): 'toString' called on an object that does not implement interface DOMException.
)/3.9/ (line 76) (?)()/3.9/ (line 74) (?)(a= TypeError: Unable to draw graphic (null): 'toString' called on an object that does not implement interface DOMException.
)/3.9/ (line 76) (?)()/3.9/ (line 74) (?)(a= TypeError: Unable to draw graphic (null): 'toString' called on an object that does not implement interface DOMException.
You need to change the path for proxyUrl so that your application can find your proxy.
For example, when I downloaded the CSV sample from the sandbox, I too encountered an error when first trying to run the application. I was able to fix this issue by entering the correct path to my proxy.