Problems regarding example programs...help!!

16 views
Skip to first unread message

Wenxuan Guo

unread,
Sep 7, 2020, 6:17:34 PM9/7/20
to scalismo
Hello,

I am new to Scala and Scalismo and I just started the tutorials. Note: I googled for a whole day and people seem to have the same problems...but there is no satisfying answer.

I tried running the pink mean face/minimal-scalismo-seed example code according to this tutorial, the code compiled, but the UI crashed and I got this error:

macOS Mojeve
OpenJDK 14.0.2
scala 2.12.8 according to build.sbt (I installed scala 2.13.3)
sbt 1.3.8

Screen Shot 2020-09-07 at 5.50.38 PM.png


I think there is probably some incompatibility between jdk and sbt, so I reinstalled JDK 8 and manually adjusted the sbt versions to fit the tutorials, and now I got this error message:

Java SE 8
scala 2.12.8
sbt 1.0.4

2020-09-07 18:13:36.938 java[6357:324877] Apple AWT Internal Exception: NSWindow drag regions should only be invalidated on the Main Thread!
2020-09-07 18:13:36.938 java[6357:324877] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
Screen Shot 2020-09-07 at 5.58.20 PM.png

I tried AdoptOpenJDK 11 as well, which has the same errors as JDK 14.

Does anyone know how to deal with this situation? Thanks a million!

Best wishes,
Wen

Reply all
Reply to author
Forward
0 new messages