[rules-users] Eval0Invoker : java.lang.NullPointerException

Michael Anstis michael.anstis at gmail.com
Thu Dec 15 10:10:18 EST 2011


What does the full trace show?

getBuilder().toString() should dump the cause for the failure to build the
package.

Or, iterate the collection calling the getMessage() on each error and see
what it says.

On 15 December 2011 14:55, Venkat <ven12344 at yahoo.com> wrote:

> Hi Manstis, I am now getting "RuntimeException" in this code
>
> if (builder.hasErrors()) {
>                      throw new RuntimeException(builder.getErrors()
>                          .toString());
>                    }
>
> in my "createKnowledgeBase" method.
>
> Can you please let me know what is wrong in this. I have tried what you
> have
> said.
>
> Thanks,
> Venkat.
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Eval0Invoker-java-lang-NullPointerException-tp3586222p3588808.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111215/a82d91f9/attachment.html 


More information about the rules-users mailing list