[rules-users] ImputDrl

fakhfakh ismail ismail_info2005 at yahoo.fr
Thu May 3 05:33:07 EDT 2007


Hello,
First sorry for my bad english,

I set all the class .java is in package hero.client.test
and the file .drl is in folser Drl
the call of file .drl 
InputStream in = DroolsTest.class.getResourceAsStream("Drl/Sample.drl");

but the problem is they didn't find the file .drl 
always an exception is affiched

Exception in thread "main" java.lang.NullPointerException
    at java.io.Reader.<init>(Reader.java:61)
    at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
    at org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(Unknown Source)
    at hero.client.test.DroolsTest.main(DroolsTest.java:34)
Please I need your help
Best regards
Ismail

             
---------------------------------
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070503/4807c06f/attachment.html 


More information about the rules-users mailing list