[
https://issues.jboss.org/browse/JBRULES-3467?page=com.atlassian.jira.plug...
]
RH Bugzilla Integration commented on JBRULES-3467:
--------------------------------------------------
Edson Tirelli <etirelli(a)redhat.com> made a comment on [bug
813547|https://bugzilla.redhat.com/show_bug.cgi?id=813547]
This turned out to be a bit more complicated than I expected as the code was different in
different versions and the problem was also different.
Fix committed to 5.2.x, 5.3.x, 5.4.x and master (5.5) branches.
[droolsjbpm-knowledge] etirelli pushed 1 new commit to 5.2.x:
https://github.com/droolsjbpm/droolsjbpm-knowledge/commit/88970dfb16d8669...
[droolsjbpm-knowledge/5.2.x] JBRULES-3467: BZ-813547: fixing agent incremental kbase
building - Edson Tirelli
[droolsjbpm-knowledge] etirelli pushed 1 new commit to 5.4.x:
https://github.com/droolsjbpm/droolsjbpm-knowledge/commit/a04039e09f01f50...
[droolsjbpm-knowledge/5.4.x] JBRULES-3467: BZ-813547: fixing agent incremental kbase
building - Edson Tirelli
[droolsjbpm-knowledge] etirelli pushed 1 new commit to master:
https://github.com/droolsjbpm/droolsjbpm-knowledge/commit/d314415c76f991d...
[droolsjbpm-knowledge/master] JBRULES-3467: BZ-813547: fixing agent incremental kbase
building - Edson Tirelli
[droolsjbpm-knowledge] etirelli pushed 1 new commit to 5.3.x:
https://github.com/droolsjbpm/droolsjbpm-knowledge/commit/c0b97b15adb4acd...
[droolsjbpm-knowledge/5.3.x] JBRULES-3467: BZ-813547: fixing agent incremental kbase
building - Edson Tirelli
[drools] etirelli pushed 1 new commit to 5.2.x:
https://github.com/droolsjbpm/drools/commit/cbd835c28ee84311c1222352b8e89...
[drools/5.2.x] JBRULES-3467: BZ-813547: fixing agent incremental kbase building - Edson
Tirelli
[drools] etirelli pushed 1 new commit to 5.3.x:
https://github.com/droolsjbpm/drools/commit/d29fabbb14fb40c971749fdacc87e...
[drools/5.3.x] JBRULES-3467: BZ-813547: fixing agent incremental kbase building - Edson
Tirelli
[drools] etirelli pushed 1 new commit to 5.4.x:
https://github.com/droolsjbpm/drools/commit/8440adcfe456414b6bb4ce31a8435...
[drools/5.4.x] JBRULES-3467: BZ-813547: fixing agent incremental kbase building - Edson
Tirelli
[drools] etirelli pushed 1 new commit to master:
https://github.com/droolsjbpm/drools/commit/7a0b4c1cd0a3ebbce8ef3ca63df82...
[drools/master] JBRULES-3467: BZ-813547: fixing agent incremental kbase building - Edson
Tirelli
[drools] etirelli pushed 1 new commit to 5.2.x:
https://github.com/droolsjbpm/drools/commit/c04e46a2d237964b42c20be140825...
[drools/5.2.x] JBRULES-3467: BZ-813547: fixing agent incremental kbase building - Edson
Tirelli
NullPointerException occurs when newInstance property is set to false
for the KnowledgeAgentConfiguration
---------------------------------------------------------------------------------------------------------
Key: JBRULES-3467
URL:
https://issues.jboss.org/browse/JBRULES-3467
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-core (expert)
Affects Versions: 5.2.0.Final
Reporter: Amana Juricic
Assignee: Mark Proctor
Fix For: 5.2.1.Final, 5.3.2.Final, 5.4.0.Final, 5.5.0.Beta1
When the "drools.agent.newInstance" property is set to false, the client
application which uses the KnowledgeAgent to recognize changes/ updates
performed in KnowledgeBase throws an exception. It is thrown after changing a
temporal rule and building the package:
Exception in thread "main" org.drools.RuntimeDroolsException: Unexpected
exception executing action
org.drools.rule.SlidingTimeWindow$BehaviorExpireWMAction@5e53bbfa
at
org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:1001)
at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:734)
at
org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:701)
at
org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:218)
at com.sample.ExecutarAgente.main(ExecutarAgente.java:62)
Caused by: java.lang.NullPointerException
at org.drools.rule.SlidingTimeWindow.isExpired(SlidingTimeWindow.java:192)
at org.drools.rule.SlidingTimeWindow.expireTuples(SlidingTimeWindow.java:161)
*We are creating a test case to reproduce this bug.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira