Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Slamhound throws exception on static methods #4

Closed
dakrone opened this Issue · 2 comments

3 participants

@dakrone

things like:

(Dictionary/parseOneEntryPerLine (reader in))

throw exceptions complaining about "parseOneEntryPerLine"

full stacktrace (for a static method called create):

Exception in thread "main" java.lang.IllegalArgumentException: No matching method: create (NO_SOURCE_FILE:1)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5376)
        at clojure.lang.Compiler.analyze(Compiler.java:5190)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5357)
        at clojure.lang.Compiler.analyze(Compiler.java:5190)
        at clojure.lang.Compiler.access$100(Compiler.java:35)
        at clojure.lang.Compiler$LetExpr$Parser.parse(Compiler.java:4921)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5369)
        at clojure.lang.Compiler.analyze(Compiler.java:5190)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5357)
        at clojure.lang.Compiler.analyze(Compiler.java:5190)
        at clojure.lang.Compiler.analyze(Compiler.java:5151)
        at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:4670)
        at clojure.lang.Compiler$FnMethod.parse(Compiler.java:4328)
        at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3173)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5367)
        at clojure.lang.Compiler.analyze(Compiler.java:5190)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5357)
        at clojure.lang.Compiler.analyze(Compiler.java:5190)
        at clojure.lang.Compiler.analyze(Compiler.java:5151)
        at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:4670)
        at clojure.lang.Compiler$FnMethod.parse(Compiler.java:4328)
        at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3173)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5367)
        at clojure.lang.Compiler.analyze(Compiler.java:5190)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5357)
        at clojure.lang.Compiler.analyze(Compiler.java:5190)
        at clojure.lang.Compiler.analyze(Compiler.java:5151)
        at clojure.lang.Compiler$HostExpr$Parser.parse(Compiler.java:830)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5369)
        at clojure.lang.Compiler.analyze(Compiler.java:5190)
        at clojure.lang.Compiler.analyze(Compiler.java:5151)
        at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:4670)
        at clojure.lang.Compiler$FnMethod.parse(Compiler.java:4328)
        at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3173)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5367)
        at clojure.lang.Compiler.analyze(Compiler.java:5190)
        at clojure.lang.Compiler.eval(Compiler.java:5421)
        at clojure.lang.Compiler.eval(Compiler.java:5414)
        at clojure.lang.Compiler.eval(Compiler.java:5391)
        at clojure.core$eval.invoke(core.clj:2382)
        at slam.hound.regrow$check_for_failure.invoke(regrow.clj:31)
        at slam.hound.regrow$regrow.invoke(regrow.clj:81)
        at slam.hound.regrow$regrow.invoke(regrow.clj:79)
        at slam.hound$reconstruct.invoke(hound.clj:10)
        at user$eval437.invoke(NO_SOURCE_FILE:1)
        at clojure.lang.Compiler.eval(Compiler.java:5424)
        at clojure.lang.Compiler.eval(Compiler.java:5415)
        at clojure.lang.Compiler.eval(Compiler.java:5415)
        at clojure.lang.Compiler.eval(Compiler.java:5391)
        at clojure.core$eval.invoke(core.clj:2382)
        at clojure.main$eval_opt.invoke(main.clj:235)
        at clojure.main$initialize.invoke(main.clj:254)
        at clojure.main$null_opt.invoke(main.clj:279)
        at clojure.main$main.doInvoke(main.clj:354)
        at clojure.lang.RestFn.invoke(RestFn.java:421)
        at clojure.lang.Var.invoke(Var.java:369)
        at clojure.lang.AFn.applyToHelper(AFn.java:163)
        at clojure.lang.Var.applyTo(Var.java:482)
        at clojure.main.main(main.java:37)
Caused by: java.lang.IllegalArgumentException: No matching method: create
        at clojure.lang.Compiler$StaticMethodExpr.<init>(Compiler.java:1349)
        at clojure.lang.Compiler$HostExpr$Parser.parse(Compiler.java:832)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:5369)
        ... 58 more
@technomancy
Owner

This is probably a disambiguation problem.

@guns
Collaborator

Confirmed fixed.

@guns guns closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.