Open hsynkrtl opened 6 years ago
Hi @hsynkrtl thanks for sharing the problem. Which version (or snapshot) did you use for testing? We fixed one issue with listResources, which might be in same area. See https://github.com/eclipse/concierge/pull/55/files
Can you share your environment (JAR files, xargs file), or break it down to a smaller test case?
Hi Jochen,
i found that issue in the latest download release and verified it with a local build of the master branch.
I also build a Test bundle which trys to load a not existing resource with the classloaders gerResource method, but the error didn't occur in this case.
I also tested the gemini and shaded bundle where the error occured with apache felix, but felix started the bundles without any error.
Sorry i can't deliver more detailed information.
Hi Hüseyin,
I have an idea where the problem is coming from and just committed an attempted fix. Could you please test it and let me know if it works?
Thanks,
Jan.
While making the first steps with concierge, i stepped over this issue.
My bundles are in start order
The shaded jar is a lot of third party stuff shaded together with a valid osgi manifest auto generated with bnd. It includes also the springframework. Where the "SpringProperties" try to access an resource out of the class path. But that resource didn't exist. Which leads to the following error.
I just added an empty matching resource to the classpath and the problem is gone away.
I would love to provide a patch, but as i mentioned these are my first steps, so i can't actually. Hope someone can solve that issue.