Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 6112 invoked from network); 5 Aug 2009 13:28:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Aug 2009 13:28:30 -0000 Received: (qmail 23614 invoked by uid 500); 5 Aug 2009 13:28:37 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 23545 invoked by uid 500); 5 Aug 2009 13:28:36 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 23535 invoked by uid 99); 5 Aug 2009 13:28:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 13:28:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 13:28:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C6D09234C044 for ; Wed, 5 Aug 2009 06:28:14 -0700 (PDT) Message-ID: <139285238.1249478894799.JavaMail.jira@brutus> Date: Wed, 5 Aug 2009 06:28:14 -0700 (PDT) From: "Guillaume Nodet (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-1454) install --help throws exception In-Reply-To: <1823327938.1249469474822.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739485#action_12739485 ] Guillaume Nodet commented on FELIX-1454: ---------------------------------------- This happen when the @Command annotation is missing on the action object. > install --help throws exception > ------------------------------- > > Key: FELIX-1454 > URL: https://issues.apache.org/jira/browse/FELIX-1454 > Project: Felix > Issue Type: Bug > Components: Karaf > Affects Versions: karaf-1.0.0 > Environment: Equinox / Windows XP / JRE 1.6.0_13 > Reporter: David Bosschaert > > When I type install --help I get an exception instead of help: > Hit '' for a list of available commands > and '[cmd] --help' for help on a specific command. > karaf@root> install --help > pipe: java.lang.NullPointerException > java.lang.NullPointerException > at org.apache.felix.karaf.gshell.console.commands.BlueprintCommand$BlueprintActionPreparator.printUsage(BlueprintCommand.java:89) > at org.apache.felix.gogo.commands.basic.DefaultActionPreparator.prepare(DefaultActionPreparator.java:116) > at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:33) > at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:45) > at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:208) > at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:147) > at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:91) > at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:78) > at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71) > at org.apache.felix.karaf.gshell.console.jline.Console.run(Console.java:109) > at java.lang.Thread.run(Thread.java:619) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.