Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14129

[GSS](7.2.0) Enum is misspelled causing java.lang.IllegalArgumentException

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 7.2.0.CD12
    • 7.1.0.GA, 7.0.9.GA
    • JMX
    • None

      Enum is misspelled causing java.lang.IllegalArgumentException
      It should not throw an Exception and should be 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.

            rhn-engineering-lgao Lin Gao
            rhn-engineering-lgao Lin Gao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified