<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Start workflow in liferay 7.2</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117833323" />
  <subtitle>Start workflow in liferay 7.2</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117833323</id>
  <updated>2026-04-04T23:25:49Z</updated>
  <dc:date>2026-04-04T23:25:49Z</dc:date>
  <entry>
    <title>RE: Start workflow in liferay 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117881208" />
    <author>
      <name>ali yeganeh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117881208</id>
    <updated>2019-11-23T07:35:35Z</updated>
    <published>2019-11-23T07:35:35Z</published>
    <summary type="html">Hi dear Christoph &lt;br /&gt; My problem was solved&lt;br /&gt;&lt;strong&gt;Thank you very much&lt;/strong&gt;</summary>
    <dc:creator>ali yeganeh</dc:creator>
    <dc:date>2019-11-23T07:35:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: Start workflow in liferay 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117858222" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117858222</id>
    <updated>2019-11-22T15:30:20Z</updated>
    <published>2019-11-22T15:30:20Z</published>
    <summary type="html">Could you try with the recently released Liferay 7.2 GA 2 (or in case of DXP, upgrade to the most recent patch?).&lt;br /&gt;A Nullpointer Exception in KaleoInstanceTokenModelDocumentContributor was fixed after the release of GA1.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-11-22T15:30:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: Start workflow in liferay 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117843789" />
    <author>
      <name>ali yeganeh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117843789</id>
    <updated>2019-11-21T18:31:02Z</updated>
    <published>2019-11-21T18:31:02Z</published>
    <summary type="html">Hi Alberto &lt;br /&gt;&lt;strong&gt;Can you answer my first question ?&lt;/strong&gt;</summary>
    <dc:creator>ali yeganeh</dc:creator>
    <dc:date>2019-11-21T18:31:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: Start workflow in liferay 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117843439" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117843439</id>
    <updated>2019-11-21T17:45:55Z</updated>
    <published>2019-11-21T17:45:55Z</published>
    <summary type="html">Hi Ali,&lt;br /&gt;The upgrade planner will help you to migrate your old Liferay workspace and custom code in 7.1 to 7.2, if you need help on that, use it.&lt;br /&gt;Cheers.</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2019-11-21T17:45:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: Start workflow in liferay 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117837454" />
    <author>
      <name>ali yeganeh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117837454</id>
    <updated>2019-11-21T07:33:10Z</updated>
    <published>2019-11-21T07:33:10Z</published>
    <summary type="html">Hi&lt;br /&gt;&lt;strong&gt;According to i downloaded Liferay 7.2 and created  Liferay Workspace and modules  accordance with liferay 7.2  , do I need a&lt;a href="https://portal.liferay.dev/docs/7-2/reference/-/knowledge_base/r/liferay-upgrade-planner"&gt; Liferay Upgrade Planner&lt;/a&gt;?&lt;/strong&gt;</summary>
    <dc:creator>ali yeganeh</dc:creator>
    <dc:date>2019-11-21T07:33:10Z</dc:date>
  </entry>
  <entry>
    <title>Start workflow in liferay 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117833322" />
    <author>
      <name>ali yeganeh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117833322</id>
    <updated>2019-11-20T10:59:44Z</updated>
    <published>2019-11-20T10:59:44Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi&lt;br&gt;I had a workflow module that was working properly on&lt;strong&gt; liferay 7.1&lt;/strong&gt;&lt;br&gt;But now I&amp;nbsp;created Workspace and Module in accordance with &lt;strong&gt;liferay 7.2 &lt;/strong&gt;&lt;br&gt;When I start workflow&amp;nbsp;according to the code below&lt;br&gt;&lt;pre&gt;&lt;code&gt;WorkflowHandlerRegistryUtil
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; .startWorkflowInstance( importation.getCompanyId(), importation.getGroupId(), importation.getUserId(), Importation.class.getName(),
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; importation.getPrimaryKey(), importation, serviceContext );&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;strong&gt;I have encountered the following exception!!!!!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;2019-11-20 10:23:29.116 ERROR [liferay/kaleo_graph_walker-1][ParallelDestination:55] Unable to process message {destinationName=liferay/kaleo_graph_walker, response=null, responseDestinationName=null, responseId=null, payload=com.liferay.portal.workflow.kaleo.runtime.graph.PathElement@77510b26, values={defaultLocale=en_US, companyId=20101, groupId=0, principalName=35530, permissionChecker=com.liferay.portal.kernel.util.TransientValue@57d305ff, siteDefaultLocale=en_US, themeDisplayLocale=en_US}}
com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.workflow.kaleo.internal.search.spi.model.index.contributor.KaleoInstanceTokenModelDocumentContributor.getAssetEntry(KaleoInstanceTokenModelDocumentContributor.java:134)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.workflow.kaleo.internal.search.spi.model.index.contributor.KaleoInstanceTokenModelDocumentContributor.contribute(KaleoInstanceTokenModelDocumentContributor.java:96)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.workflow.kaleo.internal.search.spi.model.index.contributor.KaleoInstanceTokenModelDocumentContributor.contribute(KaleoInstanceTokenModelDocumentContributor.java:44)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.search.internal.indexer.IndexerDocumentBuilderImpl.lambda$getDocument$1(IndexerDocumentBuilderImpl.java:57)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at java.lang.Iterable.forEach(Iterable.java:75)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.search.internal.indexer.IndexerDocumentBuilderImpl.getDocument(IndexerDocumentBuilderImpl.java:55)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.search.internal.indexer.IndexerWriterImpl.reindex(IndexerWriterImpl.java:241)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.search.internal.indexer.DefaultIndexer.reindex(DefaultIndexer.java:277)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.search.internal.indexer.DefaultIndexer.reindex(DefaultIndexer.java:52)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.search.IndexableAdvice.afterReturning(IndexableAdvice.java:130)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:67)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.sun.proxy.$Proxy1868.updateKaleoInstanceToken(Unknown Source)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.workflow.kaleo.service.KaleoInstanceTokenLocalServiceUtil.updateKaleoInstanceToken(KaleoInstanceTokenLocalServiceUtil.java:410)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.workflow.kaleo.model.impl.KaleoInstanceTokenImpl.setCurrentKaleoNode(KaleoInstanceTokenImpl.java:98)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.workflow.kaleo.runtime.node.BaseNodeExecutor.enter(BaseNodeExecutor.java:49)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.workflow.kaleo.runtime.internal.graph.DefaultGraphWalker.follow(DefaultGraphWalker.java:70)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at java.lang.reflect.Method.invoke(Method.java:498)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.spring.transaction.TransactionInterceptor.lambda$invoke$0(TransactionInterceptor.java:64)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.spring.transaction.CounterTransactionExecutor._execute(CounterTransactionExecutor.java:96)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.spring.transaction.CounterTransactionExecutor.execute(CounterTransactionExecutor.java:47)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:62)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.sun.proxy.$Proxy1884.follow(Unknown Source)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.workflow.kaleo.runtime.internal.graph.messaging.PathElementMessageListener.doReceive(PathElementMessageListener.java:47)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;... 5 more
&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>ali yeganeh</dc:creator>
    <dc:date>2019-11-20T10:59:44Z</dc:date>
  </entry>
</feed>
