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@lists.jboss.org [mailto:rules-dev-bounces@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@lists.jboss.org [mailto:rules-dev-bounces@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@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@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@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@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@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
**************************************************************************************