parser setting file error
Brought to you by:
mcennis
Error encountered parsing the settings file
The mytestconfig.xml file is not formatted properly.
Details of the problem: String index out of range: 784
The problem is in the file ParseSaveSetting.java
public void characters(char[] ch, int start, int length)
throws SAXException {
String tmp = new String(ch,start,length);
tmp = tmp.substring(start, start + length);
switch (tagType){
the line
tmp = tmp.substring(start, start + length);
is of no use and cause the exception.
I begin to wonder if the version I check out is the right one
the setting file
The code in this section is quite robust and has been stable since 2005, so I am quite skeptical it is a compiler issue. However, this section has been targeted by hackers before - being modified on server / in transit to contain errors. As of now, no known repeats of this hack have been found since the last repair.
This phenomenon is quite similar to a bug found in Graph-RAT. It was found to be a JVM issue where inbound data is not read correctly by JVM file reading methods - creating null pointers on internal strings after error checks for example. It is a rare hack often associated with human trafficking - are you having programming problems in general? Checking with your home countries computer crime division may be appropriate.