Very strange behaviour.
I just stopped servicemix and restarted it (without clearing the bundles
cache) and .... booom, the component seems to work !
I think my issue is more related to the Karaf container than to Camel. The
fact is at the beginning my component had some missing dependencies, that I
fixed. I kept updating the bundle. I even uninstalled/reinstalled it... but
whithout restarting ServiceMix. Looking at the source where the NPE occurs,
I see this:
82 BundleContext bundleContext =
Activator.getBundle().getBundleContext();
83
84 URL url;
85 for (Bundle bundle : bundleContext.getBundles()) {
So it seems that Karaf somehow did start the bundle with a NULL bundle
context. Very strange.....
However now it works. Any idea where I could report my bug at best ?
--
View this message in context:
http://www.nabble.com/Error-using-camel-file-with-windows-tp25475829p25486384.html
Sent from the Camel - Users mailing list archive at Nabble.com.