<br> You are using a wrong path to your resource. This is a standard java problem. It is not related to Drools.<br><br> []s<br> Edson<br><br><div><span class="gmail_quote">2007/12/18, Rahul Upadhyay <<a href="mailto:email2upadhyay@gmail.com">
email2upadhyay@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Hi</div>
<div> </div>
<div> I am made an application in struts,write some rules in drl file. deployed it with BRMS. now I am trying it with rule agent with rule.properties file or using drl file directly by setting path in classpath. but always find following error
</div>
<div> </div>
<div>11:56:31,696 ERROR [STDERR] java.lang.NullPointerException<br>11:56:31,696 ERROR [STDERR] at java.io.Reader.<init>(Reader.java:61)<br>11:56:31,696 ERROR [STDERR] at java.io.InputStreamReader.<init>(
InputStreamReader.java:55)<br>11:56:31,696 ERROR [STDERR] at com.cstregistration.DroolsTest.readRule(DroolsTest.java:42)<br>11:56:31,712 ERROR [STDERR] at com.cstregistration.DroolsTest.callrule(DroolsTest.java:21)
<br>11:56:31,712 ERROR [STDERR] at com.cstregistration.A1RegistrationAction.execute(A1RegistrationAction.java:61)<br>11:56:31,712 ERROR [STDERR] at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.jav
<br>a:58)</div>
<div> </div>
<div>Please tell me where is problem, Why properties file or drl file is not found ?</div>
<div> </div>
<div>Thanks in advance</div><span class="sg">
<div> </div>
<div>Rahul upadhyay</div>
<div> </div>
</span><br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" 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><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com
</a>