]
Mark Proctor reassigned JBRULES-3159:
-------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
Exception throw when Dynamic Kbase updates occurs in Fusion temporal
rules
--------------------------------------------------------------------------
Key: JBRULES-3159
URL:
https://issues.jboss.org/browse/JBRULES-3159
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Federico Weisse
Assignee: Edson Tirelli
when a dynamic changes occurs in KBase an exception is trhow
011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] ResourceChangeScanner
attempt to scan 1 resources
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug]
ResourceChangeScanner modified resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
: 1311869325187 : 1311869473656
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug]
ResourceChangeNotification received ChangeSet notification
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug]
ResourceChangeScanner thread is waiting for 300 seconds.
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug]
ResourceChangeNotification processing ChangeSet
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug]
ResourceChangeNotification ChangeSet modified resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
for listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] KnowledgeAgent
received ChangeSet changed notification
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug]
ResourceChangeNotification thread is waiting for queue update
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:info] KnowledgeAgent
applying ChangeSet
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] KnowledgeAgent
removing mappings for resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
with unsubscribe=true
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] KnowledgeAgent
notifier unsubscribing to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug]
ResourceChangeNotification unsubscribing
listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827 to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug]
ResourceChangeScanner unsubcribing
notifier=org.drools.io.impl.ResourceChangeNotifierImpl@c69727 to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug]
ResourceChangeScanner resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
now has no subscribers
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:debug] KnowledgeAgent
rebuilding KnowledgeBase using ChangeSet
2011-07-28 13:14:21,703 INFO [STDOUT] [2011:07:209 13:07:703:info] KnowledgeAgent
performing an incremental build of the ChangeSet
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent:
Diffing: [UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
BinaryResourceDiffProducerImpl: Couldn't handle
org.drools.rule.TypeDeclaration@6bdc57. We must leave it in the new Package.
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
BinaryResourceDiffProducerImpl: Comparing [Rule name=Mas de 20 codigos rojos en el mismo
barrio, agendaGroup=MAIN, salience=0, no-loop=false] against [Rule name=Mas de 20 codigos
rojos en el mismo barrio, agendaGroup=MAIN, salience=0, no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
BinaryResourceDiffProducerImpl: The rules have different LHS
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
BinaryResourceDiffProducerImpl: Comparing [Rule name=urgencia codigo amarillo pendiente
por mas de 3 minutos, agendaGroup=MAIN, salience=0, no-loop=false] against [Rule
name=urgencia codigo amarillo pendiente por mas de 3 minutos, agendaGroup=MAIN,
salience=0, no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
BinaryResourceDiffProducerImpl: The rules have different LHS
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
BinaryResourceDiffProducerImpl: Comparing [Rule name=urgencia codigo rojo pendiente por
mas de 10 minutos, agendaGroup=MAIN, salience=0, no-loop=false] against [Rule
name=urgencia codigo rojo pendiente por mas de 10 minutos, agendaGroup=MAIN, salience=0,
no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
BinaryResourceDiffProducerImpl: The rules have different LHS
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent
obtaining pkg resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent
mapping resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
to KnowledgeDefinition=[Rule name=Mas de 20 codigos rojos en el mismo barrio,
agendaGroup=MAIN, salience=0, no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent
notifier subscribing to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
ResourceChangeNotification subscribing
listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827 to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
ResourceChangeScanner subcribing
notifier=org.drools.io.impl.ResourceChangeNotifierImpl@c69727 to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent
mapping resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
to KnowledgeDefinition=[Rule name=urgencia codigo rojo pendiente por mas de 10 minutos,
agendaGroup=MAIN, salience=0, no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent
notifier subscribing to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
ResourceChangeNotification subscribing
listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827 to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent
mapping resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
to KnowledgeDefinition=[Rule name=urgencia codigo amarillo pendiente por mas de 3 minutos,
agendaGroup=MAIN, salience=0, no-loop=false]
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent
notifier subscribing to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
ResourceChangeNotification subscribing
listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827 to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent
mapping resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
to KnowledgeDefinition=org.drools.rule.TypeDeclaration@1e3a6dd
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent
notifier subscribing to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug]
ResourceChangeNotification subscribing
listener=org.drools.agent.impl.KnowledgeAgentImpl@eaa827 to resource=[UrlResource
path='file:f://usr//bin//jboss-4.3//server//osdeweb//conf//drools//urgencias.drl']
2011-07-28 13:14:22,218 INFO [STDOUT] [2011:07:209 13:07:218:debug] KnowledgeAgent
adding KnowledgeDefinitionsPackage ar.com.osde.urgencias
Exception in thread "Thread-18"
java.lang.NullPointerException
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.reteoo.RightTuple.unlinkFromRightParent(RightTuple.java:107)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.reteoo.BetaNode.doRemove(BetaNode.java:282)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.common.BaseNode.remove(BaseNode.java:109)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.reteoo.BetaNode.doRemove(BetaNode.java:293)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.common.BaseNode.remove(BaseNode.java:109)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.reteoo.RuleTerminalNode.doRemove(RuleTerminalNode.java:411)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.common.BaseNode.remove(BaseNode.java:109)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.reteoo.ReteooBuilder.removeRule(ReteooBuilder.java:237)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.reteoo.ReteooRuleBase.removeRule(ReteooRuleBase.java:432)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.common.AbstractRuleBase.removeRule(AbstractRuleBase.java:831)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.common.AbstractRuleBase.mergePackage(AbstractRuleBase.java:623)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.common.AbstractRuleBase.addPackages(AbstractRuleBase.java:539)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.reteoo.ReteooRuleBase.addPackages(ReteooRuleBase.java:445)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.reteoo.ReteooRuleBase.addPackage(ReteooRuleBase.java:452)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:937)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.agent.impl.KnowledgeAgentImpl.incrementalBuildResources(KnowledgeAgentImpl.java:821)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:586)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:185)
2011-07-28 13:14:22,234 ERROR [STDERR] at
org.drools.agent.impl.KnowledgeAgentImpl$ChangeSetNotificationDetector.run(KnowledgeAgentImpl.java:1106)
2011-07-28 13:14:22,234 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: