You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Martin Lichtin (JIRA)" <ji...@apache.org> on 2018/06/15 10:50:00 UTC

[jira] [Resolved] (KARAF-4631) Feature install using -p option can cause NPE and hides root cause

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

Martin Lichtin resolved KARAF-4631.
-----------------------------------
    Resolution: Not A Problem

> Feature install using -p option can cause NPE and hides root cause
> ------------------------------------------------------------------
>
>                 Key: KARAF-4631
>                 URL: https://issues.apache.org/jira/browse/KARAF-4631
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 3.0.6
>            Reporter: Martin Lichtin
>            Priority: Minor
>
> {noformat}
> karaf@ctrlcfg-engine()> feature:install -p x
> Error executing command: java.lang.NullPointerException
> {noformat}
> In the log file, the exception is:
> {noformat}
> 2016-07-20 21:43:59,789 | ERROR | h for user karaf | ShellUtil                        | 27 - org.apache.karaf.shell.console - 3.0.6 | Exception caught while executing command
> java.lang.NullPointerException
>         at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:384)
>         at Proxy62b940e4_cb82_4702_9db2_49fb4f423f85.installFeature(Unknown Source)
>         at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:72)
>         at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)