<div dir="ltr"><div><div>Hi Vinod,<br><br></div>Thanks for looking into this.  Can you tell me what you changed to get this to work?  Do you have a patch?<br><br>Thanks!<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Sun, Jan 26, 2014 at 9:47 AM, vinodkiran <span dir="ltr">&lt;<a href="mailto:vinodkiran@usa.net" target="_blank">vinodkiran@usa.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Andrew,<br>
<br>
1. The NPE happens when you execute a spring-boot project via a jar (e.g:<br>
java -jar target/kie-spring-boot-0.1.0.jar)<br>
<br>
If you execute the same project using &#39;mvn exec:java&#39; the NPE is not seen<br>
and we are able to move forward.<br>
<br>
2. However, Spring Boot/Spring 4.0 seems to be creating some beans with no<br>
names. This causes a NPE with kie-spring in a different location. I have<br>
fixed this and submitted a PR for the changes. This might be available in<br>
the next release. Try running this example with the latest snapshot in a day<br>
or two.<br>
<br>
I have uploaded my code to to github<br>
(<a href="https://github.com/vinodkiran/kie-spring-boot" target="_blank">https://github.com/vinodkiran/kie-spring-boot</a>)<br>
<br>
--Vinod<br>
<br>
PS: the reported NPE seems to be related to<br>
<a href="https://github.com/spring-projects/spring-boot/pull/41" target="_blank">https://github.com/spring-projects/spring-boot/pull/41</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-NullPointerException-with-kie-spring-6-0-1-and-Spring-4-0-tp4027854p4027859.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-NullPointerException-with-kie-spring-6-0-1-and-Spring-4-0-tp4027854p4027859.html</a><br>


<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div>