<div>Dear list.</div>
<div> </div>
<div>I am a beginner at GeoExt.</div>
<div>I downloaded GeoExt, ExtJs-2.2.1 and OpenLayers2.7 repectively.</div>
<div>After downloading them, I test mappanel-div.html</div>
<div>But, I encounter an error.</div>
<div>The error message is that</div>
<div><span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch opened">element is undefined. </span></div>
<div><span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch opened">Element.js(38 line)</span></div>
<div class="sourceRow"><span class="sourceRowText"> hasClass: function(element, name) {</span></div>
<div class="sourceRow"><a class="sourceLine">138</a><span class="sourceRowText"> var names = element.className;</span></div>
<div class="sourceRow"><a class="sourceLine">139</a><span class="sourceRowText"> return (!!names && new RegExp("(^|\\s)" + name + "(\\s|$)").test(names));</span></div>
<div class="sourceRow"><a class="sourceLine">140</a><span class="sourceRowText"> },</span></div>
<div class="sourceRow"><span class="sourceRowText"></span> </div>
<div class="sourceRow"><span class="sourceRowText">And I also tested <table><td></td><td width="75%">lib/GeoExt/widgets/Popup.html</td></table></span></div>
<div class="sourceRow"><span class="sourceRowText">I got the same erroe message.</span></div>
<div class="sourceRow"><span class="sourceRowText">
<p class="result_exception_detail"><span class="fail">exception:</span> : object: element is undefined</p>
<p class="result_exception_detail">in ( ) at <a href="http://localhost:8089/osgeo/geo/openlayers/lib/OpenLayers/Map.js">http://localhost:8089/osgeo/geo/openlayers/lib/OpenLayers/Map.js</a> line 427 <br>in ( ) at <a href="http://localhost:8089/osgeo/geo/openlayers/lib/OpenLayers/BaseTypes/Class.js">http://localhost:8089/osgeo/geo/openlayers/lib/OpenLayers/BaseTypes/Class.js</a> line 32 <br>
in createMap( ) at <a href="http://localhost:8089/osgeo/geo/geoext/tests/lib/GeoExt/widgets/MapPanel.html">http://localhost:8089/osgeo/geo/geoext/tests/lib/GeoExt/widgets/MapPanel.html</a> line 12 <br>in test_center( [object Object]) at <a href="http://localhost:8089/osgeo/geo/geoext/tests/lib/GeoExt/widgets/MapPanel.html">http://localhost:8089/osgeo/geo/geoext/tests/lib/GeoExt/widgets/MapPanel.html</a> line 120 <br>
in ( ) at <a href="http://localhost:8089/osgeo/geo/geoext/tests/run-tests.html">http://localhost:8089/osgeo/geo/geoext/tests/run-tests.html</a> line 985 <br>in ( ) at <a href="http://localhost:8089/osgeo/geo/geoext/tests/run-tests.html">http://localhost:8089/osgeo/geo/geoext/tests/run-tests.html</a> line 943 <br>
in onload( [object Event]) at <a href="http://localhost:8089/osgeo/geo/geoext/tests/run-tests.html">http://localhost:8089/osgeo/geo/geoext/tests/run-tests.html</a> line 1 </p>
<p class="result_exception_stack_detail">when I downloaded openlayers, I moved img, lib, theme folder into appropriate location.</p>
<p class="result_exception_stack_detail">How to solve this problem?</p></span></div>