[jboss-jira] [JBoss JIRA] (WFCORE-3490) IllegalArgumentException when for loop is used for command producing non iterable result

Erich Duda (JIRA) issues at jboss.org
Thu Jan 4 04:41:00 EST 2018


Erich Duda created WFCORE-3490:
----------------------------------

             Summary: IllegalArgumentException when for loop is used for command producing non iterable result
                 Key: WFCORE-3490
                 URL: https://issues.jboss.org/browse/WFCORE-3490
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI
    Affects Versions: 4.0.0.Alpha5
            Reporter: Erich Duda
            Assignee: Jean-Francois Denise


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

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



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list