[rules-users] Could not load property

Edson Tirelli tirelli at post.com
Tue Dec 18 06:02:35 EST 2007


   You are using a wrong path to your resource. This is a standard java
problem. It is not related to Drools.

   []s
   Edson

2007/12/18, Rahul Upadhyay <email2upadhyay at gmail.com>:
>
> Hi
>
>  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
>
> 11:56:31,696 ERROR [STDERR] java.lang.NullPointerException
> 11:56:31,696 ERROR [STDERR]     at java.io.Reader.<init>(Reader.java:61)
> 11:56:31,696 ERROR [STDERR]     at java.io.InputStreamReader.<init>(
> InputStreamReader.java:55)
> 11:56:31,696 ERROR [STDERR]     at com.cstregistration.DroolsTest.readRule
> (DroolsTest.java:42)
> 11:56:31,712 ERROR [STDERR]     at com.cstregistration.DroolsTest.callrule
> (DroolsTest.java:21)
> 11:56:31,712 ERROR [STDERR]     at
> com.cstregistration.A1RegistrationAction.execute(A1RegistrationAction.java
> :61)
> 11:56:31,712 ERROR [STDERR]     at
> org.apache.struts.chain.commands.servlet.ExecuteAction.execute(
> ExecuteAction.jav
> a:58)
>
> Please tell me where is problem, Why   properties file or  drl file is not
> found ?
>
> Thanks in advance
>
> Rahul upadhyay
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
  Edson Tirelli
  JBoss Drools Core Development
  Office: +55 11 3529-6000
  Mobile: +55 11 9287-5646
  JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071218/65f0f828/attachment.html 


More information about the rules-users mailing list