Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-137

usability: apollo script should echo usage when called with no arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • apollo-cli
    • None
    • 1.0 rc

    Description

      reading the readme happens after...

      gtmbp:Downloads gtully$ cd apache-apollo-1.0
      gtmbp:apache-apollo-1.0 gtully$ ls
      LICENSE NOTICE bin docs etc examples lib readme.html
      gtmbp:apache-apollo-1.0 gtully$ ./bin/apollo
      java.lang.NullPointerException
      at org.apache.karaf.shell.console.Main.run(Main.java:114)
      at org.apache.activemq.apollo.cli.Apollo.execute(Apollo.scala:167)
      at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
      at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
      at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
      at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
      at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
      at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:79)
      at org.apache.karaf.shell.console.Main.run(Main.java:150)
      at org.apache.karaf.shell.console.Main.run(Main.java:89)
      at org.apache.activemq.apollo.cli.Apollo$.main(Apollo.scala:61)
      at org.apache.activemq.apollo.cli.Apollo.main(Apollo.scala)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.activemq.apollo.boot.Apollo.main(Apollo.java:95)

      Attachments

        Activity

          People

            chirino Hiram R. Chirino
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: