<?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: Graphics on Graphics Layers seems to cause PrintTask to crash in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-on-graphics-layers-seems-to-cause/m-p/228554#M21318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update, Chris.&amp;nbsp;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;I tested with SimpleFillSymbol instead of PictureFillSymbol, and it printed fine. Then I moved the PictureFillSymbol image to be publicly hosted (instead of locally hosted on my own server, which the public print service had trouble accessing), and it printed fine as well. I'm not sure about the&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;",42 ,42", but perhaps it was a vestigial code snippet that got copied in?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Apr 2019 17:59:20 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2019-04-15T17:59:20Z</dc:date>
    <item>
      <title>Graphics on Graphics Layers seems to cause PrintTask to crash</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-on-graphics-layers-seems-to-cause/m-p/228551#M21315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the print task from the sample code here&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/widget_print_esri_request.html" title="https://developers.arcgis.com/javascript/3/jssamples/widget_print_esri_request.html"&gt;Print templates with esri.request | ArcGIS API for JavaScript 3.28&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine until there are polygon graphics drawn on one of my graphics layers that have been drawn on the map, then it crashes with this error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: "Unable to complete operation." Print.js:9:144&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2019 15:47:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-on-graphics-layers-seems-to-cause/m-p/228551#M21315</guid>
      <dc:creator>ChrisMahon3</dc:creator>
      <dc:date>2019-04-12T15:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Graphics on Graphics Layers seems to cause PrintTask to crash</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-on-graphics-layers-seems-to-cause/m-p/228552#M21316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reporting this, Chris. It looks like an issue. We'll investigate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2019 22:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-on-graphics-layers-seems-to-cause/m-p/228552#M21316</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-04-12T22:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Graphics on Graphics Layers seems to cause PrintTask to crash</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-on-graphics-layers-seems-to-cause/m-p/228553#M21317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Noah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to find a find a work around, I was adding polygon graphics to my graphics layer - and found the ",42 ,42"&lt;/P&gt;&lt;P&gt;Once I removed that it worked.&amp;nbsp; I'm not sure why I had&amp;nbsp;&lt;SPAN&gt;",42 ,42" in my code... no errors until I needed to print them...?!?!&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;symbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_FORWARD_DIAGONAL,new SimpleLineSymbol( SimpleLineSymbol.STYLE_SOLID,new Color('#' + document.getElementById("tdrawcolor").value),3), 42, 42);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;symbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_FORWARD_DIAGONAL,new SimpleLineSymbol( SimpleLineSymbol.STYLE_SOLID,new Color('#' + document.getElementById("tdrawcolor").value),3));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the print tools didn't like those polygon graphics...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 14:42:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-on-graphics-layers-seems-to-cause/m-p/228553#M21317</guid>
      <dc:creator>ChrisMahon3</dc:creator>
      <dc:date>2019-04-15T14:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Graphics on Graphics Layers seems to cause PrintTask to crash</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-on-graphics-layers-seems-to-cause/m-p/228554#M21318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update, Chris.&amp;nbsp;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;I tested with SimpleFillSymbol instead of PictureFillSymbol, and it printed fine. Then I moved the PictureFillSymbol image to be publicly hosted (instead of locally hosted on my own server, which the public print service had trouble accessing), and it printed fine as well. I'm not sure about the&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;",42 ,42", but perhaps it was a vestigial code snippet that got copied in?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 17:59:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-on-graphics-layers-seems-to-cause/m-p/228554#M21318</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-04-15T17:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Graphics on Graphics Layers seems to cause PrintTask to crash</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-on-graphics-layers-seems-to-cause/m-p/228555#M21319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Yes, i can't put my finger on where the&amp;nbsp;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;",42 ,42" came from?&amp;nbsp; I looked back at my archived backups of my application and it appears in all.&amp;nbsp; So at some point when I began building the application I pasted/entered it, It didn't throw any errors so it never got noticed until now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Thanks for your assistance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 18:10:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-on-graphics-layers-seems-to-cause/m-p/228555#M21319</guid>
      <dc:creator>ChrisMahon3</dc:creator>
      <dc:date>2019-04-15T18:10:52Z</dc:date>
    </item>
  </channel>
</rss>

