Error message with webmap in tab container

3344
5
10-02-2013 05:21 AM
martindagan
New Contributor II
Hello,

I have a arcgis online map embeded in a iFrame on my ASP.Net website. The iFrame is in the 3rd tab of a 3 tabs container. Each time I change tab, the tabs are reloaded because of the autopostback (I can't set it to false).

Until recently, it worked fine. I didn't change anything, but now, there is an error message when I navigate between the tabs. When I leave the third tab that contains the map, I have this error:

The page at http://www.arcgis.com says:
Unable to create map : "d is null"


In Firebug, in the console there are these 2 errors:

1/ At the beginning:
NetworkError: 404 Not Found - http://www.arcgis.com/home/webmap/templates/templateConfig.js

2/ And after the "GET http://www.arcgis.com/home/webmap/templates/OneP...icviewer/apl/ElevationsChart/templates/Pane.html":

dojo/parser::parse() error
TypeError: d is null


This error occurs at line 512 of js.arcgis.com/3.7, in this code:

f,b,!0)}).then(function(a){return n=n.concat(a)}).otherwise(function(a){console.error("dojo/parser::parse() error",a);throw a;});m.mixin(n,q);return n}};l.parser=B;e.parseOnLoad&&n(100,B,"parse");return B})},"esri/layers/MapImage":function(){define("dojo/_base/declare dojo/_base/lang dojo/has esri/kernel esri/domUtils esri/geometry/Extent".split(" "),function(g,l,m,p,e,h){g=g(null,{declaredClass:"esri.layers.MapImage",constructor:function(e){l.mixin(this,e);this.extent=new h(this.extent)},visible:!0,


Any help appreciated!

Thank you

Martin
Tags (2)
0 Kudos
5 Replies
martindagan
New Contributor II
No other similar case?
0 Kudos
Arthurgov
New Contributor

Hi - we're receiving the same error in Firefox within an AGO story map. The main stage is set to load a pdf as a web page. As a user scrolls to this section in the story map the error appears: "unable to create map: d is null"

Other browsers don't seem to have this issue.

0 Kudos
CharlesHardnett
New Contributor
Yes. we have a similar issue using Firefox. I am curious if you figured out what the problem was? If not, then I was going to start looking into it.

One thing that we noticed is that after that error, if you reload then the map loads. So its something about the initial loading that is causing the error, but whatever it is does not prevent the map from loading. So we were thinking that if we could isolate the code that is cause the problem that we could skip the code in JS using if..then that checks the browser type.

We are also noticing that IE does not load the map consistently.
0 Kudos
MikeMinami
Esri Notable Contributor
Thanks for your feedback. I've documented the problem so that we can look into this for our next major update in q3.

Mike
0 Kudos
CharlesHardnett
New Contributor
Thanks Mike. My team and I will continue to look into it. If we learn more then we will post it here.
0 Kudos