<?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 geoprocessor hangs in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessor-hangs/m-p/457953#M12403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using Java with arcobjects.&amp;nbsp; Prints "Trying to create a gp object...", but never gets to "..Done!".&amp;nbsp; Any suggestions?&amp;nbsp; Have lots of other arcobjects code that works.&amp;nbsp; For some reason can't get this one line to work!&amp;nbsp; Its a drag as its kinda an important one!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
...
public createGp() {
&amp;nbsp; try{
&amp;nbsp;&amp;nbsp; dealWithLics();
&amp;nbsp;&amp;nbsp; System.out.println("Trying to create a gp object...");
&amp;nbsp;&amp;nbsp; GeoProcessor gp = new GeoProcessor();
&amp;nbsp;&amp;nbsp; System.out.println("..Done!");
&amp;nbsp; } catch (Exception e) {
&amp;nbsp;&amp;nbsp; e.printStackTrace();
&amp;nbsp; }
}
...
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Apr 2014 22:28:13 GMT</pubDate>
    <dc:creator>KevinNetherton</dc:creator>
    <dc:date>2014-04-04T22:28:13Z</dc:date>
    <item>
      <title>geoprocessor hangs</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessor-hangs/m-p/457953#M12403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using Java with arcobjects.&amp;nbsp; Prints "Trying to create a gp object...", but never gets to "..Done!".&amp;nbsp; Any suggestions?&amp;nbsp; Have lots of other arcobjects code that works.&amp;nbsp; For some reason can't get this one line to work!&amp;nbsp; Its a drag as its kinda an important one!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
...
public createGp() {
&amp;nbsp; try{
&amp;nbsp;&amp;nbsp; dealWithLics();
&amp;nbsp;&amp;nbsp; System.out.println("Trying to create a gp object...");
&amp;nbsp;&amp;nbsp; GeoProcessor gp = new GeoProcessor();
&amp;nbsp;&amp;nbsp; System.out.println("..Done!");
&amp;nbsp; } catch (Exception e) {
&amp;nbsp;&amp;nbsp; e.printStackTrace();
&amp;nbsp; }
}
...
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 22:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessor-hangs/m-p/457953#M12403</guid>
      <dc:creator>KevinNetherton</dc:creator>
      <dc:date>2014-04-04T22:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: geoprocessor hangs</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessor-hangs/m-p/457954#M12404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Never programmed in java so not sure what I'm going to write is relevant but in VB I would have done the following....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim pGp as IGeoProcessor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pGP = New GeoProcessor&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note I do not have any () after the Class and I had to import ESRI.ArcGIS.Geoprocessing for it to work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Apr 2014 17:33:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessor-hangs/m-p/457954#M12404</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2014-04-06T17:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: geoprocessor hangs</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessor-hangs/m-p/457955#M12405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm using Java with arcobjects.&amp;nbsp; Prints "Trying to create a gp object...", but never gets to "..Done!".&amp;nbsp; Any suggestions?&amp;nbsp; Have lots of other arcobjects code that works.&amp;nbsp; For some reason can't get this one line to work!&amp;nbsp; Its a drag as its kinda an important one!&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
...
public createGp() {
&amp;nbsp; try{
&amp;nbsp;&amp;nbsp; dealWithLics();
&amp;nbsp;&amp;nbsp; System.out.println("Trying to create a gp object...");
&amp;nbsp;&amp;nbsp; GeoProcessor gp = new GeoProcessor();
&amp;nbsp;&amp;nbsp; System.out.println("..Done!");
&amp;nbsp; } catch (Exception e) {
&amp;nbsp;&amp;nbsp; e.printStackTrace();
&amp;nbsp; }
}
...
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I often avoid the GeoProcessor object at all costs, and stick to pure ArcObjects.&amp;nbsp; I've had issues with it in the past where it does the same thing randomly.&amp;nbsp; What are you doing with the GeoProcessor object?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:22:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/geoprocessor-hangs/m-p/457955#M12405</guid>
      <dc:creator>KevinYanuk</dc:creator>
      <dc:date>2021-12-11T20:22:58Z</dc:date>
    </item>
  </channel>
</rss>

