[rules-dev] drools-persistence-jpa ProcessInstanceInfo processInstanceId

Chrystall, Greg GChrystall at nds.com
Fri Aug 20 05:11:10 EDT 2010


I have just tried my project in drools 5.0.1 and get the same problem, I don't think that I can be the only one to have hit this, I must be doing something wrong. I will investigate and report any findings.

From: rules-dev-bounces at lists.jboss.org [mailto:rules-dev-bounces at lists.jboss.org] On Behalf Of Chrystall, Greg
Sent: 20 August 2010 09:36
To: Rules Dev List
Subject: Re: [rules-dev] drools-persistence-jpa ProcessInstanceInfo processInstanceId

No I am not using spring, I am using the Bitronix TM as described in the drools docs. I am using version 5.1. The thing I find strange is that there is no possible way for the field to be anything but null, it looks like it is just leftover from some old code, I am not sure why JPAProcessInstanceManager is trying to get the value either...


From: rules-dev-bounces at lists.jboss.org [mailto:rules-dev-bounces at lists.jboss.org] On Behalf Of Esteban Aliverti
Sent: 19 August 2010 19:01
To: Rules Dev List
Subject: Re: [rules-dev] drools-persistence-jpa ProcessInstanceInfo processInstanceId

This could be related to TX management. I experienced this error while fixing some bugs in DroolsSpringJPAManager and DroolsSpringTransactionManager.
Are you using drools-spring integration?

Best,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
On Thu, Aug 19, 2010 at 1:44 PM, Chrystall, Greg <GChrystall at nds.com<mailto:GChrystall at nds.com>> wrote:
Hi,

Is there some magic going on in ProcessInstanceInfo? As far as I can tell there is no way that the processInstanceId can ever have a non-null value. This causes a null pointer exception when called from JPAProcessInstanceManager line 37  because it will try and unbox null to a long.

Can anyone explain what is supposed to happen?

Thanks,
Greg


________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com<mailto:postmaster at nds.com> and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

_______________________________________________
rules-dev mailing list
rules-dev at lists.jboss.org<mailto:rules-dev at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-dev


________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20100820/90dc9813/attachment.html 


More information about the rules-dev mailing list