<div> </div>
<div>YOu can use collect function. Please refer <a href="http://blog.athico.com/2007/06/chained-from-accumulate-collect.html">http://blog.athico.com/2007/06/chained-from-accumulate-collect.html</a></div>
<div><br><br> </div>
<div><span class="gmail_quote">On 8/26/09, <b class="gmail_sendername"><a href="mailto:rules-users-request@lists.jboss.org">rules-users-request@lists.jboss.org</a></b> &lt;<a href="mailto:rules-users-request@lists.jboss.org">rules-users-request@lists.jboss.org</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send rules-users mailing list submissions to<br>       <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<br>To subscribe or unsubscribe via the World Wide Web, visit<br>       <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>or, via email, send a message with subject or body &#39;help&#39; to<br>
       <a href="mailto:rules-users-request@lists.jboss.org">rules-users-request@lists.jboss.org</a><br><br>You can reach the person managing the list at<br>       <a href="mailto:rules-users-owner@lists.jboss.org">rules-users-owner@lists.jboss.org</a><br>
<br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of rules-users digest...&quot;<br><br><br>Today&#39;s Topics:<br><br>  1. Rule for Collection (Ashish Soni)<br>  2.  Using KnowledgeAgent with Stateful session (nestabur)<br>
  3. Re: Cannot view Process Definitions in gwt-console (rbms)<br>  4. Re: Using KnowledgeAgent with Stateful session (James Owen)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>
Date: Wed, 26 Aug 2009 12:22:55 -0400<br>From: Ashish Soni &lt;<a href="mailto:learnspring@gmail.com">learnspring@gmail.com</a>&gt;<br>Subject: [rules-users] Rule for Collection<br>To: Rules Users List &lt;<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>
Message-ID:<br>       &lt;<a href="mailto:cf7a8a020908260922je3d0f9cie85eada146f594e9@mail.gmail.com">cf7a8a020908260922je3d0f9cie85eada146f594e9@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>Hi All ,<br><br>Can someone please help how can i write a rule for below condition -<br><br>I have Student object which contains List of Courses<br><br>public Class Person<br>{<br>  private List&lt;Course&gt; courseList;<br>
}<br><br>public Class Course<br>{<br>  private String name;<br>  private int duration;<br>}<br><br>Now lets say the list of course inside person object contains 10 course<br>objects and if one of the course object contain name ==&quot;XYZ&quot; and another<br>
contain a duration = 20 hours then how i can write a rule for this.<br><br><br>Thanks.<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.jboss.org/pipermail/rules-users/attachments/20090826/f74f64ca/attachment-0001.html">http://lists.jboss.org/pipermail/rules-users/attachments/20090826/f74f64ca/attachment-0001.html</a><br>
<br>------------------------------<br><br>Message: 2<br>Date: Wed, 26 Aug 2009 09:34:33 -0700 (PDT)<br>From: nestabur &lt;<a href="mailto:nestabur@gmail.com">nestabur@gmail.com</a>&gt;<br>Subject: [rules-users]  Using KnowledgeAgent with Stateful session<br>
To: <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>Message-ID: &lt;<a href="mailto:25151447.post@talk.nabble.com">25151447.post@talk.nabble.com</a>&gt;<br>Content-Type: text/plain; charset=us-ascii<br>
<br><br><br>Does anyone tried to use the knowledgeAgent with statefulSessions?<br><br>I&#39;ve tried to configure my rule engine obtaining unexpected behaviour.<br><br>I configure my statefulSession as follows:<br><br>wm = (ReteooStatefulSession) ((KnowledgeBaseImpl) kagent<br>
                               .getKnowledgeBase()).ruleBase.newStatefulSession(<br>                               (SessionConfiguration) sessionConf, env);<br>ksession = new StatefulKnowledgeSessionImpl(wm, kagent.getKnowledgeBase());<br>
