[jboss-jira] [JBoss JIRA] (JBRULES-3467) NullPointerException occurs when newInstance property is set to false for the KnowledgeAgentConfiguration
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Tue Apr 17 16:27:18 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
RH Bugzilla Integration updated JBRULES-3467:
---------------------------------------------
Bugzilla Update: Perform
> 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
>
> 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 at 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
More information about the jboss-jira
mailing list