<?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 ActivitiEngine object coming as null (prompt response is appreciated) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activitiengine-object-coming-as-null-prompt-response-is/m-p/154492#M108945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am very new to activiti, i have build a simple process in process designer(eclipse plugin) and trying to run the process from java class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have attached the java class and the red colord statement as provided above is returning null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also attched the activiti-cfg file i am trying with this example. Have tried with h2 database properties in xml file and also with out h2 database properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In details&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;………..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. have downloaded the activiti 5.14 distribution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Downloaded eclipse 5.14.1 and setup the activiti project&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. created a simple business process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. created junit test java class and this had generated the java code as attached&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. commented few lines in the java class to know excatly what's happening step by step&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. but the first step (ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;) where processEngine is null so I am getting NullPointer exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please advise is there anything I am missing here&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Mar 2014 09:21:51 GMT</pubDate>
    <dc:creator>penusila611621</dc:creator>
    <dc:date>2014-03-15T09:21:51Z</dc:date>
    <item>
      <title>ActivitiEngine object coming as null (prompt response is appreciated)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitiengine-object-coming-as-null-prompt-response-is/m-p/154492#M108945</link>
      <description>I am very new to activiti, i have build a simple process in process designer(eclipse plugin) and trying to run the process from java class.ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();have attached the java class and the red colord statement as provided above is returning n</description>
      <pubDate>Sat, 15 Mar 2014 09:21:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitiengine-object-coming-as-null-prompt-response-is/m-p/154492#M108945</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2014-03-15T09:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: ActivitiEngine object coming as null (prompt response is appreciated)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitiengine-object-coming-as-null-prompt-response-is/m-p/154493#M108946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since you are using the ActivitiRule, you need to get all services from that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;prompt response is appreciated&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everyone here appreciates that, no need to mention it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 10:22:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitiengine-object-coming-as-null-prompt-response-is/m-p/154493#M108946</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-03-17T10:22:33Z</dc:date>
    </item>
  </channel>
</rss>

