-
Notifications
You must be signed in to change notification settings - Fork 794
Description
Here is the stack trace of the exception:
Caused by String index out of range: -1
java.lang.String.substring(String.java:1911)
at cz.mallat.uasparser.fileparser.PHPFileParser.loadFile(PHPFileParser.java:65)
at cz.mallat.uasparser.fileparser.PHPFileParser.(PHPFileParser.java:29)
at cz.mallat.uasparser.UASparser.loadDataFromFile(UASparser.java:237)
at cz.mallat.uasparser.CachingOnlineUpdateUASparser.(CachingOnlineUpdateUASparser.java:55)
at cz.mallat.uasparser.CachingOnlineUpdateUASparser.(CachingOnlineUpdateUASparser.java:26)
at org.browsermob.proxy.http.BrowserMobHttpClient.(BrowserMobHttpClient.java:61)
at org.browsermob.proxy.ProxyServer.start(ProxyServer.java:67)
The contents of the userAgentString.properties file in tmp directory is
Mon Oct 08 11:17:40 EDT 2012
currentVersion=20121005-03
lastUpdateCheck=1349709460516
Workaround: Delete the userAgentString.properties file in tmp directory once