Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9250

NoSuchElementException when running rebind operation without binding-type specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 12.0.0.Beta1, 12.0.0.Final
    • 11.0.0.Beta1
    • Naming
    • None

    Description

      [standalone@localhost:9990 /] /subsystem=naming/binding="java:/hello":add(binding-type=simple, value=hello)
      {"outcome" => "success"}
      [standalone@localhost:9990 /] /subsystem=naming/binding="java:/hello":rebind    
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0158: Operation handler failed: java.util.NoSuchElementException: No child 'binding-type' exists",
          "rolled-back" => true
      }
      

      When I forget the binding-type parameter, the error message should be more informative.

      Attachments

        Issue Links

          Activity

            People

              chaowan@redhat.com Chao Wang
              chaowan@redhat.com Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: