Petals ESB CLI

NullPointerException when trying to complete the command 'monitoring'

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1.2
  • Fix Version/s: 2.1.3, 2.2.0
  • Component/s: Command 'monitoring'
  • Security Level: Public
  • Description:
    Hide

    Using the key 'TAB' to complete the following command 'monitoring -o':

    petals-cli>monitoring -o ERROR: An unexpected error occurred. Use the -d option for more information.
    
    java.lang.NullPointerException
    	at org.ow2.petals.cli.shell.CommandCompleter.completeOptionValue(CommandCompleter.java:113)
    	at org.ow2.petals.cli.shell.CommandCompleter.completeOptionOrArgument(CommandCompleter.java:99)
    	at org.ow2.petals.cli.shell.CommandCompleter.complete(CommandCompleter.java:58)
    	at jline.console.ConsoleReader.complete(ConsoleReader.java:1581)
    	at jline.console.ConsoleReader.readLine(ConsoleReader.java:1290)
    	at jline.console.ConsoleReader.readLine(ConsoleReader.java:1117)
    	at jline.console.ConsoleReader.readLine(ConsoleReader.java:1105)
    	at org.ow2.petals.cli.shell.PetalsInteractiveCli.run(PetalsInteractiveCli.java:80)
    	at org.ow2.petals.cli.Main.run(Main.java:228)
    	at org.ow2.petals.cli.Main.main(Main.java:157)
    Show
    Using the key 'TAB' to complete the following command 'monitoring -o':
    petals-cli>monitoring -o ERROR: An unexpected error occurred. Use the -d option for more information.
    
    java.lang.NullPointerException
    	at org.ow2.petals.cli.shell.CommandCompleter.completeOptionValue(CommandCompleter.java:113)
    	at org.ow2.petals.cli.shell.CommandCompleter.completeOptionOrArgument(CommandCompleter.java:99)
    	at org.ow2.petals.cli.shell.CommandCompleter.complete(CommandCompleter.java:58)
    	at jline.console.ConsoleReader.complete(ConsoleReader.java:1581)
    	at jline.console.ConsoleReader.readLine(ConsoleReader.java:1290)
    	at jline.console.ConsoleReader.readLine(ConsoleReader.java:1117)
    	at jline.console.ConsoleReader.readLine(ConsoleReader.java:1105)
    	at org.ow2.petals.cli.shell.PetalsInteractiveCli.run(PetalsInteractiveCli.java:80)
    	at org.ow2.petals.cli.Main.run(Main.java:228)
    	at org.ow2.petals.cli.Main.main(Main.java:157)
  • Environment:
    -

Activity

Christophe DENEUX made changes - Tue, 1 Jul 2014 - 08:20:19 +0200
Field Original Value New Value
Fix Version/s 2.1.3 [ 10464 ]
Fix Version/s 2.2.0 [ 10404 ]
Priority Blocker [ 1 ]
Christophe DENEUX made changes - Tue, 1 Jul 2014 - 08:21:11 +0200
Status New [ 10000 ] Open [ 10002 ]
Priority Blocker [ 1 ] Major [ 3 ]
Christophe DENEUX made changes - Tue, 1 Jul 2014 - 09:12:36 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Tue, 1 Jul 2014 - 09:13:25 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Tue, 1 Jul 2014 - 09:13:35 +0200
Status Resolved [ 10004 ] Open [ 10002 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Tue, 1 Jul 2014 - 12:58:19 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Tue, 1 Jul 2014 - 12:58:32 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]

People

Dates

  • Created:
    Tue, 1 Jul 2014 - 08:19:59 +0200
    Updated:
    Tue, 1 Jul 2014 - 12:58:32 +0200
    Resolved:
    Tue, 1 Jul 2014 - 12:58:32 +0200