<?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 Unknown NPE and Unable to delete Process Instance  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unknown-npe-and-unable-to-delete-process-instance/m-p/210490#M163620</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;When I try to execute my project, the following error keeps throwing up. The exception is attached with this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As a result I am not able to delete process instance also because of this. Can someone help with what could be the reason for it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Sep 2015 08:32:41 GMT</pubDate>
    <dc:creator>sid121091</dc:creator>
    <dc:date>2015-09-05T08:32:41Z</dc:date>
    <item>
      <title>Unknown NPE and Unable to delete Process Instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unknown-npe-and-unable-to-delete-process-instance/m-p/210490#M163620</link>
      <description>Hi, When I try to execute my project, the following error keeps throwing up. The exception is attached with this.As a result I am not able to delete process instance also because of this. Can someone help with what could be the reason for it?</description>
      <pubDate>Sat, 05 Sep 2015 08:32:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unknown-npe-and-unable-to-delete-process-instance/m-p/210490#M163620</guid>
      <dc:creator>sid121091</dc:creator>
      <dc:date>2015-09-05T08:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown NPE and Unable to delete Process Instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unknown-npe-and-unable-to-delete-process-instance/m-p/210491#M163621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;could you please explain a bit more detailed what kind of setup do you have?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it a clean setup of Activiti, or maybe is something custom, which version.. etc..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as you can see in your log, the NPE is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;entity = Context.getCommandContext()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .getByteArrayEntityManager()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .findById(id);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here could have 2 cases of NPE , the CommandContext or the ByteArrayEntityManager&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you could put a breakpoint here and check what exactly is null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;maybe you could create a unit test for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 07:46:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unknown-npe-and-unable-to-delete-process-instance/m-p/210491#M163621</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-09-07T07:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown NPE and Unable to delete Process Instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unknown-npe-and-unable-to-delete-process-instance/m-p/210492#M163622</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;jUnit test could help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 12:12:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unknown-npe-and-unable-to-delete-process-instance/m-p/210492#M163622</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-09-07T12:12:50Z</dc:date>
    </item>
  </channel>
</rss>

