Sorry for resending the message. This is
an urgent issue and if anybody has encountered this problem, can you please let
me know how it can be resolved?
If I have over 3 packages in the RuleBase
and I try to remove one of those packages, then I get a NullPointerException.
Thanks.
From: rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On
Behalf Of Sarika Khamitkar
Sent: Wednesday, July 11, 2007
3:34 PM
To: rules-users@lists.jboss.org
Subject: [rules-users]
NullPointerException while deleting the rule package
Hi,
I am trying a remove a rule from the RuleBase using the
following syntax and get a NullPointerException:
ruleBase.removePackage("rule2392016206");
Before removing the package, I am iterating through all the
packages in the ruleBase and I can see this package name in the list. I am not
sure why this exception is being thrown then.
I am using 4.0 MR3.
Has this feature changed since 3.0.6?
Thanks.
Sarika