<?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: Coercion Error from geo Processor submitJob in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99140#M2289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anthony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Those are not errors they are warnings and they have nothing to do with what you are attempting to do they are just common in the Flex Viewer. Are you saying that the job does not execute?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2011 11:19:01 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2011-05-24T11:19:01Z</dc:date>
    <item>
      <title>Coercion Error from geo Processor submitJob</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99139#M2288</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 am creating a widget in Flex 2.3.1 similar to the drivetimes example. The service I have to use only supports the Submit Job operation, its required parameters are : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter: Input_Location Data Type: GPFeatureRecordSetLayer &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameter: Drive_Distances__Miles_&amp;nbsp; Data Type: GPString.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created the following params object&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var params:Object = 
 {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Input_Location": featureSet,
&amp;nbsp; "Drive_Distances__Miles_": driveTimes
 };
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where featureSet is a FeatureSet containing a Graphic and driveTimes is a String eg. "1 3 5".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have any compile errors or any indication that anything is wrong, but when I click on the map and create the point once geoPro.submitJob(params) is called I get multiple Error #1034 Type Coercion failed messages:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cannot convert Object@2060b791 to flash.geom.Transform&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cannot convert Object@2060f8a9 to flash.media.SoundTransform&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cannot convert Object@2060b881 to com.esri.ags.symols.Symbol&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for ANY help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 09:59:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99139#M2288</guid>
      <dc:creator>AnthonyKeogh1</dc:creator>
      <dc:date>2011-05-24T09:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Coercion Error from geo Processor submitJob</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99140#M2289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anthony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Those are not errors they are warnings and they have nothing to do with what you are attempting to do they are just common in the Flex Viewer. Are you saying that the job does not execute?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 11:19:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99140#M2289</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-05-24T11:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Coercion Error from geo Processor submitJob</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99141#M2290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah, the update status method from the submitJob goes round about twice the second status being failed and then it goes to the complete method. From what I can tell nothing else is returned. I'm using flash builder and like a lot of people the debugging part isn't working correctly so I's using Firebug with the Flash plugin to trace what I can to try and find out why it's not working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 12:05:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99141#M2290</guid>
      <dc:creator>AnthonyKeogh1</dc:creator>
      <dc:date>2011-05-24T12:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Coercion Error from geo Processor submitJob</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99142#M2291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anthony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; GP Service errors are some of the most difficult to track down and debug... Does the GP work in ArcMap? There is alot of help documentation about what has to be done to allow your GP to be usable as a service for REST have you gone through that documentation?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 12:13:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99142#M2291</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-05-24T12:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Coercion Error from geo Processor submitJob</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99143#M2292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The&amp;nbsp; service is from an existing Flex 1.3 widget, all I am really trying to do at the minute is port the widget to Flex 2.3.1. The original widget is from a custom flex viewer that was developed before ESRI released the actual flex viewer so quite a lot of the structuring is different but I was hoping if would have been fairly straight forward.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 12:21:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99143#M2292</guid>
      <dc:creator>AnthonyKeogh1</dc:creator>
      <dc:date>2011-05-24T12:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Coercion Error from geo Processor submitJob</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99144#M2293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anthony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If the GP Service was working in SFV 1.3 than it should work fine in 2.3.1 also. So your issue must be in the actual widget code conversion. Hmm... Not sure where to begin.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 12:55:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99144#M2293</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-05-24T12:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Coercion Error from geo Processor submitJob</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99145#M2294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know what you mean Robert :D.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't know that the flash errors reported in Firebug wouldn't be the cause of the problem so at least I know now that the problem must be in my implementation of the service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 13:11:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99145#M2294</guid>
      <dc:creator>AnthonyKeogh1</dc:creator>
      <dc:date>2011-05-24T13:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Coercion Error from geo Processor submitJob</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99146#M2295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anthony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Is the GP service Public?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 13:13:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99146#M2295</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-05-24T13:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Coercion Error from geo Processor submitJob</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99147#M2296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry but its not. I don't have permission to share it either.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 13:24:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99147#M2296</guid>
      <dc:creator>AnthonyKeogh1</dc:creator>
      <dc:date>2011-05-24T13:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Coercion Error from geo Processor submitJob</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99148#M2297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Im not quite sure why but Im getting a different error today :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[FaultEvent fault=[RPC Fault faultString="Unable to complete&amp;nbsp; operation." faultCode="400" faultDetail="GPTask 'submitJob' does not exist or is inaccessible."] messageId=null type="fault" bubbles=false cancelable=true eventPhase=2]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 10:12:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99148#M2297</guid>
      <dc:creator>AnthonyKeogh1</dc:creator>
      <dc:date>2011-05-25T10:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Coercion Error from geo Processor submitJob</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99149#M2298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After all that it turned out that there was an error with the models in the service when it was moved from one vm to the next. Thanks for the help anyway &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 14:02:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/coercion-error-from-geo-processor-submitjob/m-p/99149#M2298</guid>
      <dc:creator>AnthonyKeogh1</dc:creator>
      <dc:date>2011-05-26T14:02:49Z</dc:date>
    </item>
  </channel>
</rss>

