-
Bug
-
Resolution: Done
-
Major
-
3.0.8.Final
-
None
-
-
Workaround Exists
-
In case a file not named as yyyyMMdd-HHmmssSSSname.xml is present in the snapshot folder, the server start abort with a StringIndexOutOfBoundsException.
wildfly-11.0.0.Final $ ./bin/standalone.sh --admin-only -c standalone.xml ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /home/jbaesner/wildfly-nightly/wildfly-11.0.0.Final JAVA: java JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true ========================================================================= 12:21:09,710 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final java.lang.StringIndexOutOfBoundsException: String index out of range: -4 at java.lang.String.substring(String.java:1931) at org.jboss.as.controller.persistence.ConfigurationFile.findMainFileFromSnapshotPrefix(ConfigurationFile.java:403) at org.jboss.as.controller.persistence.ConfigurationFile.determineMainFile(ConfigurationFile.java:312) at org.jboss.as.controller.persistence.ConfigurationFile.<init>(ConfigurationFile.java:176) at org.jboss.as.server.ServerEnvironment.<init>(ServerEnvironment.java:454) at org.jboss.as.server.Main.determineEnvironment(Main.java:339) at org.jboss.as.server.Main.main(Main.java:95) at org.jboss.modules.Module.run(Module.java:344) at org.jboss.modules.Main.main(Main.java:525) 12:21:10,047 FATAL [org.jboss.as.server] (main) WFLYSRV0239: Aborting with exit code 1
- is cloned by
-
JBEAP-14107 [GSS](7.1.z) StringIndexOutOfBoundsException if config file with wrong name is present in 'standalone_xml_history/snapshot' folder
- Closed