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
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!'
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