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

IllegalArgumentException when for loop is used for command producing non iterable result

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.0.Alpha6
    • 4.0.0.Alpha5
    • CLI
    • None

    Description

      [standalone@embedded /] set name=World
      [standalone@embedded /] for var in :resolve-expression(expression=Hello $name!)
      java.lang.IllegalArgumentException
      

      As you can see in the example, the commands produce IllegalArgumentException. Instead of IllegalArgumentException there should be an error message explaining what is wrong.

      Attachments

        Activity

          People

            jdenise@redhat.com Jean Francois Denise
            eduda_jira Erich Duda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: