<?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: invocation of method component event  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159313#M113352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We'll need to have more stacktrace to actually say something meaningful about this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Aug 2013 10:10:08 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2013-08-14T10:10:08Z</dc:date>
    <item>
      <title>invocation of method component event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159312#M113351</link>
      <description>I tried to deploy loan Request example but It throws the following error on activiti explorerinvocation of method component event in org.activiti.explorer.ui.process.ProcessDefinitionDetailPanel $1 failed</description>
      <pubDate>Tue, 13 Aug 2013 07:45:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159312#M113351</guid>
      <dc:creator>learner</dc:creator>
      <dc:date>2013-08-13T07:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: invocation of method component event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159313#M113352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We'll need to have more stacktrace to actually say something meaningful about this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 10:10:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159313#M113352</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-08-14T10:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: invocation of method component event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159314#M113353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In order to have the example running you need to add : execution.setVariable("creditCheckOk", creditCheckOk); in the script "checkCredit" inside loanrequest.bpmn20.xml. You could see from stacktrace that the value of creditCheckOk is reported as NULL in CreateApplicationTask class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 14:30:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159314#M113353</guid>
      <dc:creator>bogdanclaudiu</dc:creator>
      <dc:date>2013-10-17T14:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: invocation of method component event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159315#M113354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok i see. But that process is wrong at that point, right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 10:59:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159315#M113354</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-10-21T10:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: invocation of method component event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159316#M113355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested same example (I guess it's example of chapter 5 in book) with jUnit test and it works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I deployed on tomcat server and tested proccess, I have same exception when I submit the form&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: com.vaadin.event.ListenerMethod$MethodException: Invocation of method componentEvent in org.activiti.explorer.ui.process.ProcessDefinitionDetailPanel$1 failed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and further&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.lang.NullPointerException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.bpmnwithactiviti.chapter5.CreateApplicationTask.execute(CreateApplicationTask.java:10)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess (Boolean)execution.getVariable("creditCheckOk"); returns null&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean by , the process is wrong at this point&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What correction is necessary to bring in groovy code (or elsewhere) in order to activiti framework return "creditCheckOk"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(NB: I don't know groovy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advanced&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 22:14:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159316#M113355</guid>
      <dc:creator>fabrice1</dc:creator>
      <dc:date>2014-01-18T22:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: invocation of method component event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159317#M113356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tell me if I wrong or not &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems I resolved the problem with user guide "Task/xml representation"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;scriptTask id="checkCredit" scriptFormat="groovy"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rintln "Checking credit for " + name;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creditCheckOk = false;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((income / 2) &amp;gt; loanAmount){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; creditCheckOk = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; execution.setVariable("creditCheckOk", creditCheckOk);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rintln "Checked credit for " + name + " outcome is " + creditCheckOk;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/scriptTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In activiti interface, process is ended (it's necessary to connect to foozie to finish the process))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but in log &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checking credit for name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Checked credit for name outcome is true&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 23:29:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159317#M113356</guid>
      <dc:creator>fabrice1</dc:creator>
      <dc:date>2014-01-18T23:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: invocation of method component event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159318#M113357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First of all see detailed error in apache logs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i faced this same error today, it was because of different data types in my activiti form and LoanApplication class&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 11:31:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/invocation-of-method-component-event/m-p/159318#M113357</guid>
      <dc:creator>asadmalik3</dc:creator>
      <dc:date>2016-11-28T11:31:00Z</dc:date>
    </item>
  </channel>
</rss>

