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

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

XMLWordPrintable

      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-support-bmaxwell Brad Maxwell
            Daniel Cihak Daniel Cihak
            Daniel Cihak Daniel Cihak
            Votes:
            0 Vote for this issue
            Watchers:
            6 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