[rules-users] Problem when creating KieModuleModel

Demian Calcaprina calcacuervo at gmail.com
Wed Jan 15 14:35:03 EST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140115/62ceb576/attachment.html 


More information about the rules-users mailing list