Error: Detected a started Thread in the image heap. Thread name: main. Threads running in the image generator are no longer running at image runtime. Object has been initialized in a core JDK class that is not instrumented for class initialization tracking. Therefore, a stack trace cannot be provided.
Please try to infer from the source code how the culprit object got instantiated.
The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image runtime by using the option --initialize-at-run-time=<class-name>. Or you can write your own initialization methods and call them explicitly from your main entry point.
Trace: Object was reached by
reading field clojure.lang.Var$TBox.thread of constant
clojure.lang.Var$TBox@7ab8739d: clojure.lang.Var$TBox@7ab8739d
indexing into array java.lang.Object[]@65ee555d: [Ljava.lang.Object;@65ee555d
reading field clojure.lang.PersistentHashMap$BitmapIndexedNode.array of constant
...
Finished generating 'bllm' in 1m 23s.
Generating fallback image...
Warning: Image 'bllm' is a fallback image that requires a JDK for execution (use --no-fallback to suppress fallback image generation and to print more detailed information why a fallback image was necessary).
bb native:image
results in