Actually, this kind of error isn&#39;t discovered by the Drools DRL compiler; it would be flagged by the Java compiler. (You can verify: if you make the same error in Java code, you&#39;ll get that error message.)<br><br>But if you are using dialect &quot;mvel&quot; (are you?), this is not flagged as an error, and it would silently convert the Double to a String, and set fid31003 to &quot;497.0&quot;. Is this what keeps your other rules from firing, i.e., the excess &quot;.0&quot;?<br>
<br>I suggest that you do not use &quot;mvel&quot; unless there is a compelling reason (in other rules). Even then, you might restrict use &quot;mvel&quot; to those rules where it is really necessary.<br><br>-W<br><br><br>
<div class="gmail_quote">2010/5/4 Puneet duggal <span dir="ltr">&lt;<a href="mailto:duggalpunit@gmail.com">duggalpunit@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<p>drlFile = BusinessRuleUtils.createCombinedDrlDocument(id,map.get(id));<br>     PackageBuilder PACKAGE_BUILDER = new PackageBuilder(BUILDER_CONFIGURATION);<br>     org.drools.rule.Package pkg = null;<br>     PACKAGE_BUILDER<br>

       .addPackageFromDrl(new StringReader(drlFile));<br>     if (PACKAGE_BUILDER.hasErrors()) {<br>      DSM_LOGGER<br>        .logFatal(&quot;Error has occured while building package. For Parameter ID : &quot;<br>          + id<br>

          + &quot; Error details are : &quot;<br>          + PACKAGE_BUILDER.getErrors()<br>            .toString());<br>     } else {<br>      pkg = PACKAGE_BUILDER.getPackage();<br>      RULEBASE.addPackage(pkg);<br>      DSM_LOGGER<br>

        .logInfo(&quot;Package created for Component Prmr ID : &quot;<br>          + id);<br>     }</p>
<p> </p>
<div>This is the code which i am using  at it is not giving</div>
<div>any error  at the time creating  the drl <a href="http://file.it" target="_blank">file.it</a> is also </div>
<div>not giving any error at the time of calling of execute()</div>
<div>method , but rules are not executed .</div><div><div></div><div class="h5"><br><br>
<div><span class="gmail_quote">On 5/4/10, <b class="gmail_sendername">Wolfgang Laun</b> &lt;<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Anatoly,<br><br>please note that I wrote &quot;please&quot; to Puneet, which is usually not considered<br>

as being &quot;impolite&quot;. Also, kindly note that I asked for more information, which,<br>in my book, is not &quot;inconsiderate&quot;, as simply deleting Puneet&#39;s post might have been.<br><br>I do resent being called a &quot;hater&quot;, and I&#39;ll let the community judge whether<br>

my (admittedly ironic) kidding is &quot;hateful&quot;. Somehow, however, posters have to<br>be admonished to state their problem more detailed, without people on the<br>list having to waste their time playing guessing games or writing replies begging<br>

for more information. <br><span><br>-W<br></span><br>PS: A you can see now, it was not a question of &quot;debugging&quot;, and so you have wasted<br>your time on a &quot;simple question&quot;. :-) 
<div><span><br><br><br>
<div class="gmail_quote">On Tue, May 4, 2010 at 5:10 AM, tolitius <span dir="ltr">&lt;<a href="mailto:webakaunt@gmail.com" target="_blank">webakaunt@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>@Wolfgang,<br><br>   No need to be a hater Wolfgang, the question is simple. I agree,<br>

examples would be helpful, but that is NOT how you grow a friendly<br>community.<br><br>   Community is the biggest problem JBoss has. Why is it so inhumanly<br>difficult to be polite and considerate?<br><br>/Anatoly<br>
<font color="#888888"><br>
--<br>View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Rules-doubt-tp774023p775029.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Rules-doubt-tp774023p775029.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank">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><br></font></blockquote></div><br>
</span></div><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank">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><br><br></blockquote></div><br>
</div></div><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><br>
<br></blockquote></div><br>