{"action":"opened","issue":{"url":"https://api.github.com/repos/cloverage/cloverage/issues/164","repository_url":"https://api.github.com/repos/cloverage/cloverage","labels_url":"https://api.github.com/repos/cloverage/cloverage/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/cloverage/cloverage/issues/164/comments","events_url":"https://api.github.com/repos/cloverage/cloverage/issues/164/events","html_url":"https://github.com/cloverage/cloverage/issues/164","id":186738234,"number":164,"title":"Exception when attempting to run Cloverage on a compojure service","user":{"login":"ricardojmendez","id":31263,"avatar_url":"https://avatars.githubusercontent.com/u/31263?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardojmendez","html_url":"https://github.com/ricardojmendez","followers_url":"https://api.github.com/users/ricardojmendez/followers","following_url":"https://api.github.com/users/ricardojmendez/following{/other_user}","gists_url":"https://api.github.com/users/ricardojmendez/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardojmendez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardojmendez/subscriptions","organizations_url":"https://api.github.com/users/ricardojmendez/orgs","repos_url":"https://api.github.com/users/ricardojmendez/repos","events_url":"https://api.github.com/users/ricardojmendez/events{/privacy}","received_events_url":"https://api.github.com/users/ricardojmendez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-02T08:26:14Z","updated_at":"2016-11-02T08:26:14Z","closed_at":null,"body":"Cloverage 1.0.9 dies when attempting to run on a Compojure service which uses authentication.\r\n\r\nAttaching a minimal case. Archive includes a git repository with two commits: the initial template code where Cloverage works, followed by a commit adding authentication which causes it to die. Cloverage dies even if the APIs added are not tested.\r\n\r\nThis seems related to #53.\r\n\r\nTrace:\r\n\r\n```\r\n\tat cloverage.instrument$instrument$fn__19680.invoke(instrument.clj:432)\r\n\tat cloverage.instrument$instrument.invokeStatic(instrument.clj:424)\r\n\tat cloverage.instrument$instrument.invoke(instrument.clj:403)\r\n\tat cloverage.coverage$_main$fn__20452.invoke(coverage.clj:254)\r\n\tat cloverage.coverage$_main.invokeStatic(coverage.clj:251)\r\n\tat cloverage.coverage$_main.doInvoke(coverage.clj:213)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:1289)\r\n\tat clojure.lang.Var.invoke(Var.java:501)\r\n\tat user$eval19186.invokeStatic(form-init3717775251225065018.clj:1)\r\n\tat user$eval19186.invoke(form-init3717775251225065018.clj:1)\r\n\tat clojure.lang.Compiler.eval(Compiler.java:6927)\r\n\tat clojure.lang.Compiler.eval(Compiler.java:6917)\r\n\tat clojure.lang.Compiler.load(Compiler.java:7379)\r\n\t... 14 more\r\nCaused by: java.lang.ExceptionInInitializerError, compiling:(swag/routes/services.clj:69:5)\r\n\tat clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3657)\r\n\tat clojure.lang.Compiler$BodyExpr.eval(Compiler.java:6019)\r\n\tat clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3651)\r\n\tat clojure.lang.Compiler$BodyExpr.eval(Compiler.java:6019)\r\n\tat clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3651)\r\n\tat clojure.lang.Compiler$BodyExpr.eval(Compiler.java:6019)\r\n\tat clojure.lang.Compiler$DefExpr.eval(Compiler.java:451)\r\n\tat clojure.lang.Compiler.eval(Compiler.java:6932)\r\n\tat clojure.lang.Compiler.eval(Compiler.java:6917)\r\n\tat clojure.lang.Compiler.eval(Compiler.java:6890)\r\n\tat clojure.core$eval.invokeStatic(core.clj:3105)\r\n\tat clojure.core$eval.invoke(core.clj:3101)\r\n\tat cloverage.instrument$instrument$fn__19680$fn__19681.invoke(instrument.clj:427)\r\n\tat cloverage.instrument$instrument$fn__19680.invoke(instrument.clj:425)\r\n\t... 26 more\r\nCaused by: java.lang.ExceptionInInitializerError\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat java.lang.Class.newInstance(Class.java:442)\r\n\tat clojure.lang.Compiler$ObjExpr.eval(Compiler.java:4913)\r\n\tat clojure.lang.Compiler$MetaExpr.eval(Compiler.java:2654)\r\n\tat clojure.lang.Compiler$BodyExpr.eval(Compiler.java:6019)\r\n\tat clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3651)\r\n\t... 39 more\r\nCaused by: java.lang.IllegalArgumentException: No matching ctor found for class clojure.lang.AFunction$1\r\n\tat clojure.lang.Reflector.invokeConstructor(Reflector.java:163)\r\n\tat clojure.lang.LispReader$EvalReader.invoke(LispReader.java:1120)\r\n\tat clojure.lang.LispReader$DispatchReader.invoke(LispReader.java:691)\r\n\tat clojure.lang.LispReader.read(LispReader.java:263)\r\n\tat clojure.lang.LispReader.read(LispReader.java:196)\r\n\tat clojure.lang.LispReader.read(LispReader.java:185)\r\n\tat clojure.lang.RT.readString(RT.java:1835)\r\n\tat clojure.lang.RT.readString(RT.java:1830)\r\n\tat swag.routes.services$fn__20625.<clinit>(swag/routes/services.clj:69)\r\n\t... 48 more\r\n```\r\n\r\n[swag.zip](https://github.com/cloverage/cloverage/files/565995/swag.zip)\r\n"}}
{"actor":{"display_login":"ricardojmendez"}}