<?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: TaskEntity.getCandidates() NPE in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/taskentity-getcandidates-npe/m-p/71880#M46619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If it's not in the public API (ie .impl package), then things like this NPE can happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The public method to do what you want is on the taskService:&amp;nbsp; List&amp;lt;IdentityLink&amp;gt; getIdentityLinksForTask(String taskId);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jul 2011 07:26:47 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2011-07-04T07:26:47Z</dc:date>
    <item>
      <title>TaskEntity.getCandidates() NPE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taskentity-getcandidates-npe/m-p/71879#M46618</link>
      <description>I'm trying to show task's candidate information in the GUI by invoking TaskEntity.getCandidates() in the following piece of code but then only NPE comes outCaused by: java.lang.NullPointerException&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.engine.impl.persistence.entity.TaskEntity.getIdentityLinks(TaskEntity.java:339)&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Fri, 01 Jul 2011 20:01:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taskentity-getcandidates-npe/m-p/71879#M46618</guid>
      <dc:creator>arkadi</dc:creator>
      <dc:date>2011-07-01T20:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: TaskEntity.getCandidates() NPE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taskentity-getcandidates-npe/m-p/71880#M46619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If it's not in the public API (ie .impl package), then things like this NPE can happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The public method to do what you want is on the taskService:&amp;nbsp; List&amp;lt;IdentityLink&amp;gt; getIdentityLinksForTask(String taskId);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 07:26:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taskentity-getcandidates-npe/m-p/71880#M46619</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-07-04T07:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: TaskEntity.getCandidates() NPE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taskentity-getcandidates-npe/m-p/71881#M46620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. That works. Somehow I missed the function while reading the API doc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 10:27:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taskentity-getcandidates-npe/m-p/71881#M46620</guid>
      <dc:creator>arkadi</dc:creator>
      <dc:date>2011-07-04T10:27:41Z</dc:date>
    </item>
  </channel>
</rss>

