cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown NPE and Unable to delete Process Instance

sid121091
Champ in-the-making
Champ in-the-making
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?
2 REPLIES 2

vasile_dirla
Star Contributor
Star Contributor
could you please explain a bit more detailed what kind of setup do you have?
it a clean setup of Activiti, or maybe is something custom, which version.. etc..

as you can see in your log, the NPE is here:
<code>
entity = Context.getCommandContext()
        .getByteArrayEntityManager()
        .findById(id);
</code>

here could have 2 cases of NPE , the CommandContext or the ByteArrayEntityManager
you could put a breakpoint here and check what exactly is null.

maybe you could create a unit test for this?

martin_grofcik
Confirmed Champ
Confirmed Champ