<?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 PictureMarkerSymbol crashing Print GPServer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-crashing-print-gpserver/m-p/316863#M29178</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;I just discovered an interesting problem with my application. When I add a PictureMarkerSymbol to my map and then try to use the PrintTask to create a PDF, I end up crashing the GPServer and receive an error back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am adding gif images in this fashion:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;symbol = new esri.symbol.PictureMarkerSymbol("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/images/myimage.gif" rel="nofollow" target="_blank"&gt;http://myserver/images/myimage.gif&lt;/A&gt;&lt;SPAN&gt;", 50, 50);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mydrawinglayer.add(new esri.Graphic(geometry, symbol);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example of the JSON that crashes my service is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;{"mapOptions":{"showAttribution":true,"extent":{"xmin":2437892.18282856,"ymin":180091.36721409846,"xmax":2611767.182828561,"ymax":256216.3672140987,"spatialReference":{"wkid":32054}},"spatialReference":{"wkid":32054}},"operationalLayers":[{"id":"Ortho Photo 2010","title":"Ortho Photo 2010","opacity":1,"minScale":25000,"maxScale":0,"url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/arcgis/rest/services/Imagery/Ortho2010/ImageServer" rel="nofollow" target="_blank"&gt;http://myserver/arcgis/rest/services/Imagery/Ortho2010/ImageServer&lt;/A&gt;&lt;SPAN&gt;","bandIds":null,"compressionQuality":null,"interpolation":null},{"id":"Basemap","title":"Basemap","opacity":1,"minScale":0,"maxScale":0,"url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/arcgis/rest/services/Interactive_Mapping/BaseMap/MapServer" rel="nofollow" target="_blank"&gt;http://myserver/arcgis/rest/services/Interactive_Mapping/BaseMap/MapServer&lt;/A&gt;&lt;SPAN&gt;","visibleLayers":null,"layers":[]},{"id":"Cadastral","title":"Cadastral","opacity":1,"minScale":0,"maxScale":0,"url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/ArcGIS/rest/services/Interactive_Mapping/Cadastral/MapServer" rel="nofollow" target="_blank"&gt;http://myserver/ArcGIS/rest/services/Interactive_Mapping/Cadastral/MapServer&lt;/A&gt;&lt;SPAN&gt;","visibleLayers":null,"layers":[]},{"id":"Water_Features","title":"Water_Features","opacity":1,"minScale":0,"maxScale":0,"url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/arcgis/rest/services/Interactive_Mapping/Water/MapServer" rel="nofollow" target="_blank"&gt;http://myserver/arcgis/rest/services/Interactive_Mapping/Water/MapServer&lt;/A&gt;&lt;SPAN&gt;","visibleLayers":null,"layers":[]},{"id":"Streets","title":"Streets","opacity":1,"minScale":0,"maxScale":0,"url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/arcgis/rest/services/Interactive_Mapping/Streets/MapServer" rel="nofollow" target="_blank"&gt;http://myserver/arcgis/rest/services/Interactive_Mapping/Streets/MapServer&lt;/A&gt;&lt;SPAN&gt;","visibleLayers":null,"layers":[]},{"id":"drawingLayer","minScale":0,"maxScale":0,"featureCollection":{"layers":[{"layerDefinition":{"name":"pointLayer","geometryType":"esriGeometryPoint"},"featureSet":{"geometryType":"esriGeometryPoint","features":[{"geometry":{"x":2509892.1828285605,"y":218841.36721409857,"spatialReference":{"wkid":32054}},"symbol":{"angle":0,"xoffset":0,"yoffset":0,"type":"esriPMS","url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/InteractiveMapping/graphics/Airport.gif" rel="nofollow" target="_blank"&gt;http://myserver/InteractiveMapping/graphics/Airport.gif&lt;/A&gt;&lt;SPAN&gt;","width":67.5,"height":67.5}}]}}]}},{"id":"textLayer","minScale":0,"maxScale":0,"featureCollection":{"layers":[]}},{"id":"bufferLayer","minScale":0,"maxScale":0,"featureCollection":{"layers":[]}},{"id":"measureLayer","minScale":0,"maxScale":0,"featureCollection":{"layers":[]}}],"exportOptions":{"outputSize":[800,1100],"dpi":96},"layoutOptions":{"titleText":" ","authorText":"","copyrightText":"Copyright Kenosha County 2012","scaleBarOptions":{"metricUnit":"Meters","metricLabel":"m","nonMetricUnit":"Feet","nonMetricLabel":"ft"},"legendOptions":{"operationalLayers":[{"id":"Streets","subLayerIds":[0,1]},{"id":"Water_Features","subLayerIds":[0]},{"id":"Cadastral","subLayerIds":[23,25,26,27,29,30]},{"id":"Basemap","subLayerIds":[]}]}}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In server, I receive the following message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instance of the service 'Interactive_Mapping/Print.GPServer' crashed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Internal Server Error. Error handling service request : Could not service request&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else seen this type of problem? Anything stand out?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jonathan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 19:16:15 GMT</pubDate>
    <dc:creator>JonathanKressin</dc:creator>
    <dc:date>2013-02-28T19:16:15Z</dc:date>
    <item>
      <title>PictureMarkerSymbol crashing Print GPServer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-crashing-print-gpserver/m-p/316863#M29178</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;I just discovered an interesting problem with my application. When I add a PictureMarkerSymbol to my map and then try to use the PrintTask to create a PDF, I end up crashing the GPServer and receive an error back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am adding gif images in this fashion:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;symbol = new esri.symbol.PictureMarkerSymbol("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/images/myimage.gif" rel="nofollow" target="_blank"&gt;http://myserver/images/myimage.gif&lt;/A&gt;&lt;SPAN&gt;", 50, 50);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mydrawinglayer.add(new esri.Graphic(geometry, symbol);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example of the JSON that crashes my service is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;{"mapOptions":{"showAttribution":true,"extent":{"xmin":2437892.18282856,"ymin":180091.36721409846,"xmax":2611767.182828561,"ymax":256216.3672140987,"spatialReference":{"wkid":32054}},"spatialReference":{"wkid":32054}},"operationalLayers":[{"id":"Ortho Photo 2010","title":"Ortho Photo 2010","opacity":1,"minScale":25000,"maxScale":0,"url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/arcgis/rest/services/Imagery/Ortho2010/ImageServer" rel="nofollow" target="_blank"&gt;http://myserver/arcgis/rest/services/Imagery/Ortho2010/ImageServer&lt;/A&gt;&lt;SPAN&gt;","bandIds":null,"compressionQuality":null,"interpolation":null},{"id":"Basemap","title":"Basemap","opacity":1,"minScale":0,"maxScale":0,"url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/arcgis/rest/services/Interactive_Mapping/BaseMap/MapServer" rel="nofollow" target="_blank"&gt;http://myserver/arcgis/rest/services/Interactive_Mapping/BaseMap/MapServer&lt;/A&gt;&lt;SPAN&gt;","visibleLayers":null,"layers":[]},{"id":"Cadastral","title":"Cadastral","opacity":1,"minScale":0,"maxScale":0,"url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/ArcGIS/rest/services/Interactive_Mapping/Cadastral/MapServer" rel="nofollow" target="_blank"&gt;http://myserver/ArcGIS/rest/services/Interactive_Mapping/Cadastral/MapServer&lt;/A&gt;&lt;SPAN&gt;","visibleLayers":null,"layers":[]},{"id":"Water_Features","title":"Water_Features","opacity":1,"minScale":0,"maxScale":0,"url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/arcgis/rest/services/Interactive_Mapping/Water/MapServer" rel="nofollow" target="_blank"&gt;http://myserver/arcgis/rest/services/Interactive_Mapping/Water/MapServer&lt;/A&gt;&lt;SPAN&gt;","visibleLayers":null,"layers":[]},{"id":"Streets","title":"Streets","opacity":1,"minScale":0,"maxScale":0,"url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/arcgis/rest/services/Interactive_Mapping/Streets/MapServer" rel="nofollow" target="_blank"&gt;http://myserver/arcgis/rest/services/Interactive_Mapping/Streets/MapServer&lt;/A&gt;&lt;SPAN&gt;","visibleLayers":null,"layers":[]},{"id":"drawingLayer","minScale":0,"maxScale":0,"featureCollection":{"layers":[{"layerDefinition":{"name":"pointLayer","geometryType":"esriGeometryPoint"},"featureSet":{"geometryType":"esriGeometryPoint","features":[{"geometry":{"x":2509892.1828285605,"y":218841.36721409857,"spatialReference":{"wkid":32054}},"symbol":{"angle":0,"xoffset":0,"yoffset":0,"type":"esriPMS","url":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/InteractiveMapping/graphics/Airport.gif" rel="nofollow" target="_blank"&gt;http://myserver/InteractiveMapping/graphics/Airport.gif&lt;/A&gt;&lt;SPAN&gt;","width":67.5,"height":67.5}}]}}]}},{"id":"textLayer","minScale":0,"maxScale":0,"featureCollection":{"layers":[]}},{"id":"bufferLayer","minScale":0,"maxScale":0,"featureCollection":{"layers":[]}},{"id":"measureLayer","minScale":0,"maxScale":0,"featureCollection":{"layers":[]}}],"exportOptions":{"outputSize":[800,1100],"dpi":96},"layoutOptions":{"titleText":" ","authorText":"","copyrightText":"Copyright Kenosha County 2012","scaleBarOptions":{"metricUnit":"Meters","metricLabel":"m","nonMetricUnit":"Feet","nonMetricLabel":"ft"},"legendOptions":{"operationalLayers":[{"id":"Streets","subLayerIds":[0,1]},{"id":"Water_Features","subLayerIds":[0]},{"id":"Cadastral","subLayerIds":[23,25,26,27,29,30]},{"id":"Basemap","subLayerIds":[]}]}}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In server, I receive the following message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instance of the service 'Interactive_Mapping/Print.GPServer' crashed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Internal Server Error. Error handling service request : Could not service request&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else seen this type of problem? Anything stand out?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jonathan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 19:16:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-crashing-print-gpserver/m-p/316863#M29178</guid>
      <dc:creator>JonathanKressin</dc:creator>
      <dc:date>2013-02-28T19:16:15Z</dc:date>
    </item>
  </channel>
</rss>

