<br><font size=2 face="Trebuchet MS">Thanks Mark for answering my query.</font>
<br>
<br><font size=2 face="Trebuchet MS">Now I have set all the jars file in
the classpath, but still m getting the same exception.</font>
<br><font size=2 face="Trebuchet MS">The exception is caused by : Null
pointer exception. </font>
<br><font size=2 face="Trebuchet MS">I am not able to understand why it
is giving me this exception, while in the mailing list I didn't found anybody
having this</font>
<br><font size=2 face="Trebuchet MS">problem.</font>
<br><font size=2 face="Trebuchet MS"> </font>
<br><font size=2 face="Trebuchet MS">This is my code snippet :</font>
<br>
<br><font size=2 face="Courier New"> KnowledgeBuilderConfiguration
config = KnowledgeBuilderFactory.<i>newKnowledgeBuilderConfiguration</i>();
</font>
<br><font size=2 face="Courier New"> config.setProperty(</font><font size=2 color=#4200ff face="Courier New">"drools.dialect.java.compiler"</font><font size=2 face="Courier New">,
</font><font size=2 color=#4200ff face="Courier New">"ECLIPSE"</font><font size=2 face="Courier New">);
</font>
<br><font size=2 face="Courier New"> KnowledgeBuilder kbuilder =KnowledgeBuilderFactory.<i>newKnowledgeBuilder</i>(
config ); </font>
<br>
<br><font size=2 face="Courier New"> </font><font size=2 color=#3f8080 face="Courier New">//KnowledgeBuilder
kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();</font>
<br><font size=2 face="Courier New"> kbuilder.add(ResourceFactory.<i>newClassPathResource</i>(</font><font size=2 color=#4200ff face="Courier New">"shopingdiscount.drl"</font><font size=2 face="Courier New">),
ResourceType.</font><font size=2 color=#0021bf face="Courier New"><i>DRL</i></font><font size=2 face="Courier New">);</font>
<br>
<br><font size=2 face="Trebuchet MS">Am I missing anything that is to initialized
, so that I can get through this Null Pointer Exception.</font>
<br>
<br><font size=2 face="Trebuchet MS">Please help me to through of this
situation. I am stuck in this.</font>
<br>
<br><font size=2 face="Trebuchet MS">Thanks & Regards<br>
Pardeep Ruhil<br>
</font>
<BR>
______________________________________________________________________<BR>