<br><font size=2 face="Trebuchet MS">Hi,</font>
<br>
<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">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=2 face="Trebuchet MS">This is my code snippet :</font>
<br>
<br><font size=2 face="Courier New">&nbsp;KnowledgeBuilderConfiguration
config = &nbsp;KnowledgeBuilderFactory.<i>newKnowledgeBuilderConfiguration</i>();
</font>
<br><font size=2 face="Courier New">&nbsp;config.setProperty(</font><font size=2 color=#4200ff face="Courier New">&quot;drools.dialect.java.compiler&quot;</font><font size=2 face="Courier New">,
</font><font size=2 color=#4200ff face="Courier New">&quot;ECLIPSE&quot;</font><font size=2 face="Courier New">);
</font>
<br><font size=2 face="Courier New">&nbsp;KnowledgeBuilder kbuilder =KnowledgeBuilderFactory.<i>newKnowledgeBuilder</i>(
config ); </font>
<br>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; </font><font size=2 color=#3f8080 face="Courier New">//KnowledgeBuilder
kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; kbuilder.add(ResourceFactory.<i>newClassPathResource</i>(</font><font size=2 color=#4200ff face="Courier New">&quot;shopingdiscount.drl&quot;</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 &amp; Regards<br>
Pardeep Ruhil<br>
</font>

<BR>
______________________________________________________________________<BR>