Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2175

suggest-capabilities operation fails for specific parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha23
    • None
    • Management
    • None

      The following operation fails with a StringIndexOutOfBoundsException

      /host=master/core-service=capability-registry:suggest-capabilities(name=org.wildfly.clustering.jgroups.channel-factory,dependent-address=[("profile" => "full-ha"),("subsystem" => "jgroups")])
      

      while similar operations work w/o an error

      /host=master/core-service=capability-registry:suggest-capabilities(name=org.wildfly.batch.job.repository, dependent-address=[("profile" => "full"),   ("subsystem" => "batch-jberet")])
      

      This is the code which throws the StringIndexOutOfBoundsException: https://github.com/wildfly/wildfly-core/blob/master/controller/src/main/java/org/jboss/as/controller/CapabilityRegistry.java#L946

              tomazcerar Tomaž Cerar (Inactive)
              hpehl@redhat.com Harald Pehl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: