RE: [rules-users] NullPointer in LHS dao calls ..

2007-04-04 Thread Sanjay Singh - s0singh
very basic .. thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rahul Phadnis Sent: Tuesday, April 03, 2007 5:42 PM To: Rules Users List Subject: Re: [rules-users] NullPointer in LHS dao calls .. Did you set the global in the WorkingMemory? You can do

Re: [rules-users] NullPointer in LHS dao calls ..

2007-04-03 Thread Rahul Phadnis
Did you set the global in the WorkingMemory? You can do that using the API at http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.5/apidocs/index.html and yes that is for 3.0.5. I am sure there is an equivalent for the version that you are using. -Rahul --- Sanjay Si

Re: [rules-users] NullPointer in LHS dao calls ..

2007-04-03 Thread Rahul Phadnis
Did you set the global in the WorkingMemory? You can do that using the API at http://labs.jboss.com/file-access/default/members/jbossrules/freezone/docs/3.0.5/apidocs/index.html and yes that is for 3.0.5. I am sure there is an equivalent for the version that you are using. -Rahul --- Sanjay Sing

[rules-users] NullPointer in LHS dao calls ..

2007-04-03 Thread Sanjay Singh - s0singh
Since i could not get the earlier code running i tried using eval in LHS side for Dao calls but i keep on getting NullPointerException .. rule "Item should have a valid status" when ItemVo (statusCode : itemStatusCode != null) eval( !itemValidationDao.isValidItemStatus(statusCode) ) then err