v0.1.36 with forced GraalVM 21.x: Linux Binary crashes when opening a DirectoryChooser
See original GitHub issueUsing the Gist I’ve created for an unrelated issue with GraalVM I’ve added the following in App.kt
private fun Button.chooseTargetDir(): File? =
scene.window.let {
DirectoryChooser().apply {
val userHome = System.getProperty("user.home")
if (userHome != null && userHome.isNotEmpty()) initialDirectory = File(userHome)
title = "Test"
}.showDialog(it)
}
and replaced the last buttons (“Show Dialog”) content with
action {
chooseTargetDir()?.also { System.err.println(it) }
}
The app compiles and executes, but crashes as soon as you hit the “Show Dialog” button.
Reverting to 0.1.35 and GraalVM 20.3.x “solves” the issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
gluonfx-maven-plugin - bytemeta
v0.1.36 with forced GraalVM 21.x: Linux Binary crashes when opening a DirectoryChooser · Previous Next. Make software development more efficient, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@bgmf Sorry it took a while… but 0.1.39 has just been released. Note that we are moving back again to our own GraalVM build https://github.com/gluonhq/graal/releases/latest
Once this [PR|https://github.com/gluonhq/substrate/pull/880] gets integrated, this issue should be fixed.