Does the NPE occur when all modules are open in an IDE or is at runtime; outside of an IDE?

I had a similar problem when all modules were open inside my IDE.

At the moment the only solution I have is to build the Drools module separately and keep it as a JAR dependency for my other modules.

I believe this is an issue with kie resolving resources correctly inside an IDE.

Sent on the move

On 3 Feb 2014 22:32, "kashili" <kashili@yahoo.com> wrote:
...as I earlier said, I have fairly large code base(maven/eclipse) and one of
the packages that I am going to create is a drools project underneath it.
main problem I am having is null pointer exception because ksession is not
found. I believe this has to do with pom file setup and dependencies (etc).
I am sure there is some where in git/web , a large maven project with
one/few of the packages/modules as drools...such project would help my cause
thank you



--
View this message in context: http://drools.46999.n3.nabble.com/Null-pointer-exception-when-adding-drools-to-existing-project-tp4027944p4027973.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users