Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8321

IllegalArgumentException in autocomplete of driver-name of datasource add command with embedded server

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Done
    • 11.0.0.Alpha1
    • 11.0.0.Alpha1
    • JCA
    • None
    • Hide
      ./jboss-cli.sh
      [disconnected /] embed-server
      [standalone@embedded /] data-source add --name=test --driver-name=<TAB>
      
      Show
      ./jboss-cli.sh [disconnected /] embed-server [standalone@embedded /] data-source add --name=test --driver-name=<TAB>

    Description

      IllegalArgumentException in autocomplete of driver-name of datasource add command with embedded server

      Exception in thread "Aesh Process Loop 1006094903" java.lang.IllegalArgumentException
              at org.jboss.dmr.ModelValue.asList(ModelValue.java:143)
              at org.jboss.dmr.ModelNode.asList(ModelNode.java:1566)
              at org.jboss.as.cli.handlers.jca.JDBCDriverNameProvider.getAllCandidates(JDBCDriverNameProvider.java:71)
              at org.jboss.as.cli.impl.DefaultCompleter.complete(DefaultCompleter.java:64)
              at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:276)
              at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:89)
              at org.jboss.as.cli.CommandCompleter.doComplete(CommandCompleter.java:137)
              at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:64)
              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:429)
              at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:166)
              at org.jboss.aesh.console.Console.processInternalOperation(Console.java:778)
              at org.jboss.aesh.console.Console.execute(Console.java:738)
              at org.jboss.aesh.console.Console.access$900(Console.java:73)
              at org.jboss.aesh.console.Console$6.run(Console.java:647)
              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)
      

      see. Steps to Reproduce

      Attachments

        Issue Links

          Activity

            People

              mpetrov@redhat.com Michal Petrov
              mpetrov@redhat.com Michal Petrov
              Martin Simka Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: