[jboss-jira] [JBoss JIRA] (WFCORE-3531) EnumValidator.validateParameter should check toStringMap first to reduce the possibility of IllegalArgumentException creation
Lin Gao (JIRA)
issues at jboss.org
Mon Jan 22 02:28:00 EST 2018
[ https://issues.jboss.org/browse/WFCORE-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lin Gao moved JBEAP-14117 to WFCORE-3531:
-----------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-3531 (was: JBEAP-14117)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
JMX
(was: JMX)
Affects Version/s: (was: 6.4.0.GA)
> EnumValidator.validateParameter should check toStringMap first to reduce the possibility of IllegalArgumentException creation
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-3531
> URL: https://issues.jboss.org/browse/WFCORE-3531
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, JMX
> Environment: JBoss EAP 6.4.16,6.4.18
> Reporter: Lin Gao
> Assignee: Lin Gao
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> 1. Proposed title of this feature request
> Enum is misspelled causing java.lang.IllegalArgumentException
> 2. Who is the customer behind the request?
> Account: Hamburg Südamerikanische Dampfschifffahrts-Ge, 5651756
> 3. What is the nature and description of the request?
> Enum is misspelled causing java.lang.IllegalArgumentException
> 5. How would the customer like to achieve this? (List the functional requirements here)
> In such way, it should not throw Exception and spelled correctly.
> ENUM : "ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS"
> Location Where Enum is Used :
> jboss-as-jmx module:
> ./jmx/src/main/java/org/jboss/as/jmx/model/ResourceAccessControlUtil.java
> Code : op.get(ACCESS_CONTROL).set(ReadResourceDescriptionHandler.AccessControl.TRIM_DESCRIPTONS.toModelNode());
> it's a general internal jboss issue for all queries that somehow involve the JMX related ResourceAccessControlUtil.
> Stacktrace Attached.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list