Which version of Karaf are you using? I guess it should be a aries related issue instead of camel one. But it could be helpful if you can past the NPE stack trace out.
-- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Tuesday, December 11, 2012 at 2:37 AM, SpinWin wrote: > Hello, > > I tried to do the following configuration: > <cm:property-placeholder persistant-id="fr.spinwin.test" > update-strategy="reload"> > <cm:default-properties> > <cm:property name="pathIn" value="file:/home/spinwin/input"/> > <cm:property name="pathOut" value="file:/home/spinwin/input/done"/> > </cm:default-properties> > </cm:property-placeholder> > > <bean id="testNormalisation" > class="fr.spinwin.test.route.TestNormalisation"> > <property name="aPathIn" value="${pathIn}"/> > <property name="aPathOut" value="${pathOut}"/> > </bean> > > <camelContext id="blueprintCamelContext" trac="true" > xmlns="http://camel.apache.org/schema/blueprint"> > <routeBuilder ref="testNormalisation"/> > </camelContext> > > > Everything is ok when I install my bundle in Karaf. > When I start / stop ... no problem. > > But when I refresh / update ... I eat a nasty NullPointerException in one of > the package org.apache.aries.blueprint. > > If someone could have an idea ... it would help me a lot > > Thank you very much. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/property-placeholder-OSGI-tp5723850.html > Sent from the Camel Development mailing list archive at Nabble.com > (http://Nabble.com).