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

Andrew Berman rexxe98 at gmail.com
Mon Jan 27 12:35:48 EST 2014


Hi Vinod,

Thanks for looking into this.  Can you tell me what you changed to get this
to work?  Do you have a patch?

Thanks!


On Sun, Jan 26, 2014 at 9:47 AM, vinodkiran <vinodkiran at usa.net> wrote:

> 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.
> _______________________________________________
> 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/20140127/88aefe67/attachment.html 


More information about the rules-users mailing list