"features/list -i" returns "ERROR CommandLineExecutionFailed: 
org.apache.geronimo.gshell.command.CommandException: 
java.lang.ArrayStoreException: 
org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl"
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: FELIX-1125
                 URL: https://issues.apache.org/jira/browse/FELIX-1125
             Project: Felix
          Issue Type: Bug
          Components: Karaf
    Affects Versions: karaf-1.0.0
         Environment: java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
            Reporter: Tim Moloney


The bug can be replicated as follows:

bash> tar zxf apache-servicemix-kernel-1.1.0.tar.gz
bash> cd apache-servicemix-kernel-1.1.0
bash> cat >webconsole-feature.xml<<EOF
> <features>
>   <feature name="webconsole" version="0.1.0-SNAPSHOT">
>     <bundle>mvn:org.mortbay.jetty/jetty-util/6.1.11/jar</bundle>
>     <bundle>mvn:org.mortbay.jetty/jetty-sslengine/6.1.11/jar</bundle>
>     <bundle>mvn:org.mortbay.jetty/jetty/6.1.11/jar</bundle>
>     
> <bundle>mvn:org.apache.felix/org.apache.felix.http.jetty/1.0.0/jar</bundle>
>     <config name="org.apache.felix.http">
>       org.osgi.service.http.port=8080
>     </config>
>     
> <bundle>mvn:org.apache.felix/org.apache.felix.webconsole/1.2.8/jar</bundle>
>     <config name="org.apache.felix.webconsole.internal.servlet.OsgiManager">
>       username=tester
>       password=testing
>     </config>
>   </feature>
> </features>
> EOF
bash> bin/servicemix
 ____                  _          __  __ _      
/ ___|  ___ _ ____   _(_) ___ ___|  \/  (_)_  __
\___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
 ___) |  __/ |   \ V /| | (_|  __/ |  | | |>  < 
|____/ \___|_|    \_/ |_|\___\___|_|  |_|_/_/\_\

 ServiceMix Kernel (1.1.0)

Type 'help' for more information.
-----------------------------------------------------------------------------------------------------------------------------------
s...@root:/> cp webconsole-feature.xml deploy
s...@root:/> features/list -i
ERROR CommandLineExecutionFailed: 
org.apache.geronimo.gshell.command.CommandException: 
java.lang.ArrayStoreException: 
org.apache.servicemix.kernel.gshell.features.internal.FeatureImpl
s...@root:/> log/display-exception 
s...@root:/> log/display
...
10:45:12,919 | INFO  | localShell       | CommandLineExecutorImpl          | 
om.shell.CommandLineExecutorImpl   64 | Executing (String): features/list -i
10:45:12,920 | INFO  | localShell       | CommandLineExecutorImpl          | 
om.shell.CommandLineExecutorImpl  104 | Executing (features/list): [-i]
10:46:19,302 | INFO  | localShell       | CommandLineExecutorImpl          | 
om.shell.CommandLineExecutorImpl   64 | Executing (String): 
log/display-exception
10:46:19,303 | INFO  | localShell       | CommandLineExecutorImpl          | 
om.shell.CommandLineExecutorImpl  104 | Executing (log/display-exception): []
10:46:25,709 | INFO  | localShell       | CommandLineExecutorImpl          | 
om.shell.CommandLineExecutorImpl   64 | Executing (String): log/display
10:46:25,711 | INFO  | localShell       | CommandLineExecutorImpl          | 
om.shell.CommandLineExecutorImpl  104 | Executing (log/display): []
s...@root:/> osgi/shutdown
s...@root:/> bash> 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to