What does the full trace show?<br><br>getBuilder().toString() should dump the cause for the failure to build the package.<br><br>Or, iterate the collection calling the getMessage() on each error and see what it says.<br><br>
<div class="gmail_quote">On 15 December 2011 14:55, Venkat <span dir="ltr">&lt;<a href="mailto:ven12344@yahoo.com">ven12344@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Manstis, I am now getting &quot;RuntimeException&quot; in this code<br>
<br>
if (builder.hasErrors()) {<br>
                      throw new RuntimeException(builder.getErrors()<br>
                          .toString());<br>
                    }<br>
<br>
in my &quot;createKnowledgeBase&quot; method.<br>
<br>
Can you please let me know what is wrong in this. I have tried what you have<br>
said.<br>
<br>
Thanks,<br>
<span class="HOEnZb"><font color="#888888">Venkat.<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Eval0Invoker-java-lang-NullPointerException-tp3586222p3588808.html" target="_blank">http://drools.46999.n3.nabble.com/Eval0Invoker-java-lang-NullPointerException-tp3586222p3588808.html</a><br>

</font></span><div class="HOEnZb"><div class="h5">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>
</div></div></blockquote></div><br>