Julien Malaise created KARAF-6020:
-------------------------------------
Summary: Command feature:info fails showing conditional
dependencies
Key: KARAF-6020
URL: https://issues.apache.org/jira/browse/KARAF-6020
Project: Karaf
Issue Type: Bug
Components: karaf
Affects Versions: 4.2.1
Environment: Linux (CentOS) and Windows
Reporter: Julien Malaise
The command feature:info with option -t (to show a tree of dependencies) fails
when dependencies are conditional.
I get this message : Error executing command: Index: 0, Size: 0
And thes logs :
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:653) [?:?]
at java.util.ArrayList.get(ArrayList.java:429) [?:?]
at java.util.Collections$UnmodifiableList.get(Collections.java:1309) [?:?]
at
org.apache.karaf.features.command.InfoFeatureCommand.displayFeatureTree(InfoFeatureCommand.java:252)
In InfoFeatureCommand.java, at line 252,
{color:#d04437}dependencies{color}.get(i) should be replaced by
{color:#14892c}conditionDependencies{color}.get(i)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)