Akram Ben Aissi created AS7-5023:
------------------------------------
Summary: Socket binding not marked as mandatory in console generates
StringIndexOutOfBoundsException
Key: AS7-5023
URL:
https://issues.jboss.org/browse/AS7-5023
Project: Application Server 7
Issue Type: Bug
Components: Console
Affects Versions: 7.1.2.Final (EAP)
Reporter: Akram Ben Aissi
Assignee: Heiko Braun
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]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira