This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-21
Channels
- # beginners (5)
- # boot (15)
- # capetown (1)
- # chestnut (2)
- # cljs-dev (9)
- # cljsjs (3)
- # cljsrn (1)
- # clojure (190)
- # clojure-brasil (2)
- # clojure-greece (14)
- # clojure-italy (3)
- # clojure-poland (8)
- # clojure-romania (1)
- # clojure-russia (2)
- # clojure-serbia (3)
- # clojure-spec (38)
- # clojure-uk (98)
- # clojure-ukraine (2)
- # clojurescript (65)
- # clojurex (1)
- # core-async (16)
- # cursive (16)
- # datomic (3)
- # defnpodcast (7)
- # emacs (11)
- # funcool (2)
- # hoplon (16)
- # jobs (1)
- # leiningen (4)
- # lumo (9)
- # off-topic (2)
- # om (1)
- # other-languages (1)
- # protorepl (1)
- # re-frame (50)
- # reagent (16)
- # reitit (32)
- # remote-jobs (1)
- # rum (1)
- # shadow-cljs (73)
- # spacemacs (36)
- # specter (21)
- # sql (6)
- # unrepl (107)
- # untangled (4)
I am getting an java.lang.IndexOutOfBoundsException,
Does anybody know a debugging trick to know what's going on?
https://github.com/mohamedhayibor/web-traffic-generator/blob/master/src/web_traffic_generator/core.clj#L45
@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) https://github.com/mohamedhayibor/web-traffic-generator/blob/master/src/web_traffic_generator/core.clj#L18 (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: https://gist.github.com/mohamedhayibor/b1ed8e264f862a869fd36365791fd459
@noisesmith I will try to implement filters so that .png .pdf and other static files sources are ignored. Thanks a lot for the pointer.