<?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 Ending a process throws a NullPointerException(Activiti 5.6) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ending-a-process-throws-a-nullpointerexception-activiti-5-6/m-p/56652#M34296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Activiti 5.6&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process was fetched using the ExecutionQuery:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;…&lt;BR /&gt;RuntimeService Execution execution = executionService.createExecutionQuery().processInstanceId(processID).singleResult();&lt;BR /&gt;((ExecutionEntity)execution).end();&lt;BR /&gt;…&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The result of the call to end() was NPE. Stack is listed below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:481)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.activiti.engine.impl.persistence.entity.ExecutionEntity.end(ExecutionEntity.java:299)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I used one of the processes provided in the activiti test suite&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;..modules\activiti-engine\src\test\resources\org\activiti\examples\bpmn\usertask\taskassignee\TaskAssigneeTest.testTaskAssignee.bpmn20.xml&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 09:07:59 GMT</pubDate>
    <dc:creator>l_marinkov</dc:creator>
    <dc:date>2011-07-20T09:07:59Z</dc:date>
    <item>
      <title>Ending a process throws a NullPointerException(Activiti 5.6)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ending-a-process-throws-a-nullpointerexception-activiti-5-6/m-p/56652#M34296</link>
      <description>Activiti 5.6The process was fetched using the ExecutionQuery:…RuntimeService Execution execution = executionService.createExecutionQuery().processInstanceId(processID).singleResult();((ExecutionEntity)execution).end();…‍‍‍‍‍‍The result of the call to end() was NPE. Stack is listed below:java.lang.Nu</description>
      <pubDate>Wed, 20 Jul 2011 09:07:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ending-a-process-throws-a-nullpointerexception-activiti-5-6/m-p/56652#M34296</guid>
      <dc:creator>l_marinkov</dc:creator>
      <dc:date>2011-07-20T09:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ending a process throws a NullPointerException(Activiti 5.6)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ending-a-process-throws-a-nullpointerexception-activiti-5-6/m-p/56653#M34297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;as mentioned in other posts, you should *not* operate on the entities, but use the services for runtime, repository, task etc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 11:28:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ending-a-process-throws-a-nullpointerexception-activiti-5-6/m-p/56653#M34297</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-07-20T11:28:28Z</dc:date>
    </item>
  </channel>
</rss>

