COMMONS-258 : [PLF-4.1.x] StringIndexOutOfBoundsException when starting tomcat server