Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-08-26 Thread rsteppac
Mario, have you found a way to work around this issue? I have the same problem with Karaf 4.0.1 and a Camel 2.15.2 application using the camel-jetty component. Thanks! Ralf -- View this message in context: http://karaf.922171.n3.nabble.com/Nullpointer-Exception-in-jetty-ContextHandler-on-4-

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-08-26 Thread Achim Nierbeck
Hi, First of all, it's very unfortunate, that Mario didn't register himself at the users mailinglist. Nabbles is still only an extra on top of the mailinglist. That's why he never got an answer to his question, cause non of us has seen it in the past. Now that Karaf 4.0.1 is released I wonder if

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-08-27 Thread rsteppac
Achim, thanks for your reply. I am using Camel 2.15.2 and Karaf 4.0.1. The error I am receiving is the same NPE as reported by Mario. This is the feature file I am trying to deploy: Webservice API for health professional related use cases http http-whiteboard

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-08-27 Thread Achim Nierbeck
Hi Ralf, I'm not so sure about that spring-ws servlet. Cause usually for Spring to work properly in OSGi you also need Spring-DM. There are two samples available on how to use Spring with Pax-Web. One needs Spring-DM as it uses other OSGi means to import dependencies [1]. The other one embeds all

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-08-27 Thread rsteppac
Achim, I think you forgot to provide the links to the examples you are describing. Spring WS indeed requires a Spring context for its configuration. You can instantiate the MessageDispatcherServlet in the blueprint context, but you have to pass it the location of a Spring context file so it can in

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-08-28 Thread Achim Nierbeck
Hi, sorry for the missing links :-) [1] - https://github.com/ops4j/org.ops4j.pax.web/blob/master/samples/war-spring-osgi/src/main/webapp/WEB-INF/web.xml#L12-L15 [2] - https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples/war-spring regarding the scenario, could you provide a stripped dow

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-08-30 Thread rsteppac
Thanks! I will try to put a sample project together this week. Ralf -- View this message in context: http://karaf.922171.n3.nabble.com/Nullpointer-Exception-in-jetty-ContextHandler-on-4-0-0-M2-and-M3-tp4041050p4042155.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-09-15 Thread rsteppac
Hello Achim, at last: https://github.com/rsteppac/karaf4_jetty9_npe_showcase This is a "minimal" project to reproduce the NPE in Jetty. Let me know if you have any issues with it. Thanks! Ralf -- View this message in context: http://karaf.922171.n3.nabble.com/Nullpointer-Exception-in-jetty-

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-09-15 Thread Achim Nierbeck
I'll take a look at it, but that requires some real twists in my brain ... instantiate a Spring Context via a bean in blueprint.xml and try to use it as a context initializer for a specialized spring bean registered as a servlet ... now that's big shit ... but right away without further testing ju

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-10-04 Thread Achim Nierbeck
Yeah ... I finally had some time to look at this. It's been an easy fix See PAXWEB-892 regards, Achim 2015-09-15 11:51 GMT+02:00 rsteppac : > Hello Achim, > > at last: https://github.com/rsteppac/karaf4_jetty9_npe_showcase > > This is a "minimal" project to reproduce the NPE in Jetty. Let me k

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-10-07 Thread rsteppac
Thanks a bunch! Is the fix going to be part of the Karaf 4.0.2 release? Ralf -- View this message in context: http://karaf.922171.n3.nabble.com/Nullpointer-Exception-in-jetty-ContextHandler-on-4-0-0-M2-and-M3-tp4041050p4042924.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-10-07 Thread Achim Nierbeck
Hi, yeah I just need to make sure I'll do a pax-web release beforehand :D regards, Achim 2015-10-07 11:17 GMT+02:00 rsteppac : > Thanks a bunch! Is the fix going to be part of the Karaf 4.0.2 release? > > Ralf > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Nullp

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-11-06 Thread rsteppac
Hi Achim, I can confirm that Karaf 4.0.2 and the bundled pax-web resolved the issue for me. Thanks! Ralf -- View this message in context: http://karaf.922171.n3.nabble.com/Nullpointer-Exception-in-jetty-ContextHandler-on-4-0-0-M2-and-M3-tp4041050p4043316.html Sent from the Karaf - User maili

Re: Nullpointer Exception in jetty ContextHandler on 4.0.0.M2 and M3

2015-11-06 Thread Achim Nierbeck
great, thanks for the feedback :) 2015-11-06 10:45 GMT+01:00 rsteppac : > Hi Achim, > > I can confirm that Karaf 4.0.2 and the bundled pax-web resolved the issue > for me. > > > Thanks! > Ralf > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Nullpointer-Exception-in