I’m getting a `ERROR ~ Unexpected error [StackOver...
# help
m
I’m getting a
ERROR ~ Unexpected error [StackOverflowError]
error on the dev version of my pipeline. Anyone any idea what might be causing it? FYI, this is when using
nf-test
with
NXF_VER=26.01.1-edge
to test strict syntax
EDIT, both on 25.10.4 and edge
m
you think it is related to https://github.com/nf-core/modules/pull/10082 because it seems to fail at that step?
m
It might, but I don't see why the module tests would have passed if there was a serious issue 🤔
m
can you downgrade just to be sure?
m
I'll give it a look tomorrow. I suspect it's something to do with the funky version cmd you flagged earlier.
m
nuh, actually learned that
|&
is a shorthand for
2>&1 |
so should be good
m
Must be nf-test related 🤔 Can’t reproduce the error when running nextflow with the same config
ping @Nicolas Vannieuwkerke, so you can follow along
n
Strange, does it happen for all your tests?
m
Nope, only when running the full pipeline. Subworkflows work without any issues
So I’m thinking memory issue 🤷🏻
n
Hmmm remind me later today to take a look at it please
👍🏻 1
m
nf-test
also seems to pass on the CI runners 🤔
🤔 1
n
What's your local java version?
m
Copy code
java --version
openjdk 17.0.15 2025-04-15 LTS
OpenJDK Runtime Environment Zulu17.58+21-CA (build 17.0.15+6-LTS)
OpenJDK 64-Bit Server VM Zulu17.58+21-CA (build 17.0.15+6-LTS, mixed mode, sharing)
n
Okay that isn't a problem
Does it still happen locally after you delete the
.nf-test
folder?
m
Tried it, doesn’t work
🤔 1
n
what's your nf-test version?
m
Copy code
nf-test version

🚀 nf-test 0.9.4
<https://www.nf-test.com>
(c) 2021 - 2024 Lukas Forer and Sebastian Schoenherr

Nextflow Runtime:
    > 
    >       N E X T F L O W
    >       version 25.10.4 build 11173
    >       created 10-02-2026 15:17 UTC (16:17 CEST)
    >       cite doi:10.1038/nbt.3820
    >       <http://nextflow.io>
    >
n
Your CI still uses nf-test 0.9.3 😛
so it's probably an issue in the new version
m
facepalm
So yeah,
nf-test
0.9.4 is the issue..
Everything works perfectly on 0.9.3
n
You've probably hit an edge case with the new templates in nf-test 🤔
Could you open an issue? Preferably with a MRE?