<br>And after updating the KnowledgeBase in the agent I update my ksession:<br><br>wm.setRuleBase((InternalRuleBase) ((KnowledgeBaseImpl) kagent<br>                                               .getKnowledgeBase()).ruleBase);<br>
ksession = new StatefulKnowledgeSessionImpl(wm, kagent.getKnowledgeBase());<br><br>Without using entry-points this approach works as expected, but using them<br>it fails after the first update throwing the error:<br><br>Exception while processing message: java.lang.NullPointerException<br>
java.lang.NullPointerException<br>       at<br>org.drools.reteoo.ReteooFactHandleFactory.newFactHandle(ReteooFactHandleFactory.java:54)<br>       at<br>org.drools.common.AbstractFactHandleFactory.newFactHandle(AbstractFactHandleFactory.java:79)<br>
       at<br>org.drools.common.AbstractFactHandleFactory.newFactHandle(AbstractFactHandleFactory.java:66)<br>       at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:109)<br>       at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:80)<br>
       at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:28)<br><br>Browsing the drools core code I found the line that was throwing the<br>exception and tried to get the same result by implementing:<br><br>
if (!((InternalRuleBase) ((KnowledgeBaseImpl)<br>ksession.getKnowledgeBase()).ruleBase)<br>                               .getTypeDeclaration(fact.getClass()) == null)<br>       <a href="http://log.info">log.info</a> (((InternalRuleBase) ((KnowledgeBaseImpl)<br>
ksession.getKnowledgeBase()).ruleBase)<br><br>.getTypeDeclaration(fact.getClass()).getTimestampExtractor().toString());<br><br>after updating my ksession. The result was the same, again the same<br>exception thrown but my logger wrote:<br>
18:01:50,232 INFO [ClassFieldExtractor class=MyPackage.MyFact<br>field=myTimestampField]<br><br>So I dont know why the core is throwing that exception, is that<br>implementation correct?, any ideas?<br><br><br>Thanks,<br>
<br>Nestor<br><br>--<br>View this message in context: <a href="http://www.nabble.com/Using-KnowledgeAgent-with-Stateful-session-tp25151447p25151447.html">http://www.nabble.com/Using-KnowledgeAgent-with-Stateful-session-tp25151447p25151447.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Wed, 26 Aug 2009 11:37:55 -0700 (PDT)<br>From: rbms &lt;<a href="mailto:rbms@hotmail.com">rbms@hotmail.com</a>&gt;<br>
Subject: Re: [rules-users] Cannot view Process Definitions in<br>       gwt-console<br>To: <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>Message-ID: &lt;<a href="mailto:25152800.post@talk.nabble.com">25152800.post@talk.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br><br><br>Thanks  for the reply Kris,<br><br>I finally found the issue. When file is uploaded from guvnor, looks like the<br>compile package bytes property is not set in the repo.<br>
<br>So I had to invoke rebuildPackages function from<br>org.drools.guvnor.server.ServiceImplementation.loadRuleAsset function<br><br>thanks<br>-Ramesh<br><br><br>Kris Verlaenen wrote:<br>&gt;<br>&gt; Because the gwt-console does not allow you to specify which knowledge<br>
&gt; package should be loaded (yet), it currently uses the &quot;default&quot; package.<br>&gt;  Putting your rule flow in a package called &quot;default&quot; (and then building<br>&gt; that package in Guvnor) should solve your issue I think.  You could also<br>
&gt; change the name of the package to load in the changeset.xml file in<br>&gt; drools-gwt-console.<br>&gt;<br>&gt; Kris<br>&gt;<br>&gt; Quoting rbms &lt;<a href="mailto:rbms@hotmail.com">rbms@hotmail.com</a>&gt;:<br>&gt;<br>
&gt;&gt;<br>&gt;&gt; I am trying to deploy drools-guvnor, gwt-console in Tomcat.<br>&gt;&gt; I am using mysql for persistence.<br>&gt;&gt; I uploaded the process definitions in drools-guvnor.(I can see them<br>&gt;&gt; Packages<br>
&gt;&gt; --&gt; defaultPackage --&gt; RuleFlows)<br>&gt;&gt; However when I try to view them in Processes --&gt; Process Definitions<br>&gt;&gt; --&gt;<br>&gt;&gt; Definition List, I cannot see them.<br>&gt;&gt;<br>&gt;&gt; Following is from tomcat server log.(with debugging statements that<br>
&gt;&gt; I<br>&gt;&gt; added.)<br>&gt;&gt;<br>&gt;&gt; I placed debug statements in<br>&gt;&gt; org.drools.guvnor.server.files.PackageDeploymentServlet.doGet method.<br>&gt;&gt; This<br>&gt;&gt; method calls<br>&gt;&gt; org.drools.guvnor.server.files.FileManagerUtils.loadBinaryPackage<br>
&gt;&gt; method.<br>&gt;&gt;<br>&gt;&gt; //Following is the debug statement that I placed in<br>&gt;&gt; org.drools.guvnor.server.files.FileManagerUtils.loadBinaryPackage<br>&gt;&gt; method.<br>&gt;&gt;  public String loadBinaryPackage(String packageName,<br>
&gt;&gt;                                     String packageVersion,<br>&gt;&gt;                                     boolean isLatest,<br>&gt;&gt;                                     OutputStream out) throws<br>&gt;&gt; IOException {<br>
&gt;&gt;         PackageItem item = null;<br>&gt;&gt;         if ( isLatest ) {<br>&gt;&gt;             item = repository.loadPackage( packageName );<br>&gt;&gt;          System.out.println(&quot;FileManagerUtils.loadBinaryPackage() ...&quot;);<br>
&gt;&gt;          AssetItemIterator ai = item.queryAssets(&quot;drools:format=&#39;rf&#39;&quot;,<br>&gt;&gt; false);<br>&gt;&gt;          for (;ai.hasNext();) {<br>&gt;&gt;                  Object o = ai.next();<br>&gt;&gt;                  System.out.println(&quot;FileManagerUtils.loadBinaryPackage item = &quot;<br>
&gt;&gt; +<br>&gt;&gt; o.getClass() +&quot;:&quot;+o);<br>&gt;&gt;<br>&gt;&gt;<br>&gt; System.out.println(&quot;*************************************************************************&quot;);<br>&gt;&gt;          }<br>&gt;&gt;<br>
&gt;&gt; As you can see the servlet returns the rule flow.<br>&gt;&gt;<br>&gt;&gt; I also placed some debug statements in<br>&gt;&gt; org.drools.rule.Package.readExternal<br>&gt;&gt; method. As you can see when it comes to this method rule flow is<br>
&gt;&gt; empty.<br>&gt;&gt;<br>&gt;&gt; Because of this<br>&gt;&gt; org.drools.integration.console.DroolsFlowCommandDelegate.getProcesses()<br>&gt;&gt; function returns 0 process definitions.<br>&gt;&gt;<br>&gt;&gt; Can somebody help?<br>
&gt;&gt;<br>&gt;&gt; ********************************************************<br>&gt;&gt; [2009:08:231 22:08:625:debug] KnowledgeAgent rebuilding KnowledgeBase<br>&gt;&gt; using<br>&gt;&gt; ChangeSet<br>&gt;&gt; [2009:08:231 22:08:625:debug] KnowledgeAgent building<br>
&gt;&gt; resource=[UrlResource<br>&gt;&gt;<br>&gt; path=&#39;<a href="http://localhost:8081/drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST">http://localhost:8081/drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST</a>&#39;]<br>
&gt;&gt; PackageName: defaultPackage<br>&gt;&gt; //org.drools.guvnor.server.files.PackageDeploymentServlet.doGet -<br>&gt;&gt; Begin<br>&gt;&gt; PackageVersion: LATEST<br>&gt;&gt; PackageIsLatest: true<br>&gt;&gt; PackageIsSource: false<br>
&gt;&gt; requestURI:<br>&gt;&gt; /drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST<br>&gt;&gt; test:<br>&gt;&gt; /drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST<br>&gt;&gt; //org.drools.guvnor.server.files.PackageDeploymentServlet.doGet -<br>
&gt;&gt; End<br>&gt;&gt; FileManagerUtils.loadBinaryPackage() ... //<br>&gt;&gt; org.drools.guvnor.server.files.FileManagerUtils.loadBinaryPackage -<br>&gt;&gt; Begin<br>&gt;&gt; FileManagerUtils.loadBinaryPackage item = class<br>
&gt;&gt; org.drools.repository.AssetItem:Content of rule item named &#39;testRF&#39;:<br>&gt;&gt; Content: &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&gt;&gt; &lt;process xmlns=&quot;<a href="http://drools.org/drools-5.0/process">http://drools.org/drools-5.0/process</a>&quot;<br>
&gt;&gt;          xmlns:xs=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot;<br>&gt;&gt;          xs:schemaLocation=&quot;<a href="http://drools.org/drools-5.0/process">http://drools.org/drools-5.0/process</a><br>
&gt;&gt; drools-processes-5.0.xsd&quot;<br>&gt;&gt;          type=&quot;RuleFlow&quot; name=&quot;ProjectApprovalProcess&quot;<br>&gt;&gt; id=&quot;ProjectApprovalProcess&quot; package-name=&quot;defaultPackage&quot; &gt;<br>
&gt;&gt;<br>&gt;&gt;   &lt;header&gt;<br>&gt;&gt;     &lt;variables&gt;<br>&gt;&gt;       &lt;variable name=&quot;project&quot; &gt;<br>&gt;&gt;         &lt;type<br>&gt;&gt; name=&quot;org.drools.process.core.datatype.impl.type.ObjectDataType&quot;<br>
&gt;&gt; className=&quot;com.yesVin.workflow.project.Project&quot; /&gt;<br>&gt;&gt;       &lt;/variable&gt;<br>&gt;&gt;       &lt;variable name=&quot;status&quot; &gt;<br>&gt;&gt;         &lt;type<br>&gt;&gt; name=&quot;org.drools.process.core.datatype.impl.type.StringDataType&quot; /&gt;<br>
&gt;&gt;       &lt;/variable&gt;<br>&gt;&gt;     &lt;/variables&gt;<br>&gt;&gt;   &lt;/header&gt;<br>&gt;&gt;<br>&gt;&gt;   &lt;nodes&gt;<br>&gt;&gt;     &lt;start id=&quot;1&quot; name=&quot;Start&quot; x=&quot;15&quot; y=&quot;11&quot; width=&quot;80&quot; height=&quot;40&quot;<br>
&gt;&gt; /&gt;<br>&gt;&gt;     &lt;end id=&quot;2&quot; name=&quot;End&quot; x=&quot;206&quot; y=&quot;442&quot; width=&quot;80&quot; height=&quot;40&quot; /&gt;<br>&gt;&gt;     &lt;humanTask id=&quot;3&quot; name=&quot;Review Project&quot; x=&quot;126&quot; y=&quot;12&quot;<br>
&gt;&gt; width=&quot;80&quot;<br>&gt;&gt; height=&quot;40&quot; &gt;<br>&gt;&gt; ..<br>&gt;&gt; ...<br>&gt;&gt; .....<br>&gt;&gt; ......<br>&gt;&gt; //org.drools.guvnor.server.files.FileManagerUtils.loadBinaryPackage<br>&gt;&gt; -<br>
&gt;&gt; End<br>&gt;&gt; Package.readExternal isDroolsStream = true //<br>&gt;&gt; org.drools.rule.Package.readExternal - Begin<br>&gt;&gt; Package.readExternal pkg = null<br>&gt;&gt; dialectRuntimeRegistry =<br>&gt;&gt; org.drools.rule.DialectRuntimeRegistry@198046<br>
&gt;&gt; name = defaultPackage<br>&gt;&gt; imports =<br>&gt;&gt; {defaultPackage.*=org.drools.rule.ImportDeclaration@d75e0360}<br>&gt;&gt; staticImports = []<br>&gt;&gt; functions = {}<br>&gt;&gt; factTemplates = {}<br>&gt;&gt; ruleFlows = {}<br>
&gt;&gt; globals = {}<br>&gt;&gt; valid = true<br>&gt;&gt; rules = {}<br>&gt;&gt; classFieldAccessorStore =<br>&gt;&gt; org.drools.base.ClassFieldAccessorStore@34b350<br>&gt;&gt; //org.drools.rule.Package.readExternal - End<br>
&gt;&gt; --<br>&gt;&gt; View this message in context:<br>&gt;&gt;<br>&gt; <a href="http://www.nabble.com/Cannot-view-Process-Definitions-in-gwt-console-tp25056005p25056005.html">http://www.nabble.com/Cannot-view-Process-Definitions-in-gwt-console-tp25056005p25056005.html</a><br>
&gt;&gt; Sent from the drools - user mailing list archive at Nabble.com.<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; rules-users mailing list<br>&gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; Disclaimer: <a href="http://www.kuleuven.be/cwis/email_disclaimer.htm">http://www.kuleuven.be/cwis/email_disclaimer.htm</a><br>
&gt; _______________________________________________<br>&gt; rules-users mailing list<br>&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>&gt;<br><br>--<br>View this message in context: <a href="http://www.nabble.com/Cannot-view-Process-Definitions-in-gwt-console-tp25056005p25152800.html">http://www.nabble.com/Cannot-view-Process-Definitions-in-gwt-console-tp25056005p25152800.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Wed, 26 Aug 2009 16:31:04 -0500<br>From: James Owen &lt;<a href="mailto:jco2009@att.net">jco2009@att.net</a>&gt;<br>
Subject: Re: [rules-users] Using KnowledgeAgent with Stateful session<br>To: Rules Users List &lt;<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br>Message-ID: &lt;<a href="mailto:7DCB55B5-8A89-481A-BCDC-77E4A2C5F0B6@att.net">7DCB55B5-8A89-481A-BCDC-77E4A2C5F0B6@att.net</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br><br>Greetings:<br><br>Nobody seems to be replying and I&#39;m not really &quot;qualified&quot; to reply<br>but I might be able to point you in the right direction.  Long, long<br>
ago in a land far, far away we did a really cool project using<br>Intelligent Agents and employed most of the technology from FIPA, The<br>Foundation for Intelligent Physical Agents; see <a href="http://www.fipa.org/">http://www.fipa.org/</a><br>
for more information.<br><br>SDG<br>James Owen<br>Founder October Rules Fest<br>Senior Consultant / Architect KBSC<br><a href="http://www.kbsc.com">http://www.kbsc.com</a><br><a href="http://www.OctoberRulesFest.org">http://www.OctoberRulesFest.org</a><br>
Twitter: OctRulesFest<br>Blogs:<br><a href="http://JavaRules.blogspot.com">http://JavaRules.blogspot.com</a> [Rulebased Systems Blog]<br><a href="http://ORF2009.blogspot.com">http://ORF2009.blogspot.com</a> [October Rules Fest Blog]<br>
<a href="http://exscg.blogspot.com/">http://exscg.blogspot.com/</a> [Expert Systems Consulting Group Blog]<br><br>&quot;If I have seen a little further it is by standing on the shoulders of<br>giants.&quot;<br>Sir Isaac Newton in a letter to Robert Hooke, 5 Feb 1676<br>
<br>Come to October Rules Fest and stand on the shoulders of the Giants of<br>the industry; if only for a week.<br><br><br><br>On Aug 26, 2009, at 11:34 AM, nestabur wrote:<br><br>&gt;<br>&gt;<br>&gt; Does anyone tried to use the knowledgeAgent with statefulSessions?<br>
&gt;<br>&gt; I&#39;ve tried to configure my rule engine obtaining unexpected behaviour.<br>&gt;<br>&gt; I configure my statefulSession as follows:<br>&gt;<br>&gt; wm = (ReteooStatefulSession) ((KnowledgeBaseImpl) kagent<br>
&gt;                               .getKnowledgeBase()).ruleBase.newStatefulSession(<br>&gt;                               (SessionConfiguration) sessionConf, env);<br>&gt; ksession = new StatefulKnowledgeSessionImpl(wm,<br>
&gt; kagent.getKnowledgeBase());<br>&gt;<br>&gt; And after updating the KnowledgeBase in the agent I update my<br>&gt; ksession:<br>&gt;<br>&gt; wm.setRuleBase((InternalRuleBase) ((KnowledgeBaseImpl) kagent<br>&gt;                                               .getKnowledgeBase()).ruleBase);<br>
&gt; ksession = new StatefulKnowledgeSessionImpl(wm,<br>&gt; kagent.getKnowledgeBase());<br>&gt;<br>&gt; Without using entry-points this approach works as expected, but<br>&gt; using them<br>&gt; it fails after the first update throwing the error:<br>
&gt;<br>&gt; Exception while processing message: java.lang.NullPointerException<br>&gt; java.lang.NullPointerException<br>&gt;       at<br>&gt; org<br>&gt; .drools<br>&gt; .reteoo<br>&gt; .ReteooFactHandleFactory.newFactHandle(ReteooFactHandleFactory.java:<br>
&gt; 54)<br>&gt;       at<br>&gt; org<br>&gt; .drools<br>&gt; .common<br>&gt; .AbstractFactHandleFactory<br>&gt; .newFactHandle(AbstractFactHandleFactory.java:79)<br>&gt;       at<br>&gt; org<br>&gt; .drools<br>&gt; .common<br>
&gt; .AbstractFactHandleFactory<br>&gt; .newFactHandle(AbstractFactHandleFactory.java:66)<br>&gt;       at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:109)<br>&gt;       at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:80)<br>
&gt;       at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:28)<br>&gt;<br>&gt; Browsing the drools core code I found the line that was throwing the<br>&gt; exception and tried to get the same result by implementing:<br>
&gt;<br>&gt; if (!((InternalRuleBase) ((KnowledgeBaseImpl)<br>&gt; ksession.getKnowledgeBase()).ruleBase)<br>&gt;                               .getTypeDeclaration(fact.getClass()) == null)<br>&gt;       <a href="http://log.info">log.info</a> (((InternalRuleBase) ((KnowledgeBaseImpl)<br>
&gt; ksession.getKnowledgeBase()).ruleBase)<br>&gt;<br>&gt; .getTypeDeclaration<br>&gt; (fact.getClass()).getTimestampExtractor().toString());<br>&gt;<br>&gt; after updating my ksession. The result was the same, again the same<br>
&gt; exception thrown but my logger wrote:<br>&gt; 18:01:50,232 INFO [ClassFieldExtractor class=MyPackage.MyFact<br>&gt; field=myTimestampField]<br>&gt;<br>&gt; So I dont know why the core is throwing that exception, is that<br>
&gt; implementation correct?, any ideas?<br>&gt;<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; Nestor<br>&gt;<br>&gt; --<br>&gt; View this message in context: <a href="http://www.nabble.com/Using-KnowledgeAgent-with-Stateful-session-tp25151447p25151447.html">http://www.nabble.com/Using-KnowledgeAgent-with-Stateful-session-tp25151447p25151447.html</a><br>
&gt; Sent from the drools - user mailing list archive at Nabble.com.<br>&gt;<br>&gt; _______________________________________________<br>&gt; rules-users mailing list<br>&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.jboss.org/pipermail/rules-users/attachments/20090826/f3daf7ee/attachment.html">http://lists.jboss.org/pipermail/rules-users/attachments/20090826/f3daf7ee/attachment.html</a><br>
<br>------------------------------<br><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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br><br>End of rules-users Digest, Vol 33, Issue 81<br>*******************************************<br></blockquote></div><br>