This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-30
Channels
- # announcements (20)
- # asami (26)
- # babashka (10)
- # babashka-sci-dev (18)
- # beginners (81)
- # biff (6)
- # calva (6)
- # cider (1)
- # clerk (1)
- # clj-kondo (34)
- # clojure (50)
- # clojure-belgium (1)
- # clojure-berlin (6)
- # clojure-europe (20)
- # clojure-nl (1)
- # clojure-norway (22)
- # clojure-uk (2)
- # clojurescript (1)
- # clr (4)
- # community-development (3)
- # data-science (8)
- # datomic (3)
- # gratitude (1)
- # honeysql (6)
- # instaparse (2)
- # jobs (1)
- # jobs-discuss (13)
- # kaocha (7)
- # london-clojurians (1)
- # lsp (6)
- # malli (8)
- # matcher-combinators (9)
- # missionary (3)
- # nbb (8)
- # off-topic (20)
- # pathom (16)
- # polylith (2)
- # practicalli (3)
- # rdf (1)
- # re-frame (7)
- # reagent (3)
- # releases (2)
- # reveal (6)
- # rewrite-clj (22)
- # shadow-cljs (64)
- # tools-build (7)
- # xtdb (13)
Hi, I’m new to Reveal. I’ve got NSException on my mac M1 laptop with 1.3.355
.
Below is my profiles.clj
cat ~/.lein/profiles.clj
{:repl {:dependencies [[dev.vlaaad/reveal-pro "1.3.355"]]
;;:repl-options {:nrepl-middleware [vlaaad.reveal.nrepl/middleware]}
}}
✅ 2
And here are the details
lein repl
nREPL server started on port 51294 on host 127.0.0.1 -
REPL-y 0.5.1, nREPL 1.0.0
Clojure 1.11.1
OpenJDK 64-Bit Server VM 11.0.17+0
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
user=> (require '[vlaaad.reveal :as r])
nil
user=> (r/tap-log)
nil
user=> 2023-01-30 08:30:13.571 java[51060:10306768] *** Assertion failure in -[_NSTrackingAreaAKViewHelper removeTrackingRect:], _NSTrackingAreaAKManager.m:1585
2023-01-30 08:30:13.573 java[51060:10306768] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '0x0 is an invalid NSTrackingRectTag. Common possible reasons for this are: 1. already removed this trackingRectTag, 2. Truncated the NSTrackingRectTag to 32bit at some point.'
*** First throw call stack:
(
0 CoreFoundation 0x00000001b19c4418 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x00000001b150eea8 objc_exception_throw + 60
2 Foundation 0x00000001b2904a60 -[NSCalendarDate initWithCoder:] + 0
3 AppKit 0x00000001b5153f98 -[_NSTrackingAreaAKViewHelper removeTrackingRect:] + 200
4 libglass.dylib 0x000000012eec303c -[GlassViewDelegate setFrameSize:] + 360
5 libglass.dylib 0x000000012eec8134 -[GlassView3D setFrameSize:] + 92
6 AppKit 0x00000001b4bd9ba4 -[NSView setFrame:] + 304
7 libglass.dylib 0x000000012eec8194 -[GlassView3D setFrame:] + 76
8 AppKit 0x00000001b4be7ad4 -[NSView resizeWithOldSuperviewSize:] + 508
9 AppKit 0x00000001b4be74c4 -[NSView resizeSubviewsWithOldSize:] + 360
10 AppKit 0x00000001b4bcbacc -[NSView setFrameSize:] + 1120
11 AppKit 0x00000001b4bd9ba4 -[NSView setFrame:] + 304
12 AppKit 0x00000001b4be7ad4 -[NSView resizeWithOldSuperviewSize:] + 508
13 AppKit 0x00000001b4be74c4 -[NSView resizeSubviewsWithOldSize:] + 360
14 AppKit 0x00000001b4bcbacc -[NSView setFrameSize:] + 1120
15 AppKit 0x00000001b4d68ae0 -[NSNextStepFrame setFrameSize:] + 116
16 AppKit 0x00000001b4be5a7c -[NSWindow _oldPlaceWindow:fromServer:] + 540
17 AppKit 0x00000001b4be4b8c -[NSWindow _setFrameCommon:display:fromServer:] + 1824
18 libglass.dylib 0x000000012eed3150 Java_com_sun_glass_ui_mac_MacWindow__1setBounds2 + 416
19 ??? 0x000000010aebbbfc 0x0 + 4478188540
20 ??? 0x000000010aeb719c 0x0 + 4478169500
21 ??? 0x000000010aeb719c 0x0 + 4478169500
22 ??? 0x000000010aeb719c 0x0 + 4478169500
23 ??? 0x000000010aeb71f4 0x0 + 4478169588
24 ??? 0x000000010aeb719c 0x0 + 4478169500
25 ??? 0x000000010aeb719c 0x0 + 4478169500
26 ??? 0x000000010aeb719c 0x0 + 4478169500
27 ??? 0x000000010aeb719c 0x0 + 4478169500
28 ??? 0x000000010aeb719c 0x0 + 4478169500
29 ??? 0x000000010aeb719c 0x0 + 4478169500
30 ??? 0x000000010aeb719c 0x0 + 4478169500
31 ??? 0x000000010aeb719c 0x0 + 4478169500
32 ??? 0x000000010aeb6ee0 0x0 + 4478168800
33 ??? 0x000000010aeb6fc8 0x0 + 4478169032
34 ??? 0x000000010aeb6fc8 0x0 + 4478169032
35 ??? 0x000000010aeb6fc8 0x0 + 4478169032
36 ??? 0x000000010aeb6fc8 0x0 + 4478169032
37 ??? 0x000000010aeb6fc8 0x0 + 4478169032
38 ??? 0x000000010aeb6ee0 0x0 + 4478168800
39 ??? 0x000000010aeb6fc8 0x0 + 4478169032
40 ??? 0x000000010aeb6ee0 0x0 + 4478168800
41 ??? 0x000000010aeb6fc8 0x0 + 4478169032
42 ??? 0x000000010aeb6fc8 0x0 + 4478169032
43 ??? 0x000000010aeb6fc8 0x0 + 4478169032
44 ??? 0x000000010aeb6fc8 0x0 + 4478169032
45 ??? 0x000000010aeb6ee0 0x0 + 4478168800
46 ??? 0x000000010aeb6fc8 0x0 + 4478169032
47 ??? 0x000000010aeb6fc8 0x0 + 4478169032
48 ??? 0x000000010bcb3850 0x0 + 4492834896
49 ??? 0x000000010aeb6fc8 0x0 + 4478169032
50 ??? 0x000000010aeb6ee0 0x0 + 4478168800
51 ??? 0x000000010aeb6fc8 0x0 + 4478169032
52 ??? 0x000000010aeb6fc8 0x0 + 4478169032
53 ??? 0x000000010aeb6ee0 0x0 + 4478168800
54 ??? 0x000000010aeb6fc8 0x0 + 4478169032
55 ??? 0x000000010aeb6fc8 0x0 + 4478169032
56 ??? 0x000000010aeb6fc8 0x0 + 4478169032
57 ??? 0x000000010aeb6fc8 0x0 + 4478169032
58 ??? 0x000000010aeb6ee0 0x0 + 4478168800
59 ??? 0x000000010aeb6fc8 0x0 + 4478169032
60 ??? 0x000000010aeb6fc8 0x0 + 4478169032
61 ??? 0x000000010aeb6fc8 0x0 + 4478169032
62 ??? 0x000000010aeb6ee0 0x0 + 4478168800
63 ??? 0x000000010aeb6fc8 0x0 + 4478169032
64 ??? 0x000000010aeb6fc8 0x0 + 4478169032
65 ??? 0x000000010aeb6ee0 0x0 + 4478168800
66 ??? 0x000000010aeb71f4 0x0 + 4478169588
67 ??? 0x000000010aeb6ee0 0x0 + 4478168800
68 ??? 0x000000010aeb0144 0x0 + 4478140740
69 libjvm.dylib 0x0000000101e9fa5c _ZN9JavaCalls11call_helperEP9JavaValueRK12methodHandleP17JavaCallArgumentsP6Thread + 736
70 libjvm.dylib 0x0000000101f2586c JVM_DoPrivileged + 1580
71 ??? 0x000000010bee3be0 0x0 + 4495129568
72 ??? 0x000000010aeb6ee0 0x0 + 4478168800
73 ??? 0x000000010aeb719c 0x0 + 4478169500
74 ??? 0x000000010aeb71f4 0x0 + 4478169588
75 ??? 0x000000010aeb0144 0x0 + 4478140740
76 libjvm.dylib 0x0000000101e9fa5c _ZN9JavaCalls11call_helperEP9JavaValueRK12methodHandleP17JavaCallArgumentsP6Thread + 736
77 libjvm.dylib 0x0000000101ee43e4 _ZL20jni_invoke_nonstaticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP6Thread + 556
78 libjvm.dylib 0x0000000101ee7d34 jni_CallVoidMethod + 256
79 libglass.dylib 0x000000012eebea58 -[GlassRunnable run] + 92
80 Foundation 0x00000001b286cb30 __NSThreadPerformPerform + 264
81 CoreFoundation 0x00000001b1949a34 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
82 CoreFoundation 0x00000001b19499c8 __CFRunLoopDoSource0 + 176
83 CoreFoundation 0x00000001b1949738 __CFRunLoopDoSources0 + 244
84 CoreFoundation 0x00000001b194833c __CFRunLoopRun + 836
85 CoreFoundation 0x00000001b19478a4 CFRunLoopRunSpecific + 612
86 HIToolbox 0x00000001bafbb3bc RunCurrentEventLoopInMode + 292
87 HIToolbox 0x00000001bafbb200 ReceiveNextEventCommon + 672
88 HIToolbox 0x00000001bafbaf48 _BlockUntilNextEventMatchingListInModeWithFilter + 72
89 AppKit 0x00000001b4ba0630 _DPSNextEvent + 632
90 AppKit 0x00000001b4b9f7c0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
91 AppKit 0x00000001b4b93bf0 -[NSApplication run] + 464
92 libglass.dylib 0x000000012eec0be0 -[GlassApplication runLoop:] + 1996
93 Foundation 0x00000001b286cb30 __NSThreadPerformPerform + 264
94 CoreFoundation 0x00000001b1949a34 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
95 CoreFoundation 0x00000001b19499c8 __CFRunLoopDoSource0 + 176
96 CoreFoundation 0x00000001b1949738 __CFRunLoopDoSources0 + 244
97 CoreFoundation 0x00000001b194833c __CFRunLoopRun + 836
98 CoreFoundation 0x00000001b19478a4 CFRunLoopRunSpecific + 612
99 libjli.dylib 0x0000000100f2f2dc CreateExecutionEnvironment + 400
100 libjli.dylib 0x0000000100f2b8c0 JLI_Launch + 1204
101 java 0x0000000100e6fbb0 main + 396
102 dyld 0x00000001b153fe50 start + 2544
)
libc++abi: terminating with uncaught exception of type NSException
/opt/homebrew/Cellar/leiningen/2.10.0/libexec/bin/lein: line 71: 51060 Abort trap: 6 "$LEIN_JAVA_CMD" -Dfile.encoding=UTF-8 -Dmaven.wagon.http.ssl.easy=false -Dmaven.wagon.rto=10000 $LEIN_JVM_OPTS -Dleiningen.input-checksum="$INPUT_CHECKSUM" -Dleiningen.original.pwd="$ORIGINAL_PWD" -Dleiningen.script="$SCRIPT" -classpath "$CLASSPATH" clojure.main -m leiningen.core.main "$@"
I guess so. As I setup my env with the tutorial below https://gist.github.com/bhb/b44235034b0cb62604a565165abec39f
But my JVM is different:
java -version
openjdk version "11.0.17" 2022-10-18
OpenJDK Runtime Environment Homebrew (build 11.0.17+0)
OpenJDK 64-Bit Server VM Homebrew (build 11.0.17+0, mixed mode)
It works after I fixed my JAVA_HOME. As I used a hardcoded path from my .zshrc. And install a new zulu19, and then everything works fine.
java -version
openjdk version "19.0.2" 2023-01-17
OpenJDK Runtime Environment Zulu19.32+13-CA (build 19.0.2+7)
OpenJDK 64-Bit Server VM Zulu19.32+13-CA (build 19.0.2+7, mixed mode, sharing)
👍 2