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 <[email protected]> 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
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to