<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span class=apple-style-span><font size=2 color=black
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:black'>Hi</span></font></span><span
class=apple-converted-space><font size=2 color=black face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:black'>&nbsp;</span></font></span><font
size=2 color=black face=Verdana><span style='font-size:10.0pt;font-family:Verdana;
color:black'><br>
<span class=apple-style-span>I am writing a</span><span
class=apple-converted-space>&nbsp;</span><span class=apple-style-span><b
style='background-image:initial;background-attachment:initial;background-origin: initial;
background-clip: initial;background-position:initial initial;background-repeat:
initial initial'><span style='background:#FFFF66;font-weight:bold'>drools</span></b></span><span
class=apple-converted-space>&nbsp;</span><span class=apple-style-span>based
app. I am getting this error when I create an instance of KnowledgeBuilder</span><span
class=apple-converted-space>&nbsp;</span><br>
<br>
<span class=apple-style-span>at line,</span><span class=apple-converted-space>&nbsp;</span><br>
<br>
<span class=apple-style-span>KnowledgeBuilder kbuilder =
KnowledgeBuilderFactory.newKnowledgeBuilder();</span><span
class=apple-converted-space>&nbsp;</span><br>
<br>
<br>
<span class=apple-style-span>Here is the error. Can anyone tell what does this
error mean ?</span><span class=apple-converted-space>&nbsp;</span><br>
<br>
<span class=apple-style-span>java.lang.NullPointerException: Parent</span><span
class=apple-converted-space>&nbsp;</span><span class=apple-style-span><b
style='background-image:initial;background-attachment:initial;background-origin: initial;
background-clip: initial;background-position:initial initial;background-repeat:
initial initial'><span style='background:#FFFF66;font-weight:bold'>ClassLoader</span></b></span><span
class=apple-converted-space>&nbsp;</span><span class=apple-style-span>may not
be null</span><span class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at java.lang.<b style='background-image:
initial;background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><span
style='background:#FFFF66;font-weight:bold'>ClassLoader</span></b>.&lt;init&gt;(<b
style='background-image:initial;background-attachment:initial;background-origin: initial;
background-clip: initial;background-position:initial initial;background-repeat:
initial initial'><span style='background:#FFFF66;font-weight:bold'>ClassLoader</span></b>.java:239)</span><span
class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at java.lang.<b style='background-image:
initial;background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><span
style='background:#FFFF66;font-weight:bold'>ClassLoader</span></b>.&lt;init&gt;(<b
style='background-image:initial;background-attachment:initial;background-origin: initial;
background-clip: initial;background-position:initial initial;background-repeat:
initial initial'><span style='background:#FFFF66;font-weight:bold'>ClassLoader</span></b>.java:226)</span><span
class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at org.<b style='background-image:
initial;background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><span
style='background:#FFFF66;font-weight:bold'>drools</span></b>.util.CompositeClassLoader.&lt;init&gt;(CompositeClassLoader.java:38)</span><span
class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at org.<b style='background-image:
initial;background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><span
style='background:#FFFF66;font-weight:bold'>drools</span></b>.util.<b
style='background-image:initial;background-attachment:initial;background-origin: initial;
background-clip: initial;background-position:initial initial;background-repeat:
initial initial'><span style='background:#FFFF66;font-weight:bold'>ClassLoaderUtil</span></b>.getClassLoader(<b
style='background-image:initial;background-attachment:initial;background-origin: initial;
background-clip: initial;background-position:initial initial;background-repeat:
initial initial'><span style='background:#FFFF66;font-weight:bold'>ClassLoaderUtil</span></b>.java:27)</span><span
class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at org.<b style='background-image:
initial;background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><span
style='background:#FFFF66;font-weight:bold'>drools</span></b>.compiler.PackageBuilderConfiguration.setClassLoader(PackageBuilderConfiguration.java:333)</span><span
class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at org.<b style='background-image:
initial;background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><span
style='background:#FFFF66;font-weight:bold'>drools</span></b>.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:165)</span><span
class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at org.<b style='background-image:
initial;background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><span
style='background:#FFFF66;font-weight:bold'>drools</span></b>.compiler.PackageBuilderConfiguration.&lt;init&gt;(PackageBuilderConfiguration.java:159)</span><span
class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at org.<b style='background-image:
initial;background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><span
style='background:#FFFF66;font-weight:bold'>drools</span></b>.compiler.PackageBuilder.&lt;init&gt;(PackageBuilder.java:210)</span><span
class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at org.<b style='background-image:
initial;background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><span
style='background:#FFFF66;font-weight:bold'>drools</span></b>.compiler.PackageBuilder.&lt;init&gt;(PackageBuilder.java:143)</span><span
class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at Org.<b style='background-image:
initial;background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><span
style='background:#FFFF66;font-weight:bold'>drools</span></b>.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryS</span><span
class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at org.<b style='background-image:
initial;background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><span
style='background:#FFFF66;font-weight:bold'>drools</span></b>.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:47)</span><span
class=apple-converted-space>&nbsp;</span><br>
<span class=apple-style-span>&nbsp; &nbsp;at
com.ts.DBconnector.readKnowledgeBase(DBconnector.java:125)</span><span
class=apple-converted-space>&nbsp;</span><o:p></o:p></span></span></span></font></p>

<p class=MsoNormal><span class=apple-converted-space><font size=2 color=black
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:p></span></font></span></p>

<p class=MsoNormal><span class=apple-converted-space><font size=2 color=black
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:black'>I
also tried adding this <o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=apple-converted-space><font size=2 color=black
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:p></span></font></span></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thread.<i><span style='font-style:italic'>currentThread</span></i>().setContextClassLoader(
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>this</span></font></b><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>.getClass().getClassLoader()
);</span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=apple-converted-space><font size=2 color=black
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:p></span></font></span></p>

<p class=MsoNormal><span class=apple-converted-space><font size=2 color=black
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:black'>But
am still getting the same error &#8230; please help !<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=apple-converted-space><font size=2 color=black
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:black'><o:p>&nbsp;</o:p></span></font></span></p>

<p class=MsoNormal><span class=apple-converted-space><font size=2 color=black
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:black'>-abhay</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

</div>

<br clear=all> This message contains information that may be privileged or confidential and is the property of the KPIT Cummins Infosystems Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Cummins Infosystems Ltd. does not accept any liability for virus infected mails.
</body>

</html>