Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3397

FeaturesServiceMBeanImpl throws an Exception when listening the features

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 3.0.3, 2.4.1, 4.0.0.M2, 4.0.0.M3
    • Component/s: karaf
    • Labels:
      None

      Description

      Using jconsole, when listing the features in the FeaturesMBean, we can see in the log:

      java.lang.IllegalArgumentException: Different lengths: itemNames[2], itemValues[3]
              at javax.management.openmbean.CompositeDataSupport.makeMap(CompositeDataSupport.java:130)
              at javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:118)
              at org.apache.karaf.features.management.codec.JmxFeature.getConfigList(JmxFeature.java:134)
              at org.apache.karaf.features.management.codec.JmxFeature.<init>(JmxFeature.java:80)
              at org.apache.karaf.features.management.internal.FeaturesServiceMBeanImpl.getFeatures(FeaturesServiceMBeanImpl.java:105)
      

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              jbonofre Jean-Baptiste Onofré
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: