Im having this really weird issue that i haven’t been able to figure out for a few hours. Basically im trying to split this getInterfaceBounds-client.ry, what im doing is this
final String className = line.split(".")[0];
im getting a arrayindexoutofbounds exception. I really have no idea why, do you?
Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 0
splituses a regular expression. In regex.means any character, so you need to escape it.Try:
See http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html#sum