You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jamie goodyear (JIRA)" <ji...@apache.org> on 2011/07/07 11:47:17 UTC

[jira] [Closed] (KARAF-83) UnsupportedOperationException while installing features

     [ https://issues.apache.org/jira/browse/KARAF-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-83.
-------------------------------


> UnsupportedOperationException while installing features
> -------------------------------------------------------
>
>                 Key: KARAF-83
>                 URL: https://issues.apache.org/jira/browse/KARAF-83
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Gert Vanthienen
>            Assignee: Guillaume Nodet
>             Fix For: 1.6.x
>
>         Attachments: FELIX-2419.diff
>
>
> I was trying to install a few features on the Karaf 1.6.2 release candidate build and encountered UnsupportedOperationException
> Here are the commands I used
> {noformat}
> features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.2.0/xml/features
> features:install camel-scala
> features:install camel
> {noformat}
> This is the resulting exception's stack trace
> {noformat}
> 10:46:07,342 | INFO  | l Console Thread | Console                          | araf.shell.console.jline.Console  198 | Exception caught while executing command
> java.lang.UnsupportedOperationException
> 	at java.util.AbstractList.remove(AbstractList.java:144)[:1.6.0_20]
> 	at java.util.AbstractList$Itr.remove(AbstractList.java:360)[:1.6.0_20]
> 	at org.apache.felix.karaf.features.internal.FeaturesServiceImpl.findBundlesWithOptionalPackagesToRefresh(FeaturesServiceImpl.java:445)[20:org.apache.felix.karaf.features.core:1.6.2]
> 	at org.apache.felix.karaf.features.internal.FeaturesServiceImpl.findBundlesToRefresh(FeaturesServiceImpl.java:389)[20:org.apache.felix.karaf.features.core:1.6.2]
> 	at org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:252)[20:org.apache.felix.karaf.features.core:1.6.2]
> 	at org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:222)[20:org.apache.felix.karaf.features.core:1.6.2]
> 	at org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:218)[20:org.apache.felix.karaf.features.core:1.6.2]
> 	at org.apache.felix.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:51)[27:org.apache.felix.karaf.features.command:1.6.2]
> 	at org.apache.felix.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:39)[27:org.apache.felix.karaf.features.command:1.6.2]
> 	at org.apache.felix.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)[22:org.apache.felix.karaf.shell.console:1.6.2]
> 	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[22:org.apache.felix.karaf.shell.console:1.6.2]
> 	at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)[17:org.apache.felix.gogo.runtime:0.4.0]
> 	at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)[17:org.apache.felix.gogo.runtime:0.4.0]
> 	at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)[17:org.apache.felix.gogo.runtime:0.4.0]
> 	at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)[17:org.apache.felix.gogo.runtime:0.4.0]
> 	at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)[17:org.apache.felix.gogo.runtime:0.4.0]
> 	at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)[17:org.apache.felix.gogo.runtime:0.4.0]
> 	at org.apache.felix.karaf.shell.console.jline.Console.run(Console.java:180)[22:org.apache.felix.karaf.shell.console:1.6.2]
> 	at java.lang.Thread.run(Thread.java:637)[:1.6.0_20]
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira