<?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: Getting NullPointer exception when timer job fires in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126382#M88934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Initially I have used the boundary event but we are getting TimerEntity concurrent exception when we are trying to complete the task when timer job fires, because of this task complete operation is getting rollbacked. To avoid that we have used inclusive gateway and we are not getting that exception. Instead we are getting Null pointer exception but that it not causing the execution flow, I guess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2013 14:22:37 GMT</pubDate>
    <dc:creator>ganeshr</dc:creator>
    <dc:date>2013-07-18T14:22:37Z</dc:date>
    <item>
      <title>Getting NullPointer exception when timer job fires</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126378#M88930</link>
      <description>Hi, I have seen the following exception in log file,[2013-07-17 05:01:43,557][ERROR][pool-1-thread-41][impl.jobexecutor.TimerCatchIntermediateEventJobHandler][exception during timer execution]java.lang.NullPointerException&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.has</description>
      <pubDate>Wed, 17 Jul 2013 10:47:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126378#M88930</guid>
      <dc:creator>ganeshr</dc:creator>
      <dc:date>2013-07-17T10:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting NullPointer exception when timer job fires</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126379#M88931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you add your BPMN XML in a code-block?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 12:37:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126379#M88931</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-17T12:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting NullPointer exception when timer job fires</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126380#M88932</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;&amp;nbsp;&amp;nbsp; I have attached the BPMN xml code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 07:46:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126380#M88932</guid>
      <dc:creator>ganeshr</dc:creator>
      <dc:date>2013-07-18T07:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting NullPointer exception when timer job fires</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126381#M88933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems like an issue with the execution the activity is waiting in. Probabily the inclusive gateway causing one of the executions the timers are no, to be "inactive". Don't really wee what you're trying to reach with the inclusive gateway. Why not use boundary-events for the time-alerts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 09:57:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126381#M88933</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-18T09:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting NullPointer exception when timer job fires</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126382#M88934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Initially I have used the boundary event but we are getting TimerEntity concurrent exception when we are trying to complete the task when timer job fires, because of this task complete operation is getting rollbacked. To avoid that we have used inclusive gateway and we are not getting that exception. Instead we are getting Null pointer exception but that it not causing the execution flow, I guess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 14:22:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126382#M88934</guid>
      <dc:creator>ganeshr</dc:creator>
      <dc:date>2013-07-18T14:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting NullPointer exception when timer job fires</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126383#M88935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Completing the task when the timer fires seems to me to be an edge-case (off course, depending on the timeout). If the timeout of a task to be completed is a couple of hours or even days, the chance of the user completing the task when the job is being executed is very small. And if that happens, the ConcurrentModificationException should be handled by your code. In your specific use case it means the user was too late to complete the task, as it's expired already. You'll get similar issues with the inclusive layaway when both event occur, as they both try to update the same process-instance eventually.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 06:21:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126383#M88935</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-19T06:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting NullPointer exception when timer job fires</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126384#M88936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, there is a small chance that timer and task complete happen at the same time, but as we have 3 timer boundary events there is a chance that both task complete and one of the time fires at the same time. Problem with timer boundary events is that complete event is getting triggered even though the task complete operation is getting rollback when timer job fires at the same time. As we are sending the notification event as part of complete event, So notification is going even though complete operation is not completed. For that reason we have used the inclusive gateway and we are not facing this issue of complete operation getting rollback even though both fires at the same time, may be because of both are running with different execution id's, I guess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:03:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-nullpointer-exception-when-timer-job-fires/m-p/126384#M88936</guid>
      <dc:creator>ganeshr</dc:creator>
      <dc:date>2013-07-19T12:03:05Z</dc:date>
    </item>
  </channel>
</rss>

