Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5023

Socket binding not marked as mandatory in console generates StringIndexOutOfBoundsException

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7.1.2.Final (EAP)
    • Fix Version/s: No Release
    • Component/s: Console
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      To workaroud, you have to select a socket binding in the drop down list.
      Note that if you unselect the Server group, the server group and the socket binding shows an alert as mandatory field and the operation is not triggered.

      Show
      To workaroud, you have to select a socket binding in the drop down list. Note that if you unselect the Server group, the server group and the socket binding shows an alert as mandatory field and the operation is not triggered.

      Description

      While editing a server configuration in the Server Configurations tab, the socket binding value is not selected and neither marked as mandatory.

      So the Save button is active and triggers a call with an invalid empty value for this field which leads to the following exception:

      [Host Controller] 16:00:40,005 ERROR [org.jboss.as.controller.management-operation] (HttpManagementService-threads - 26) JBAS014612: Operation ("write-attribute") failed - address: ([
      [Host Controller] ("host" => "master"),
      [Host Controller] ("server-config" => "server-three")
      [Host Controller] ]): java.lang.StringIndexOutOfBoundsException: String index out of range: 0
      [Host Controller] at java.lang.String.charAt(Unknown Source) [rt.jar:1.7.0_01]
      [Host Controller] at org.jboss.as.controller.PathElement.<init>(PathElement.java:103) [jboss-as-controller-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
      [Host Controller] at org.jboss.as.controller.PathElement.pathElement(PathElement.java:68) [jboss-as-controller-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                heiko.braun Heiko Braun
                Reporter:
                akrambenaissi Akram Ben Aissi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: