Skip to content

Find resource crashes when called without resource at point #180

@expez

Description

@expez

When the mw is called without a resource at point this stacktrace is produced:

ERROR: Unhandled REPL handler exception processing message {:op resource, :name [], :id 2794}
java.lang.ClassCastException: clojure.lang.PersistentVector cannot be cast to java.lang.String
    at clojure.java.io$resource.invoke(io.clj:440)
    at clojure.java.io$resource.invoke(io.clj:439)
    at cider.nrepl.middleware.resource$resource_path.invoke(resource.clj:8)
    at cider.nrepl.middleware.resource$resource_reply.invoke(resource.clj:16)

and emacs hangs while the msg times out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions