diff options
author | Jim Hahn <jrh3@att.com> | 2018-09-14 16:30:51 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2018-09-14 17:17:53 -0400 |
commit | 0bd7ab17674ca4eee396dfe8df3a769632a6e733 (patch) | |
tree | ff7a2e7b7c51783a5779caa21fb6a221dab3c4f5 /.gitignore | |
parent | 97956f188f4a8d92d734bf491d5e15a78a03459f (diff) |
fix NPE from rule timers
This problem occurs in rules that have "timer(expr)" expressions before
the "when" clause. If a working memory element, other than the timer
object, appears in the "when" clause and is updated BY ANY RULE, then
an NPE is thrown. The solution is to segregate the objects so that
rules having "timer(expr)" expressions only refer to one object, the
XxxTimer object. In particular, the rule simply sets an "expired" flag
in the XxxTimer object and then all other rules check that flag, rather
than having their own "timer(expr)" expressions.
Corrected comment associated with rule TIMER.FIRED.
Change-Id: I9e6c20ee46af99234daee8ece4862edbd41ba714
Issue-ID: POLICY-1106
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions