Page 1 of 1

WebAOM 1.14 - Episode page parser

Posted: Wed Nov 09, 2005 5:50 pm
by ricce
It seams to be an error in WebAOM's episode page parser:

Code: Select all

[18:44:58|000,31] aWorker: # GET http://anidb.info/perl-bin/animedb.pl?show=file&aid=2002&eid=27416&fid=135739&nonav=1 (max 4096 bytes) 305 ms
[18:44:58|018,50] aWorker: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
[18:44:58|000,00] aWorker: 	at java.lang.String.substring(String.java:1762)
[18:44:58|000,00] aWorker: 	at epox.webaom.aParser.getStr(aParser.java:27)
[18:44:58|000,00] aWorker: 	at epox.webaom.aParser.getFilex(aParser.java:80)
[18:44:58|000,00] aWorker: 	at epox.webaom.aCache.gatherInfo(aCache.java:62)
[18:44:58|000,00] aWorker: 	at epox.webaom.JobMan.updateStatus(JobMan.java:100)
[18:44:58|000,00] aWorker: 	at epox.webaom.aWorker.identify(aWorker.java:117)
[18:44:58|000,00] aWorker: 	at epox.webaom.aWorker.do_work(aWorker.java:88)
[18:44:58|000,00] aWorker: 	at epox.webaom.aWorker.run(aWorker.java:41)

Code: Select all

$ java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_05-b05, mixed mode)

Posted: Wed Nov 09, 2005 6:06 pm
by epoximator
gzip is enabled again. i'll release a new version later today.