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: [email protected] 
[mailto:[email protected]] 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: [email protected] 
[mailto:[email protected]] 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 
<[email protected]<mailto:[email protected]>> 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 
[email protected]<mailto:[email protected]> 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
[email protected]<mailto:[email protected]>
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 
[email protected] 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 
[email protected] 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
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-dev

Reply via email to