This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-06
Channels
- # admin-announcements (10)
- # alda (78)
- # arachne (33)
- # bangalore-clj (2)
- # beginners (11)
- # boot (70)
- # chestnut (8)
- # cljsjs (5)
- # cljsrn (4)
- # clojure (212)
- # clojure-art (1)
- # clojure-berlin (1)
- # clojure-brasil (27)
- # clojure-canada (6)
- # clojure-colombia (12)
- # clojure-dev (6)
- # clojure-greece (29)
- # clojure-hk (2)
- # clojure-italy (7)
- # clojure-russia (51)
- # clojure-spec (12)
- # clojure-uk (18)
- # clojurescript (115)
- # clojurex (8)
- # component (1)
- # crypto (41)
- # css (5)
- # cursive (31)
- # datomic (17)
- # defnpodcast (7)
- # emacs (9)
- # flambo (1)
- # funcool (4)
- # juxt (29)
- # off-topic (1)
- # om (122)
- # onyx (12)
- # pedestal (1)
- # planck (10)
- # portland-or (1)
- # re-frame (30)
- # reagent (4)
- # rum (3)
- # slack-help (2)
- # specter (20)
- # sql (3)
Evening all, I just tried to dev alda, and as a newcomer to clojure, I've tripped at the first hurdle: https://github.com/alda-lang/alda/issues/262
commit ac069b795b6a6df988537802aeec493d6448b086
Author: Dave Yarwood <[email protected]>
Date: Mon Sep 5 17:11:33 2016 -0400
add some quantization for character
#
#Tue Sep 06 19:47:27 BST 2016
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.8.0
BOOT_VERSION=2.5.5
i would recommend deleting your boot directory (i think it is ~/.boot
by default, but better check to make sure before deleting it!)
boot dev -a server --port 27713 --alda-fingerprint
Downloading ...
Compiling 12 Java source files...
clojure.lang.ExceptionInfo: java.lang.NullPointerException
data: {:file "/tmp/boot.user7170302423713877086.clj", :line 31}
java.util.concurrent.ExecutionException: java.lang.NullPointerException
java.lang.NullPointerException:
com.sun.tools.javac.api.JavacTool.getTask JavacTool.java: 125
com.sun.tools.javac.api.JavacTool.getTask JavacTool.java: 107
com.sun.tools.javac.api.JavacTool.getTask JavacTool.java: 64
...
boot.task.built-in/fn/fn/fn/fn built_in.clj: 591
boot.core/run-tasks core.clj: 794
boot.core/boot/fn core.clj: 804
clojure.core/binding-conveyor-fn/fn core.clj: 1938
...
java -version
openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-b14)
OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)
ok, so if boot repl
works for you, and the stacktrace contains javac
stuff, i'm betting it's something to do with the javac task
try commenting out this line: https://github.com/alda-lang/alda/blob/master/build.boot#L184
i'm guessing this is an edge case with your particular flavor of JDK and boot's javac
task
think so -- feel free to ping me if you have any more questions. i'm at work now though, so i may not be super available until 2-3 hours from now
I'll make that PR asap, but it'll be a WIP one, I'll continue the conversation there, if I may?
BTW, i just saw something interesting that might explain the javac
null pointer error: https://github.com/alda-lang/alda/blob/master/build.boot#L62
i am too, but i have some options in there that will compile alda to be runnable even if the user is on java 7