upgrade version javascript api from 2.2 >> to javascript api  2.4

1957
6
09-08-2011 12:29 AM
asitnittayapattanakorn
New Contributor
Please Help me.


I   upgrade version javascript api from 2.2 >> to javascript api  2.4

and Error in Firefox 3.6.22

TypeError: _8 is null
(undefined="[object Object]", undefined="null")ContentPane.xd.js (line 😎
(undefined="[object Object]", undefined=""codeMade"")arcgis (line 55)
(undefined="[object Object]", undefined=""codeMade"")arcgis (line 15)
()arcgis (line 160)
(undefined="[object Object]", undefined="[object HTMLDivElement]")arcgis (line 55)
_fa(undefined="[object Object]")arcgis (line 15)
[Break On This Error] window[esri._dojoScopeName||"dojo"]._x...},onDownloadEnd:function(){}});}}};});

ContentPane.xd.js (line 😎    from >>  (arcgis_js_api/library/2.4/arcgis/js/dojo/dijit/layout/ContentPane.xd.js)
===================================
  _11 is undefined
[Break On This Error] window[esri._dojoScopeName||"dojo"]._x...nt"){_12(_18,dim);}}}});};})();}}};});
_LayoutWidget.xd.js (line 😎       from >>  (arcgis_js_api/library/2.4/arcgis/js/dojo/dijit/layout/_LayoutWidget.xd.js)
======================================

and  I have  Error In IE 8.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.1; EasyBits GO v1.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; CMNTDF; .NET4.0E; .NET4.0C)
Timestamp: Thu, 8 Sep 2011 08:24:58 UTC


Message: 'undefined' is null or not an object
Line: 8
Char: 2287
Code: 0
URI: http://<myserver>/arcgis_js_api/library/2.4/arcgis/js/dojo/dijit/layout/_LayoutWidget.xd.js


Thank you.
0 Kudos
6 Replies
derekswingley1
Frequent Contributor
You're hosting the API yourself, correct?

Do you see the same problem if you reference the copy of the API we host:  http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.4
0 Kudos
asitnittayapattanakorn
New Contributor
You're hosting the API yourself, correct?

Do you see the same problem if you reference the copy of the API we host:  http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.4


I change to used    ====  http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.4

but I having error in my website

[ATTACH]8909[/ATTACH]

[ATTACH]8910[/ATTACH]


Help  Me Please.

I  think, it's cause javascript api version 2.2  used dojo version 1.5  but  javascript api version 2.3/2.4 used dojo version 1.6.1
0 Kudos
derekswingley1
Frequent Contributor
That could be the case...can you post your code?
0 Kudos
AjaySrivastava
New Contributor
I am also facing issue. On using api 2.4 dojo. floating plannel is not working propery. Infact it is not visible when i use 2.4 version but application is working fine with 2.2

Ajay
0 Kudos
derekswingley1
Frequent Contributor
Can you post a repro case?
0 Kudos
KellyHutchins
Esri Frequent Contributor
Here's a link to an earlier post that has some suggestions that might help:

http://forums.arcgis.com/threads/31011-Error-migrating-from-2.2-to-2.3-of-the-JS-API
0 Kudos