[rules-users] NullPointerException with kie-spring 6.0.1 and Spring 4.0

vinodkiran vinodkiran at usa.net
Sun Jan 26 12:47:06 EST 2014


Andrew,

1. The NPE happens when you execute a spring-boot project via a jar (e.g:
java -jar target/kie-spring-boot-0.1.0.jar)

If you execute the same project using 'mvn exec:java' the NPE is not seen
and we are able to move forward.

2. However, Spring Boot/Spring 4.0 seems to be creating some beans with no
names. This causes a NPE with kie-spring in a different location. I have
fixed this and submitted a PR for the changes. This might be available in
the next release. Try running this example with the latest snapshot in a day
or two.

I have uploaded my code to to github
(https://github.com/vinodkiran/kie-spring-boot)

--Vinod

PS: the reported NPE seems to be related to
https://github.com/spring-projects/spring-boot/pull/41





--
View this message in context: http://drools.46999.n3.nabble.com/rules-users-NullPointerException-with-kie-spring-6-0-1-and-Spring-4-0-tp4027854p4027859.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list