Closed dogenpunk closed 9 months ago
It looks like a javafx-related exception in the native code on resizing the window:
Got same/similar issue when trying out reveal free
clj \
-Sdeps '{:deps {vlaaad/reveal {:mvn/version "1.3.276"}}}' \
-X vlaaad.reveal/repl
openjdk 19.0.1 2022-10-18 Clojure 1.11.0 macOS Ventura 13.0.1
Same issue for me. openjdk 17.0.7 2023-04-18 Clojure 1.11.1 macOS Ventura 13.1
Is it possible you guys use arm jdk?
I get the exception with an ARM idk, yes. Free version.
Hmm, IIRC ARM support was added to JavaFX in a version that requires Java 17. I should update cljfx to pick different JavaFX dependencies based on the JDK version (selecting between 8, 11, and 17 — currently it only does 8 and 11), then make a new Reveal release with the updated cljfx...
Please try Reveal version 1.3.282
to see if it fixes the issue (you should use JDK 17 or above)
My results just launching from the CLI
host@local % clj \ -Sdeps '{:deps {dev.vlaaad/reveal-pro {:mvn/version "1.3.282"}}}' \ -X vlaaad.reveal/repl Error building classpath. Could not find artifact dev.vlaaad:reveal-pro:jar:1.3.282 in central (https://repo1.maven.org/maven2/) host@local % clj \ -Sdeps '{:deps {dev.vlaaad/reveal-pro {:mvn/version "1.3.359"}}}' \ -X vlaaad.reveal/repl Downloading: org/openjfx/javafx-controls/17.0.2/javafx-controls-17.0.2.pom from central Downloading: org/openjfx/javafx-graphics/17.0.2/javafx-graphics-17.0.2.pom from central Downloading: org/openjfx/javafx-base/17.0.2/javafx-base-17.0.2.pom from central Downloading: org/openjfx/javafx-media/17.0.2/javafx-media-17.0.2.pom from central Downloading: org/openjfx/javafx-web/17.0.2/javafx-web-17.0.2.pom from central Downloading: org/openjfx/javafx/17.0.2/javafx-17.0.2.pom from central Downloading: org/openjfx/javafx-base/17.0.2/javafx-base-17.0.2-mac-aarch64.jar from central Downloading: org/openjfx/javafx-media/17.0.2/javafx-media-17.0.2.jar from central Downloading: org/openjfx/javafx-graphics/17.0.2/javafx-graphics-17.0.2.jar from central Downloading: org/openjfx/javafx-controls/17.0.2/javafx-controls-17.0.2.jar from central Downloading: org/openjfx/javafx-graphics/17.0.2/javafx-graphics-17.0.2-mac-aarch64.jar from central Downloading: org/openjfx/javafx-controls/17.0.2/javafx-controls-17.0.2-mac-aarch64.jar from central Downloading: org/openjfx/javafx-base/17.0.2/javafx-base-17.0.2.jar from central Downloading: org/openjfx/javafx-media/17.0.2/javafx-media-17.0.2-mac-aarch64.jar from central Downloading: cljfx/cljfx/1.7.19/cljfx-1.7.19-jdk11.jar from clojars Downloading: org/openjfx/javafx-web/17.0.2/javafx-web-17.0.2-mac-aarch64.jar from central Downloading: org/openjfx/javafx-web/17.0.2/javafx-web-17.0.2.jar from central Clojure 1.11.1 user=>
Java Version
host@local % java -version openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode)
This is on an ARM MacBook Air. MacOS 14.2.1
@dogenpunk 1.3.282 is reveal free, reveal pro is 1.3.363
Using reveal-pro 1.3.363 works as expected on JDK 17. Thanks!
MacOS version: 13.0.1 Clojure version: 1.11.1.1189 OpenJDK version: 11.0.17
deps.edn:
Results are the same using
% clojure -M:reveal
and callingvlaaad.reveal/tap-log
orvlaaad.reveal/repl
. I've done this in a fresh directory and have deleted .cpcache on subsequent attempts.