[
https://issues.redhat.com/browse/WFCORE-5247?page=com.atlassian.jira.plug...
]
Chao Wang commented on WFCORE-5247:
-----------------------------------
OK, I will put my found below and leave the fix and test to [~parsharma].
This looks a general issue as it not only limits to the {{system-property}} address.
For example, below commands reproduce same exception.
{code:xml}
[standalone@localhost:9990 /] cd subsystem
[standalone@localhost:9990 system-property] read-attribute TAB
{code}
https://github.com/wildfly/wildfly-core/blob/master/cli/src/main/java/org...
looks not right, in case of {{node.getName()}} is null, it tries to set {{null}} as
ModelNode value.
IllegalArgumentException and CLI crash with read-attribute in
/system-property
------------------------------------------------------------------------------
Key: WFCORE-5247
URL:
https://issues.redhat.com/browse/WFCORE-5247
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 14.0.0.Final
Reporter: David Le Borgne
Assignee: Parul Sharma
Priority: Major
Attachments: stack_trace.txt
Pressing TAB after typing "read-attribute " in /system-property displays a
java.lang.IllegalArgumentException: newValue is null message and exits JBoss CLI.
{{/opt/wildfly/bin/jboss-cli.sh --connect}}
{{[standalone@localhost:9990 /] cd /system-property}}
{{[standalone@localhost:9990 system-property] read-attribute <TAB>}}
{{Exception in thread "CLI Terminal Connection (uninterruptable)"
java.lang.IllegalArgumentException: newValue is null}}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)