<?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: NullPointerException when sending signal to recieve task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57638#M35083</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;Can you tell me what input you use to signal the process instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did the 3 minutes already pass? Do you have a stack trace?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Dec 2011 10:24:43 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2011-12-23T10:24:43Z</dc:date>
    <item>
      <title>NullPointerException when sending signal to recieve task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57637#M35082</link>
      <description>Hi.There is a recieve task and in our BMP diagram and a timer boundary is connected it.We set TimerBoundary 's time duration to&amp;nbsp; PT3M .When we send signal to process instance of this diagram we get NullPointerException..diagram.png:[img]http://imageupload.org/thumb/thumb_153558.png[/img]Thank you.</description>
      <pubDate>Fri, 23 Dec 2011 09:50:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57637#M35082</guid>
      <dc:creator>erensimsek</dc:creator>
      <dc:date>2011-12-23T09:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointerException when sending signal to recieve task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57638#M35083</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;Can you tell me what input you use to signal the process instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did the 3 minutes already pass? Do you have a stack trace?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 10:24:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57638#M35083</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-12-23T10:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointerException when sending signal to recieve task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57639#M35084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually we need a bpm design: process instanse must wait until a date.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but when we send signal it, it must going on to processing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did the 3 minutes already pass?: No.&amp;nbsp; We dont want to wait when a action in our business.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We send signal like that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessInstance processInstance = runtimeService&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .createProcessInstanceQuery()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .processInstanceId(procInstId)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .singleResult();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Execution execution = runtimeService.createExecutionQuery()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .processInstanceId(processInstance.getId()).list().get(0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;runtimeService.signal(execution.getId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;StackTrace:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dec 23, 2011 12:52:56 PM org.activiti.engine.impl.interceptor.CommandContext close&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SEVERE: Error while closing command context&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.NullPointerException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.persistence.entity.ExecutionEntity.signal(ExecutionEntity.java:313)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cmd.SignalCmd.execute(SignalCmd.java:53)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.RuntimeServiceImpl.signal(RuntimeServiceImpl.java:131)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at tr.com.innova.ats.surec.service.impl.business.activiti.ActivitiIslemleriImpl.borcundanDolayiIptal(ActivitiIslemleriImpl.java:670)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.reflect.Method.invoke(Method.java:597)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at $Proxy934.borcundanDolayiIptal(Unknown Source)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 10:55:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57639#M35084</guid>
      <dc:creator>erensimsek</dc:creator>
      <dc:date>2011-12-23T10:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointerException when sending signal to recieve task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57640#M35085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think, l found the solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The BPM diagram must be like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;diagramSignal.png:&lt;/SPAN&gt;&lt;A href="http://imageupload.org/?d=5E91AE7E1" rel="nofollow noopener noreferrer"&gt;[img]http://imageupload.org/thumb/thumb_153638.png[/img]&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 13:41:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57640#M35085</guid>
      <dc:creator>erensimsek</dc:creator>
      <dc:date>2011-12-23T13:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointerException when sending signal to recieve task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57641#M35086</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;The BPM digaram must like that, but when we call signal mehod of runtime service, we get NullPointerException…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We call that method like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessInstance processInstance = runtimeService&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.createProcessInstanceQuery()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.processInstanceId(procInstId)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.singleResult();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Execution execution = runtimeService.createExecutionQuery()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.processInstanceId(processInstance.getId()).list().get(0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;runtimeService.signal(execution.getId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can we send signal to process inctance safely and correct..?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for answers..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2011 08:00:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57641#M35086</guid>
      <dc:creator>erensimsek</dc:creator>
      <dc:date>2011-12-26T08:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointerException when sending signal to recieve task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57642#M35087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a solution for this? I see that the timer attached to a Receive Task causes another execution to be created, and sets many fields to null on the original execution (see AtomicOperationTransitionCreateScope::execute()). Specifically the problem is with&amp;nbsp; execution.setActivity(null), which causes the NPE when signalling for the original execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know why there is another execution created, but the execution isn't usable in my case since it doesn't inherit the variables from the parent execution so I cannot query for it as I query for the original execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Actitivi 5.10. Problem also exists in 5.9.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 16:26:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57642#M35087</guid>
      <dc:creator>lior1</dc:creator>
      <dc:date>2012-11-05T16:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: NullPointerException when sending signal to recieve task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57643#M35088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After your Grubu task, start 2 paths, one pointing to an IntermediateTimer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and one pointing to an IntermediateSignal Catching Event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After the signal Catching, add a service task, setting a "flag" indicating that the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;process continued.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The outgoing flow of the timer event should only be executed, when the flag is still false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dunno if this is what you need:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="http://www.abload.de/img/altckr9f.png" rel="nofollow noopener noreferrer"&gt;http://www.abload.de/img/altckr9f.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 12:51:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/nullpointerexception-when-sending-signal-to-recieve-task/m-p/57643#M35088</guid>
      <dc:creator>dognose</dc:creator>
      <dc:date>2012-11-07T12:51:00Z</dc:date>
    </item>
  </channel>
</rss>

