Fork me on GitHub

I am getting an java.lang.IndexOutOfBoundsException, Does anybody know a debugging trick to know what's going on?


@mohamedhayibor I'd expect this line to throw that error if you hit a page with no links on it (or even a 404 or whatever) (fixed link)


@mohamedhayibor but really your error should come with a stack trace that shows where the error happened, if you don't see one but are in the repl, (pst) will show the stack trace


@noisesmith . Yes I guess the code crashes whenever there is a redirect or a 4**, Copied two stacktraces here:


@noisesmith I will try to implement filters so that .png .pdf and other static files sources are ignored. Thanks a lot for the pointer.