Indeed. The NPE is caused by the PackageBuilder not having a ProcessBuilder. It tries to create one, but this fails silently. <br><br>You need this class <br>org.jbpm.process.builder.ProcessBuilderFactoryServiceImpl<br><br>
-W<br><br><div class="gmail_quote">On 6 September 2011 12:55, James <span dir="ltr">&lt;<a href="mailto:cyu021@gmail.com">cyu021@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am sure that I have &quot;basicRule.drl&quot; and &quot;basicFlow.rf&quot; in classpath as they<br>
are located in &quot;WEB-INF\classes&quot;<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-encounter-NullPointerException-when-adding-ruleflow-tp3312967p3313177.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-encounter-NullPointerException-when-adding-ruleflow-tp3312967p3313177.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>
</font></blockquote></div><br>