brendanneff wrote > > I read a few forum posts about updating to 5.4 CR1 (we're using 5.4 > Final), but wanted to ask and see if that's really the cause before I > start changing the version. I also saw that casting as an Integer, which > we do, could solve the problem. Could someone take a look at this and let > me know if changing to CR1 would fix the issue or if there's a simpler > solution? >
I am afraid you misread some former email. I think nobody wrote (or at least I couldn't find it) that using the 5.4.CR1 release instead of the 5.4.Final could fix this problem. Quite the opposite actually. I fixed some of these jitting issues we had between the CR1 and the Final and some others (including the one you found) remained even in the Final release. I think I've fixed all the outstanding jitting issues and these fixes will be available in the upcoming 5.5 release (we are deploying the beta1 in these days). However it would be great if I could reproduce the bugs you found, both because I could check if they are actually fixed in the 5.5 and possibly give you some more informed suggestions to workaround them in the 5.4. In order to do that, the only info I miss is how the CMVNewLoanBean class is made. Could you please send its source code (or at least the parts relevant for the 2 failing rules you have) ? brendanneff wrote > > Here are the rules that seem to be causing the errors: > > rule "Cashcure - Average Monthly Income Less Than 1251" > when > $loan : CMVNewLoanBean( new > Integer(getCustomer().getLatestEmployer().monthlySalary) < 1251) > then > $loan.setLenderError($loan.getCurrentLender().getName(), 20253); > end > Out of curiosity, why do you create the new Integer there instead of just doing: CMVNewLoanBean( getCustomer().getLatestEmployer().monthlySalary < 1251) Thanks for reporting this, Mario -- View this message in context: http://drools.46999.n3.nabble.com/exception-jitting-problem-tp4019763p4019778.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
