karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-3408) feature:repo-refresh doesn't work
Date Tue, 09 Dec 2014 14:18:13 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239439#comment-14239439
] 

Jean-Baptiste Onofré commented on KARAF-3408:
---------------------------------------------

The "null" issue comes from:

{code}
java.lang.UnsupportedOperationException
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.refreshRepository(FeaturesServiceImpl.java:409)
        at org.apache.karaf.features.command.RepoRefreshCommand.doExecute(RepoRefreshCommand.java:61)
        at org.apache.karaf.features.command.FeaturesCommandSupport.execute(FeaturesCommandSupport.java:33)
        at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:72)
        at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:61)
        at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:81)
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:179)
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:116)
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
        at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:266)
        at java.lang.Thread.run(Thread.java:745)
{code}

> feature:repo-refresh doesn't work
> ---------------------------------
>
>                 Key: KARAF-3408
>                 URL: https://issues.apache.org/jira/browse/KARAF-3408
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.0.0.M1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.0
>
>
> First, the feature:repo-refresh was not available at all due to a mistake in the service
declaration.
> Second, the feature:repo-refresh fails, even with a valid URI:
> {code}
> karaf@root()> feature:repo-refresh mvn:org.ops4j.pax.cdi/pax-cdi-features/0.9.0/xml/features
> Refreshing feature url mvn:org.ops4j.pax.cdi/pax-cdi-features/0.9.0/xml/features
> Error refreshing mvn:org.ops4j.pax.cdi/pax-cdi-features/0.9.0/xml/features: null
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message