<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error using GeometryService.union in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203190#M18846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Have you tried a proxy page? &lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, thanks for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I configured the proxy, but I still get the same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested with and without the proxy, and as I increase the complexity of the geometries to unify, the error &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;"Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property."&lt;/SPAN&gt;&lt;SPAN&gt; appears exactly at the same point... any other ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I implement a fallback plan, that when the union fails, I just get the extents of the geometries, and use that to perform the query, but I still would like to get the union to work...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Dec 2011 09:06:11 GMT</pubDate>
    <dc:creator>TiagoRibeiro</dc:creator>
    <dc:date>2011-12-21T09:06:11Z</dc:date>
    <item>
      <title>Error using GeometryService.union</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203187#M18843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My application has a function that performs a query based in the current map.graphcis. If there are more than 1 graphic I perform a union, and here the problem starts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This works well most of the times, but depending in the number/type of geometries to be "unified", sometimes the union throws two types of errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;One that I handle using the errback function&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;One that returns a 500 Internal Serve error code&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;The first one the error returned is "Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter name: input". This error occurs when I send more than 100 geometries. Does anyone have any idea how to get around this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The second one doesn't give out a specific error... I noticed that it happens when I send big geometries. I'll try to see the server logs and try to find some clues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone give me a help/hint?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 09:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203187#M18843</guid>
      <dc:creator>TiagoRibeiro</dc:creator>
      <dc:date>2011-12-20T09:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService.union</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203188#M18844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;My application has a function that performs a query based in the current map.graphcis. If there are more than 1 graphic I perform a union, and here the problem starts.&lt;BR /&gt;This works well most of the times, but depending in the number/type of geometries to be "unified", sometimes the union throws two types of errors:&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;One that I handle using the errback function&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;One that returns a 500 Internal Serve error code&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;The first one the error returned is "Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.&lt;BR /&gt;Parameter name: input". This error occurs when I send more than 100 geometries. Does anyone have any idea how to get around this?&lt;BR /&gt;The second one doesn't give out a specific error... I noticed that it happens when I send big geometries. I'll try to see the server logs and try to find some clues.&lt;BR /&gt;Can anyone give me a help/hint?&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I solved the 500 internal server error. I increased the allowed content length on IIS. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the first one persists and I don't know if it's a problem of configuration on the server or a problem with the geometries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error occurs when:&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;A lot of geometries are sent (more then 100)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;A few, but complex geometries are sent.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;If this question is better suitable for another forum, please tell me witch one to post it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone has any idea in how to solve this, please do tell!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 13:34:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203188#M18844</guid>
      <dc:creator>TiagoRibeiro</dc:creator>
      <dc:date>2011-12-20T13:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService.union</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203189#M18845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried a proxy page? &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 00:52:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203189#M18845</guid>
      <dc:creator>SiqiLi</dc:creator>
      <dc:date>2011-12-21T00:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService.union</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203190#M18846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Have you tried a proxy page? &lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, thanks for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I configured the proxy, but I still get the same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested with and without the proxy, and as I increase the complexity of the geometries to unify, the error &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;"Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property."&lt;/SPAN&gt;&lt;SPAN&gt; appears exactly at the same point... any other ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I implement a fallback plan, that when the union fails, I just get the extents of the geometries, and use that to perform the query, but I still would like to get the union to work...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 09:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203190#M18846</guid>
      <dc:creator>TiagoRibeiro</dc:creator>
      <dc:date>2011-12-21T09:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService.union</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203191#M18847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just did a further research and found you may experiencing the known bug with the javascriptserializer::MaxJsonLength property.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[#NIM066822 MaxJsonLength exceeded error message is returned when an input geometry to an SOE contains a large number of vertices ] &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked the bug status, it is fixed in version 10 SP3.&amp;nbsp; Have you installed SP3?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 12:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203191#M18847</guid>
      <dc:creator>SiqiLi</dc:creator>
      <dc:date>2011-12-21T12:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService.union</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203192#M18848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Just did a further research and found you may experiencing the known bug with the javascriptserializer::MaxJsonLength property.&amp;nbsp; &lt;BR /&gt;[#NIM066822 MaxJsonLength exceeded error message is returned when an input geometry to an SOE contains a large number of vertices ]&lt;BR /&gt;I checked the bug status, it is fixed in version 10 SP3.&amp;nbsp; Have you installed SP3?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I have. I've just ran the PatchFinder and I already have the SP3 of all products.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to alter the web.config in order to set maxJsonLength like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;system.web.extensions&amp;gt;
 &amp;lt;scripting&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;webServices&amp;gt;
