[rules-users] Problem when creating KieModuleModel

Demian Calcaprina calcacuervo at gmail.com
Wed Jan 15 15:30:02 EST 2014


Thanks Mark, very instructive.


On Wed, Jan 15, 2014 at 5:21 PM, Mark Proctor <mproctor at codehaus.org> wrote:

> http://bit.ly/1eKm7lC
>
> Mark
>
> On 15 Jan 2014, at 19:35, Demian Calcaprina <calcacuervo at gmail.com> wrote:
>
> Hi Guys!
>
> I am having a problem using drools 6 in my project. And I was able to
> reproduce it in one of the examples..
>
> I just got this example:
>
>
> https://github.com/droolsjbpm/drools/tree/master/drools-examples-api/kiemodulemodel-example
>
> built the 2 dependant projects, kiebase inclusion and namedkiesession.
>
> Then, run the org.drools.example.api.kiemodulemodel.KieModuleModelExample
> in my eclipse, and I get the following:
>
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> details.
> Exception in thread "main" java.lang.NullPointerException
> at
> org.drools.compiler.kie.builder.impl.KieBuilderImpl.generateKieModuleMetaInfo(KieBuilderImpl.java:222)
>  at
> org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:194)
> at
> org.drools.example.api.kiemodulemodel.KieModuleModelExample.go(KieModuleModelExample.java:39)
>  at
> org.drools.example.api.kiemodulemodel.KieModuleModelExample.main(KieModuleModelExample.java:63)
>
>
> Exactly the same happens when I do the same in my project.
>
> Any ideas?
>
> Thanks!
>
> Demian
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> _______________________________________________
> 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/20140115/1fc5f5c4/attachment.html 


More information about the rules-users mailing list