Martin Lichtin created KARAF-4631:
-------------------------------------

             Summary: 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
(v6.3.4#6332)

Reply via email to