You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2019/11/24 15:25:00 UTC

[jira] [Resolved] (KARAF-6527) Cave Features Gateway is not able to deal with features repositories

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

Jean-Baptiste Onofré resolved KARAF-6527.
-----------------------------------------
    Resolution: Fixed

> Cave Features Gateway is not able to deal with features repositories
> --------------------------------------------------------------------
>
>                 Key: KARAF-6527
>                 URL: https://issues.apache.org/jira/browse/KARAF-6527
>             Project: Karaf
>          Issue Type: Bug
>          Components: cave
>    Affects Versions: cave-4.2.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: cave-4.2.1
>
>
> When adding a features repository with {{cave:features-gateway-register}} command, a {{NullPointerException}} is thrown:
> {code:java}
> Caused by: java.lang.NullPointerException
>         at javax.xml.bind.ContextFinder.handleClassCastException(ContextFinder.java:114) ~[?:1.8.0_172]
>         at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:254) ~[?:1.8.0_172]
>         at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:240) ~[?:1.8.0_172]
>         at javax.xml.bind.ContextFinder.find(ContextFinder.java:375) ~[?:1.8.0_172]
>         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:691) ~[?:1.8.0_172]
>         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:632) ~[?:1.8.0_172]
>         at org.apache.karaf.features.internal.model.JaxbUtil.<clinit>(JaxbUtil.java:60) ~[?:?]
>         at org.apache.karaf.cave.gateway.service.FeaturesGatewayServiceImpl.register(FeaturesGatewayServiceImpl.java:80) ~[?:?]
>         at org.apache.karaf.cave.gateway.service.command.FeaturesGatewayRegisterCommand.execute(FeaturesGatewayRegisterCommand.java:41) ~[?:?]
>         at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:84) ~[?:?]
>         at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) ~[?:?]
>         at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) ~[?:?]
>         at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) ~[?:?]
>         at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) ~[?:?]
>         at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) ~[?:?]
>         at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) ~[?:?]
>         at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) ~[?:?]
>         at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) ~[?:?]
>  {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)