I know this is extremely non-specific, but after c...
# help
i
I know this is extremely non-specific, but after converting the pipeline to typed params I am consistently getting a
StackOverflowError
when trying a test run no matter what I do. Upon checking the log, I saw that the reason is an infinite loop that starts like this:
Copy code
nextflow.file.http.XPath.iterator(XPath.groovy:242)
    at groovy.json.DefaultJsonGenerator.writeObject(DefaultJsonGenerator.java:206)
    at groovy.json.DefaultJsonGenerator.writeObject(DefaultJsonGenerator.java:168)
    at groovy.json.DefaultJsonGenerator.writeIterator(DefaultJsonGenerator.java:416)
    at groovy.json.DefaultJsonGenerator.writeObject(DefaultJsonGenerator.java:206)
Has anyone encountered ths before? The error messages are entirely unhelpful, and I cannot pinpoint where things go wrong. AI suggests bogus theories that don't match the code
m
test run as it
nextflow run . -profile test
? or with nf-test
i
Just a
nextflow run
, given the magnitude of the change I want to sort this out before trying any nf-tests
m
which nextflow version?
i
26.04.6
Although I have to double-check that I have the patch
m
and it is not related to your usual proxy problems?
i
It's not, I moved to a Codespace because of the problems
I was on 26.04.4 but updating to 26.04.6 does not fix the issue
n
m
of course this blog post has the solution 😁
🎉 1
n
I lost count how many times I copied the link to it 😁
i
I followed the solution, but seemingly it doesn't solve the issue, even after removing
work
and
.nextflow
for extra safety
n
Could you send me the log or the full stacktrace of the error?
i
reportho_crash_log.txt
n
you are using nf-schema 2.5.1, you need to update to at least 2.7.1
i
Okay, thanks. Changing the version in the config indeed fixes the issue
🎉 1
Fixed some minor problems and it runs, thanks again
🙌 1