<?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: Create Process Instance Rest API Exception in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199032#M152162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That would explain it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; thanks for posting back your solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 10:13:25 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-11-03T10:13:25Z</dc:date>
    <item>
      <title>Create Process Instance Rest API Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199027#M152157</link>
      <description>Hello, Greeting !.I am writing a restful API for starting a process instance. I am using springTemplate.The following is the code.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private static String HOST = "localhost";&amp;nbsp;&amp;nbsp;&amp;nbsp;private static String PORT = "8080";&amp;nbsp;&amp;nbsp;&amp;nbsp;private static String PROTOCOL = "http";&amp;nbsp;&amp;nbsp;&amp;nbsp;public static String BASE_URL = PROT</description>
      <pubDate>Fri, 24 Oct 2014 21:04:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199027#M152157</guid>
      <dc:creator>kartikmavani</dc:creator>
      <dc:date>2014-10-24T21:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create Process Instance Rest API Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199028#M152158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;which Activiti version is this? Can't see anything that could cause this in the current code&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 11:22:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199028#M152158</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-10-27T11:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create Process Instance Rest API Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199029#M152159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for the delayed response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using activiti 5.14.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 14:49:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199029#M152159</guid>
      <dc:creator>kartikmavani</dc:creator>
      <dc:date>2014-10-28T14:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create Process Instance Rest API Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199030#M152160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So this is the failing line: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/activiti-5.14/modules/activiti-rest/src/main/java/org/activiti/rest/service/api/runtime/process/ProcessInstanceCollectionResource.java#L100" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/activiti-5.14/modules/activiti-rest/src/main/java/org/activiti/rest/service/api/runtime/process/ProcessInstanceCollectionResource.java#L100&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From that code, it seems only the NPE can happen is the request is null. I guess that only can happen if the json posted to the server is not correct.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 15:11:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199030#M152160</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-10-31T15:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create Process Instance Rest API Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199031#M152161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Changed it from&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; URI uri = restTemplate.postForLocation(BASE_URL+"service/runtime/process-instances", null ,mainParams);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;URI uri = restTemplate.postForLocation(BASE_URL+"service/runtime/process-instances", mainParams ,mainParams);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 16:06:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199031#M152161</guid>
      <dc:creator>kartikmavani</dc:creator>
      <dc:date>2014-10-31T16:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create Process Instance Rest API Exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199032#M152162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That would explain it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; thanks for posting back your solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 10:13:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-process-instance-rest-api-exception/m-p/199032#M152162</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-03T10:13:25Z</dc:date>
    </item>
  </channel>
</rss>

