<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Bookman Old Style";
        panose-1:2 5 6 4 5 5 5 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Bookman Old Style","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'>I also was getting this error. I brought out package building logic to execute once, and KnowledgeSession realted logic to repeat the required number of times. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'>Seems there required some delay in preparing rules related classes into one package during iteration. Above step was working fine for me.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'>Pseudo code:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>KnowledgeBuilder </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>kbuilder</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'> = KnowledgeBuilderFactory.<i>newKnowledgeBuilder</i>();</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>// this will parse and compile in one step</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>// get the compiled packages (which are serializable)</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> Collection<KnowledgePackage> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>pkgs</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'> = </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>null</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'>;</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>// add the packages to a knowledgebase (deploy the knowledge packages).</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> KnowledgeBase </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>kbase</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'> = </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>null</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'>;</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black'> StatefulKnowledgeSession </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>ksession</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'> = </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>null</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'>;</span><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'> // constructor to be called once<o:p></o:p></span></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>public</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'> RuleEngine (</span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>byte</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'>[] rules) {</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>kbuilder</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.add(ResourceFactory.<i>newByteArrayResource</i>(rules),ResourceType.</span><i><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>DRL</span></i><span style='font-size:10.0pt;font-family:"Courier New";color:black'>);</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>// Check the builder for errors</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>if</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'> (</span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>kbuilder</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.hasErrors()) {</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> System.</span><i><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>out</span></i><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.println(</span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>kbuilder</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.getErrors().toString());</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>throw</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>new</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'> RuntimeException(</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2A00FF'>"Unable to compile drl."</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>);</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> }</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>pkgs</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'> = </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>kbuilder</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.getKnowledgePackages();</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>// add the packages to a knowledgebase (deploy the knowledge packages).</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>kbase</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'> = KnowledgeBaseFactory.<i>newKnowledgeBase</i>();</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>kbase</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.addKnowledgePackages(</span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>pkgs</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>); </span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> }</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'>// this method will be called required number of times</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>public</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>void</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'> fire(Object obj) { </span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>ksession</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'> = </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>kbase</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.<span style='background:silver;mso-highlight:silver'>newStatefulKnowledgeSession</span>();</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>ksession</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.addEventListener(</span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>new</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'> DebugAgendaEventListener());</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>ksession</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.addEventListener(</span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>new</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'> DebugWorkingMemoryEventListener());</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>// setup the audit logging</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>//KnowledgeRuntimeLogger logger = KnowledgeRuntimeLoggerFactory.newFileLogger(ksession, "log/drools.log");</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>ksession</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.insert(obj);</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>ksession</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.fireAllRules();</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>//logger.close();</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>ksession</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.dispose();</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black'> }</span><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'>Check this out.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'>Thanks & Regards<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Bookman Old Style","serif";color:#1F497D'>Santhosh<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] <b>On Behalf Of </b>Wolfgang Laun<br><b>Sent:</b> Tuesday, September 27, 2011 4:10 PM<br><b>To:</b> Rules Users List<br><b>Subject:</b> Re: [rules-users] Getting Exception while running rules continuously on the Event Streams from Mule Component.<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Drools version?<br><br>Looks like a bug, I've seen similar NPE reports.<br><br>-W<o:p></o:p></p><div><p class=MsoNormal>On 27 September 2011 12:23, Hari Kishan <<a href="mailto:HariKishan.Tammana@pass-consulting.com">HariKishan.Tammana@pass-consulting.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Please find attached the rule Code (.drl) below.<br><br>Frequently getting this below Exception while running rules.<br><br>Exception caught while executing action:<br><a href="mailto:org.drools.reteoo.PropagationQueuingNode$PropagateAction@41c317">org.drools.reteoo.PropagationQueuingNode$PropagateAction@41c317</a><br><br>java.lang.NullPointerException<br><br> at org.drools.util.LeftTupleList.toArray(LeftTupleList.java:106)<br><br> at org.drools.util.LeftTupleList.toArray(LeftTupleList.java:11)<br><br> at org.drools.reteoo.CollectNode.assertObject(CollectNode.java:256)<br><br> at<br>org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:42)<br><br> at<br>org.drools.reteoo.RightInputAdapterNode.assertLeftTuple(RightInputAdapterNode.java:135)<br><br> at<br>org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:117)<br><br> at<br>org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:28)<br><br> at org.drools.reteoo.FromNode.evaluateAndPropagate(FromNode.java:156)<br><br> at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:104)<br><br> at<br>org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:145)<br><br> at<br>org.drools.reteoo.CompositeLeftTupleSinkAdapter.propagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:39)<br><br> at org.drools.reteoo.JoinNode.assertObject(JoinNode.java:175)<br><br> at<br>org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:42)<br><br> at<br>org.drools.reteoo.PropagationQueuingNode$AssertAction.execute(PropagationQueuingNode.java:326)<br><br> at<br>org.drools.reteoo.PropagationQueuingNode.propagateActions(PropagationQueuingNode.java:221)<br><br> at<br>org.drools.reteoo.PropagationQueuingNode$PropagateAction.execute(PropagationQueuingNode.java:394)<br><br> at<br>org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:1486)<br><br> at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:158)<br><br> at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:122)<br><br> at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:80)<br><br> at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:28)<br><br> at org.mule.module.drools.Drools.assertEvent(Drools.java:165)<br><br> at org.mule.module.bpm.Rules.handleEvent(Rules.java:131)<br><br> at org.mule.module.bpm.RulesComponent.doInvoke(RulesComponent.java:84)<br><br> at<br>org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:120)<br><br> at<br>org.mule.component.AbstractComponent.access$000(AbstractComponent.java:56)<br><br> at<br>org.mule.component.AbstractComponent$1$1.process(AbstractComponent.java:234)<br><br> at<br>org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:88)<br><br> at<br>org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:89)<br><br> at<br>org.mule.processor.chain.InterceptingChainLifecycleWrapper.doProcess(InterceptingChainLifecycleWrapper.java:63)<br><br> at<br>org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:89)<br><br> at<br>org.mule.processor.chain.InterceptingChainLifecycleWrapper.process(InterceptingChainLifecycleWrapper.java:94)<br><br> at<br>org.mule.component.AbstractComponent.process(AbstractComponent.java:154)<br><br> at<br>org.mule.processor.AbstractInterceptingMessageProcessor.processNext(AbstractInterceptingMessageProcessor.java:93)<br><br> at<br>org.mule.interceptor.AbstractEnvelopeInterceptor.process(AbstractEnvelopeInterceptor.java:55)<br><br> at<br>org.mule.processor.AsyncInterceptingMessageProcessor.processNextTimed(AsyncInterceptingMessageProcessor.java:118)<br><br> at<br>org.mule.processor.SedaStageInterceptingMessageProcessor$SedaStageWorker.doWork(SedaStageInterceptingMessageProcessor.java:197)<br><br> at<br>org.mule.processor.SedaStageInterceptingMessageProcessor$SedaStageWorker.doRun(SedaStageInterceptingMessageProcessor.java:178)<br><br> at<br>org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:43)<br><br> at org.mule.work.WorkerContext.run(WorkerContext.java:309)<br><br> at<br>java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br><br> at<br>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br><br> at java.lang.Thread.run(Thread.java:619)<br><br><a href="http://drools.46999.n3.nabble.com/file/n3372189/sensors.drl" target="_blank">http://drools.46999.n3.nabble.com/file/n3372189/sensors.drl</a> sensors.drl<br><span style='color:#888888'><br>--<br>View this message in context: <a href="http://drools.46999.n3.nabble.com/Getting-Exception-while-running-rules-continuously-on-the-Event-Streams-from-Mule-Component-tp3372189p3372189.html" target="_blank">http://drools.46999.n3.nabble.com/Getting-Exception-while-running-rules-continuously-on-the-Event-Streams-from-Mule-Component-tp3372189p3372189.html</a><br>Sent from the Drools: User forum mailing list archive at Nabble.com.<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a></span><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>