Skip to content

IllegalArgumentException with boot 2.6.X #5

Description

@arichiardi

Hey guys! I just started to use boot-beanstalk but I received a big:

clojure.lang.ExceptionInfo: No implementation of method: :file of protocol: #'boot.tmpdir/ITmpFile found for class: nil
    data: {:file "/tmp/boot.user7030910776511973313.clj", :line 63}
java.lang.IllegalArgumentException: No implementation of method: :file of protocol: #'boot.tmpdir/ITmpFile found for class: nil
clojure.core/-cache-protocol-fn/invokeStatic    core_deftype.clj:  568
             clojure.core/-cache-protocol-fn    core_deftype.clj:  560
                            boot.tmpdir/fn/G          tmpdir.clj:   25
                          boot.core/tmp-file            core.clj:  380
     adzerk.boot-beanstalk/eval2186/fn/fn/fn  boot_beanstalk.clj:   64
                         boot.core/run-tasks            core.clj:  943
                           boot.core/boot/fn            core.clj:  953
         clojure.core/binding-conveyor-fn/fn            core.clj: 1938

The trigger was boot beanstalk -l so I was not launching it with any -file option.
Maybe a condition to add on line 64.

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