specifying :renderer causes immediate crash

24 views
Skip to first unread message

Jason Fabris

unread,
Dec 5, 2021, 1:51:34 PM12/5/21
to clj-processing
Hi,

If I include the renderer line below, the REPL closes with an error.
If I comment it out, all works fine. 

I am using emacs & cider & deps.edn. 
I am on linux, and java version is:
openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8)
OpenJDK 64-Bit Server VM (build 11.0.13+8, mixed mode)

I had two different errors... And it happens no matter what I use for the renderer. (I was trying to get :p3d to work, so I initially thought it was a problem there. But I took an otherwise fine project and it breaks when I try to specify a renderer.)

1.
error in process sentinel: Could not start nREPL server

2.
[nREPL] Connection closed unexpectedly (connection broken by remote peer)

(Abridged defsketch, but it works fine without specifying renderer.)

(q/defsketch bedhead_attr
  :title "Attractor"
  :size [W H]
  :setup setup
  :update update-state
  :draw draw-state
  ;; :renderer :p2d
)

Any idea what is happening? Java problems? 

Thanks!
Jason

Jason Fabris

unread,
Dec 11, 2021, 4:50:13 PM12/11/21
to clj-processing
Slight update.
The sketch worked briefly, at random. Then stopped working again. Without any edits...
And a full reboot doesn't seem to influence whether it works or not. 
So strange.
Reply all
Reply to author
Forward
0 new messages