Skip to content

[GR-64736] [Native Image, WASM] StackWalker.walk is not implemented #11121

Open
@handicraftsman

Description

@handicraftsman

Describe the issue
It is the same as in #1172

My first test after seeing https://www.youtube.com/watch?v=Z2SWSIThHXY was running a Spring Boot (web-less; yes, I know, not very efficient), yet I am getting next:

Steps to reproduce the issue
Generate a blank Spring Boot app (no starter-web/webflux).
I am using Gradle Kotlin for the build script, so I have added next to build.gradle.kts:

graalvmNative {
  binaries["main"].buildArgs.add("--tool:svm-wasm")
}

Then ./gradlew.bat nativeCompile

Describe GraalVM and your environment:
java version "25" 2025-09-16 LTS
Java(TM) SE Runtime Environment Oracle GraalVM 25-dev+20.1 (build 25+20-LTS-jvmci-b01)
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 25-dev+20.1 (build 25+20-LTS-jvmci-b01, mixed mode, sharing)

Windows 11 x64

More details

demo.js:266 Exception in thread "main" java.lang.UnsupportedOperationException: StackWalker.walk
writeLine @ demo.js:266Understand this error
demo.js:266 	at genBacktrace (http://localhost:8000/demo.js:1229:12)
writeLine @ demo.js:266Understand this error
demo.js:266 	at genBacktrace (http://localhost:8000/demo.js:1299:32)
writeLine @ demo.js:266Understand this error
demo.js:266 	at wasm://wasm/051f4022:wasm-function[20624]:0x640f94
writeLine @ demo.js:266Understand this error
demo.js:266 	at wasm://wasm/051f4022:wasm-function[20633]:0x64261e
writeLine @ demo.js:266Understand this error
demo.js:266 	at wasm://wasm/051f4022:wasm-function[30455]:0x8f0f74
writeLine @ demo.js:266Understand this error
demo.js:266 	at wasm://wasm/051f4022:wasm-function[30424]:0x8eeb65
writeLine @ demo.js:266Understand this error
demo.js:266 	at wasm://wasm/051f4022:wasm-function[31769]:0x932cb6
writeLine @ demo.js:266Understand this error
demo.js:266 	at doRun (http://localhost:8000/demo.js:1195:22)
writeLine @ demo.js:266Understand this error
demo.js:266 	at wasmRun (http://localhost:8000/demo.js:912:9)

Metadata

Metadata

Assignees

Labels

bugwasm-backendIssues related to the Wasm backend of GraalVM.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions