Error "position is deprecated" in javascript 3.13 api

5043
8
05-21-2015 11:08 AM
JurateMeister
New Contributor III

For some reason just in a last few days I am getting this error :

The XMLHttpRequest progress event property 'position' is deprecated. Please use 'loaded' instead.

init.js:1485 dojo.io.script error Error_ssl: undefinedcode: 500details: Array[0]httpCode: 500log: undefinedmessage: nullstack: (...)get stack: function () { [native code] }set stack: function () { [native code] }__proto__: d

and this look:

The application used to work just fine and none changes has been  done. Is this error is on ESRI  side

0 Kudos
8 Replies
AkshayHarshe
Esri Contributor

Hi,

I am not sure why this would happen.

Is there any sample or application I can test with?

Thanks,

Akshay

Thanks,
Akshay Harshe
0 Kudos
ReneRubalcava
Frequent Contributor

The warning is actually coming from Chrome and pointing out where in the code it suggests a change be made.

You can see the warning in the console of Chrome DevTools on the samples pages.

ArcGIS API for JavaScript Sandbox

I think the warning is unrelated to the actual script error you are getting.

0 Kudos
AkshayHarshe
Esri Contributor

Does this affect your application to load?

Thanks,
Akshay Harshe
0 Kudos
JurateMeister
New Contributor III

The application runs only on internal rest api, but here is the code:

http://codepen.io/jurate911/pen/EabJrY.html

http://codepen.io/jurate911/pen/EabJrY.css

http://codepen.io/jurate911/pen/EabJrY.js

It looks like application loads fine. all javascript functionality loads, map div comes up but there is no data within the map.

i appreciate all your help

0 Kudos
TimWitt2
MVP Alum

Jurate,

looking at your code it seems that you access your rest services through an internal network and not through a web server.

i.e.

    var basemap_tiled = new ArcGISTiledMapServiceLayer("http://pagis06:6080/arcgis/rest/services/Cache/BaseMapCache/MapServer", {
                id: "basemap_tiled",
                title: "basemap_tiled"
            });

Tim

0 Kudos
JurateMeister
New Contributor III

yes this app is available only on intranet for internal use only.

0 Kudos
JurateMeister
New Contributor III

it used to  work just fine for the last 5 month. I did not change anything and now can't figure out what change and where to start looking

0 Kudos
AkshayHarshe
Esri Contributor

If the application loads and data doesn't show up and you know you haven't touched the code, may be check if all your services are working directly at the REST endpoint and your application has access to it. This can be a potential security issue.

Do you have any other error on the console in developer tools?

Thanks,
Akshay Harshe
0 Kudos