[ https://issues.apache.org/jira/browse/KARAF-3582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved KARAF-3582. --------------------------------- Resolution: Fixed Fix Version/s: 4.0.0.M3 commit fix for http://git-wip-us.apache.org/repos/asf/karaf/commit/8702946d for master > command extension: if one class failed inspection is stopped > ------------------------------------------------------------ > > Key: KARAF-3582 > URL: https://issues.apache.org/jira/browse/KARAF-3582 > Project: Karaf > Issue Type: Bug > Components: karaf-shell > Affects Versions: 4.0.0.M2 > Reporter: Markus Rathgeb > Assignee: Freeman Fang > Fix For: 4.0.0.M3 > > > Using a bundle with classes that could not be processed (e.g. a class could > not be inspected cuased by a NoClassDefFound exception), will result in not > loading other classes with command extensions. > We should skip classes that thrown an error, but proceed the other ones. > For example is a DS is optional (using optional requirements) and that one > could not be loaded, we should be able to use command extensions that could > be loaded. > Two possible fixes: > - handle ClassNotFoundException and NoClassDefFoundError only: > https://github.com/maggu2810/karaf/commit/c95b90f2d1a8b09b2f3e048943bd93ea0e7b2077 > - catch all exception for the current class: > https://github.com/maggu2810/karaf/commit/4de92e86316e577af48b8ebcfd1ac8fb8195a04a -- This message was sent by Atlassian JIRA (v6.3.4#6332)