&amp;nbsp; &amp;lt;jsonSerialization maxJsonLength="50000000"&amp;gt;
&amp;nbsp; &amp;lt;/jsonSerialization&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/webServices&amp;gt;
 &amp;lt;/scripting&amp;gt;
&amp;lt;/system.web.extensions&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Still the same result...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:05:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203192#M18848</guid>
      <dc:creator>TiagoRibeiro</dc:creator>
      <dc:date>2021-12-11T10:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService.union</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203193#M18849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, and Happy Holidays everyone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone, from ESRI or otherwise, help me with this? I already tried using the esri geometry service, &lt;/SPAN&gt;&lt;A href="http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"&gt;http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer&lt;/A&gt;&lt;SPAN&gt;, and had exactly the same result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[HTML]"Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter name: input"[/HTML]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to put something online for you to test it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2011 13:06:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203193#M18849</guid>
      <dc:creator>TiagoRibeiro</dc:creator>
      <dc:date>2011-12-26T13:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService.union</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203194#M18850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've set up a simple example to show you what's happening. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here, &lt;/SPAN&gt;&lt;A href="http://193.136.119.25/tests/test_union.html"&gt;http://193.136.119.25/tests/test_union.html&lt;/A&gt;&lt;SPAN&gt;, you'll find a map with only one layer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you click on the buttons, a query will be performed, the results will be added to the map and then I try to perform the union based in the graphics of the map. The only difference is that one works and the other doesn't. Use the console to see what's happening.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also switch between ESRI and local geometry services... the results will be the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it a problem with the geometries? Is it something I can configure in the server? Is it just a limitation of the geometry service?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2011 16:38:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203194#M18850</guid>
      <dc:creator>TiagoRibeiro</dc:creator>
      <dc:date>2011-12-26T16:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService.union</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203195#M18851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I've set up a simple example to show you what's happening. &lt;BR /&gt;Here, &lt;A href="http://193.136.119.25/tests/test_union.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://193.136.119.25/tests/test_union.html&lt;/A&gt;, you'll find a map with only one layer. &lt;BR /&gt;&lt;BR /&gt;When you click on the buttons, a query will be performed, the results will be added to the map and then I try to perform the union based in the graphics of the map. The only difference is that one works and the other doesn't. Use the console to see what's happening.&lt;BR /&gt;You can also switch between ESRI and local geometry services... the results will be the same.&lt;BR /&gt;&lt;BR /&gt;Is it a problem with the geometries? Is it something I can configure in the server? Is it just a limitation of the geometry service?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem usually has something to do with the length of the polyon JSON string. One solution you could try is to generalize the polygons prior to union to reduce the length of the JSON string. something this this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var generalizeParams = new esri.tasks.GeneralizeParameters();
generalizeParams.geometries =esri.getGeometries(map.graphics.graphics);
geometryServiceLocal.generalize(generalizeParams, function(geometries){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryServiceLocal.union(esri.getGeometries(map.graphics.graphics), function(geometry){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ......
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
});




&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:05:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203195#M18851</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2021-12-11T10:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService.union</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203196#M18852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The problem usually has something to do with the length of the polyon JSON string. One solution you could try is to generalize the polygons prior to union to reduce the length of the JSON string. something this this:&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var generalizeParams = new esri.tasks.GeneralizeParameters();
generalizeParams.geometries =esri.getGeometries(map.graphics.graphics);
geometryServiceLocal.generalize(generalizeParams, function(geometries){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryServiceLocal.union(esri.getGeometries(map.graphics.graphics), function(geometry){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ......
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
});
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, and happy new year everyone!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply Heming, but now I have an error using the Generalize task:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;"Nullable object must have a value." when using 4 geometries.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;"'geometries' parameter is invalid." when using 5 geometries.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;The second one I think it's related with the previous problem, but the first one I have no idea. I think its something simple, but I don't get what...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203196#M18852</guid>
      <dc:creator>TiagoRibeiro</dc:creator>
      <dc:date>2021-12-11T10:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService.union</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203197#M18853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi, and happy new year everyone!&lt;BR /&gt;Thanks for your reply Heming, but now I have an error using the Generalize task:&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;"Nullable object must have a value." when using 4 geometries.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;"'geometries' parameter is invalid." when using 5 geometries.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;The second one I think it's related with the previous problem, but the first one I have no idea. I think its something simple, but I don't get what...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The link on your post works on my machine...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2012 16:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-using-geometryservice-union/m-p/203197#M18853</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2012-01-03T16:10:59Z</dc:date>
    </item>
  </channel>
</rss>

