<p dir="ltr">Does the NPE occur when all modules are open in an IDE or is at runtime; outside of an IDE? </p>
<p dir="ltr">I had a similar problem when all modules were open inside my IDE. </p>
<p dir="ltr">At the moment the only solution I have is to build the Drools module separately and keep it as a JAR dependency for my other modules.</p>
<p dir="ltr">I believe this is an issue with kie resolving resources correctly inside an IDE.</p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 3 Feb 2014 22:32, &quot;kashili&quot; &lt;<a href="mailto:kashili@yahoo.com">kashili@yahoo.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
...as I earlier said, I have fairly large code base(maven/eclipse) and one of<br>
the packages that I am going to create is a drools project underneath it.<br>
main problem I am having is null pointer exception because ksession is not<br>
found. I believe this has to do with pom file setup and dependencies (etc).<br>
I am sure there is some where in git/web , a large maven project with<br>
one/few of the packages/modules as drools...such project would help my cause<br>
thank you<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Null-pointer-exception-when-adding-drools-to-existing-project-tp4027944p4027973.html" target="_blank">http://drools.46999.n3.nabble.com/Null-pointer-exception-when-adding-drools-to-existing-project-tp4027944p4027973.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div>