<?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: Activiti REST: ClassCastException while running Ch5 Loan Application Example in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-classcastexception-while-running-ch5-loan/m-p/168931#M122350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Somehow the exception trace is not appearing in the post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2014 09:59:25 GMT</pubDate>
    <dc:creator>manchandap</dc:creator>
    <dc:date>2014-04-01T09:59:25Z</dc:date>
    <item>
      <title>Activiti REST: ClassCastException while running Ch5 Loan Application Example</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-classcastexception-while-running-ch5-loan/m-p/168930#M122349</link>
      <description>I am using Activiti REST to run the loan application example provided with Chapter 05 of the Activiti in Action book. The examples define the following loan application object&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublic class LoanApplication implements Serializable {&amp;nbsp;&amp;nbsp;&amp;nbsp;private static final long serialVersionUID = 1L;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private Strin</description>
      <pubDate>Tue, 01 Apr 2014 09:57:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-classcastexception-while-running-ch5-loan/m-p/168930#M122349</guid>
      <dc:creator>manchandap</dc:creator>
      <dc:date>2014-04-01T09:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST: ClassCastException while running Ch5 Loan Application Example</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-classcastexception-while-running-ch5-loan/m-p/168931#M122350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Somehow the exception trace is not appearing in the post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 09:59:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-classcastexception-while-running-ch5-loan/m-p/168931#M122350</guid>
      <dc:creator>manchandap</dc:creator>
      <dc:date>2014-04-01T09:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST: ClassCastException while running Ch5 Loan Application Example</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-classcastexception-while-running-ch5-loan/m-p/168932#M122351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use the NEW rest-API endpoint instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;POST runtime/process-instances, passing in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "processDefinitionKey":"loanrequest",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "variables": [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name":"income",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "value":150000,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type": "long"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; … &lt;BR /&gt;&amp;nbsp;&amp;nbsp; ]&lt;BR /&gt;}&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;See userguide on more details on variable-format and typing&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 07:02:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-classcastexception-while-running-ch5-loan/m-p/168932#M122351</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-04-02T07:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST: ClassCastException while running Ch5 Loan Application Example</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-classcastexception-while-running-ch5-loan/m-p/168933#M122352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for quick reply. I might be missing something. The API /process-instances is for retrieving the details about the active process instances. This is as per the user guide available here: &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#N16747" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#N16747&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem that I am encountering is related to the API that starts the process instance: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt; Request: POST /process-instance &amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 07:20:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-classcastexception-while-running-ch5-loan/m-p/168933#M122352</guid>
      <dc:creator>manchandap</dc:creator>
      <dc:date>2014-04-02T07:20:36Z</dc:date>
    </item>
  </channel>
</rss>

