Hi ServiceMix/Karaf Users, I posted following issue in camel-users but was referred to servicemix/karaf instead. Any idea ?
-------------------------------------------- Original mail: Hi, with our latest upgrade from Camel 2.12.4 to 2.13.2 (Apache ServiceMix 5.1.1 to 5.1.2) the blueprint tests will have exception output of the felix-fileinstall DirectoryWatcher with the following message: In main loop, we have serious trouble: java.lang.NullPointerException java.lang.NullPointerException at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303) This means in mass tests the test run will abort with HeapSpace error. The workaround is to add "(!((Bundle-SymbolicName=org.apache.felix.fileinstall))" to the 'getBundleFilter method override. I see that camel-test-blueprint added dependency to felix fileinstall between the services. Do you have an idea what fileinstall is missing for a default config or similar to prevent it from running in circles ? Alternatively could it be disabled by default in case no fileinstall config is present? Best Regards, Michael ------------------------------------------- Thanks and Best Regards, Michael ---------- Forwarded message ---------- From: Claus Ibsen <[email protected]> Date: 2014-09-30 13:33 GMT+02:00 Subject: Re: CamelBlueprintTestSupport looping NPE with FelixFileinstall To: "[email protected]" <[email protected]> Hi I think this is a bug in Karaf / Felix. You can ask / search the Karaf community about that error message. On Tue, Sep 30, 2014 at 10:10 AM, Michael Täschner <[email protected]> wrote: > Hi, > > with our latest upgrade from Camel 2.12.4 to 2.13.2 (Apache ServiceMix > 5.1.1 to 5.1.2) the blueprint tests will have exception output of the > felixs fileinstall DirectoryWatcher with the following message: > > In main loop, we have serious trouble: java.lang.NullPointerException > java.lang.NullPointerException > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303) > > This means in mass tests the test run will abort with HeapSpace error. The > workaround is to add > "(!((Bundle-SymbolicName=org.apache.felix.fileinstall))" to the > 'getBundleFilter method override. > > I see that camel-test-blueprint added dependency to felix fileinstall > between the services. Do you have an idea what fileinstall is missing for a > default config or similar to prevent it from running in circles ? > Alternatively could it be disabled by default in case no fileinstall config > is present? > > Best Regards, > Michael -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
