Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1767

Exception on tab completion when adding new JGroups stack

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.Alpha8
    • None
    • CLI
    • None

    Description

      I just happened to catch the following exception:

      [standalone@localhost:9990 /] /subsystem=jgroups/stack=anothertcp:add(transport={type=TCP,socket-binding=jgroups-tcp},protocols=[{Exception in thread "Aesh Process Loop 1561063579" java.lang.IllegalArgumentException
      	at org.jboss.dmr.ModelValue.asType(ModelValue.java:147)
      	at org.jboss.dmr.ModelNode.asType(ModelNode.java:321)
      	at org.jboss.as.cli.impl.ValueTypeCompleter$ComplexInstance.isCompliantType(ValueTypeCompleter.java:239)
      	at org.jboss.as.cli.impl.ValueTypeCompleter$Instance.getType(ValueTypeCompleter.java:103)
      	at org.jboss.as.cli.impl.ValueTypeCompleter$ValueTypeCallbackHandler.getCandidates(ValueTypeCompleter.java:445)
      	at org.jboss.as.cli.impl.ValueTypeCompleter.complete(ValueTypeCompleter.java:332)
      	at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:254)
      	at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:74)
      	at org.jboss.as.cli.CommandCompleter.doComplete(CommandCompleter.java:134)
      	at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:63)
      	at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:143)
      	at org.jboss.aesh.console.AeshCompletionHandler.complete(AeshCompletionHandler.java:155)
      	at org.jboss.aesh.console.AeshInputProcessor.complete(AeshInputProcessor.java:423)
      	at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:165)
      	at org.jboss.aesh.console.Console.processInternalOperation(Console.java:773)
      	at org.jboss.aesh.console.Console.execute(Console.java:733)
      	at org.jboss.aesh.console.Console.access$900(Console.java:73)
      	at org.jboss.aesh.console.Console$6.run(Console.java:642)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      when double tapping tab on the following:

      [standalone@localhost:9990 /] /subsystem=jgroups/stack=anothertcp:add(transport={type=TCP,socket-binding=jgroups-tcp},protocols=[{
      

      When trying a second time, it popped up again, so it is likely reproducible. Note that the server was started with:

      ./standalone -c standalone-ha.xml
      

      The exception killed the CLI.

      Attachments

        Issue Links

          Activity

            People

              jdenise@redhat.com Jean Francois Denise
              olubyans@redhat.com Alexey Loubyansky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: