08:34:24,343 ERROR [STDERR] RuleAgent(default) INFO (Thu Oct 22 08:34:24 MDT 2009): Applying changes to the rulebase.
08:34:24,343 ERROR [STDERR] RuleAgent(default) EXCEPTION (Thu Oct 22 08:34:24 MDT 2009): null. Stack trace should follow.
08:34:24,343 ERROR [STDERR] java.lang.NullPointerException
08:34:24,343 ERROR [STDERR] at org.drools.reteoo.ReteooBuilder.removeRule(ReteooBuilder.java:235)
08:34:24,344 ERROR [STDERR] at org.drools.reteoo.ReteooRuleBase.removeRule(ReteooRuleBase.java:366)
08:34:24,344 ERROR [STDERR] at org.drools.common.AbstractRuleBase.removeRule(AbstractRuleBase.java:712)
08:34:24,344 ERROR [STDERR] at org.drools.common.AbstractRuleBase.removePackage(AbstractRuleBase.java:640)
08:34:24,344 ERROR [STDERR] at org.drools.agent.PackageProvider.removePackage(PackageProvider.java:44)
08:34:24,344 ERROR [STDERR] at org.drools.agent.PackageProvider.applyChanges(PackageProvider.java:80)
08:34:24,344 ERROR [STDERR] at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:397)
08:34:24,344 ERROR [STDERR] at org.drools.agent.RuleAgent$2.run(RuleAgent.java:516)
08:34:24,344 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
08:34:24,344 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)
The application will hang indefinitely when calling fireAllRules().
Restarting the server fixes the problem. If I never rebuild the rules, or restart the server after rebuilding the rules, this problem never surfaces.
Changing the poll value doesn't appear to alter anything.