Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

24.10.x causes StackOverflowError #265

Open
drernie opened this issue Nov 19, 2024 · 5 comments · May be fixed by #268
Open

24.10.x causes StackOverflowError #265

drernie opened this issue Nov 19, 2024 · 5 comments · May be fixed by #268
Assignees

Comments

@drernie
Copy link
Member

drernie commented Nov 19, 2024

./nextflow run nf-core/fetchngs -plugins nf-quilt  -profile test,docker --input ../nf-quilt/wf/ids.csv --outdir s3://quilt-ernest-staging/nf-quilt/fetchngs

cat ../nf-quilt/wf/ids.csv
SRR9984183

Nov-18 17:17:06.585 [main] INFO org.pf4j.AbstractPluginManager - Plugin '[email protected]' resolved
ERROR nextflow.quilt.jep.QuiltPackage - toJson.error
groovy.lang.MissingMethodException: No signature of method: java.lang.Integer.multiply() is applicable for argument types: (ConfigObject) values: [[:]]

@drernie
Copy link
Member Author

drernie commented Nov 19, 2024

That error is benign (caught). The real crasher seems to be java.lang.StackOverflowError in writeNextflowMetadata[workflow]

Nov-18 18:06:25.242 [main] DEBUG nextflow.quilt.QuiltProduct - writeNextflowMetadata[workflow]: nf-quilt/workflow.json
Nov-18 18:06:25.242 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "runName" [28]
Nov-18 18:06:25.242 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "scriptId" [46]
Nov-18 18:06:25.242 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "scriptFile" [50]
Nov-18 18:06:25.242 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "scriptName" [21]
Nov-18 18:06:25.242 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "repository" [18]
Nov-18 18:06:25.242 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "commitId" [18]
Nov-18 18:06:25.242 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "revision" [18]
Nov-18 18:06:25.242 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "start" [46]
Nov-18 18:06:25.243 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "complete" [46]
Nov-18 18:06:25.243 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "duration" [17]
Nov-18 18:06:25.244 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "container" [17]
Nov-18 18:06:25.244 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "commandLine" [201]
Nov-18 18:06:25.244 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "nextflow" [256]
Nov-18 18:06:25.244 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "success" [18]
Nov-18 18:06:25.244 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "projectDir" [42]
Nov-18 18:06:25.244 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "projectName" [21]
Nov-18 18:06:25.244 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "launchDir" [42]
Nov-18 18:06:25.244 [main] DEBUG nextflow.quilt.jep.QuiltPackage - QuiltPackage.toJson: "outputDir" [50]
Nov-18 18:06:25.259 [main] DEBUG nextflow.Session - Session aborted -- Cause: java.lang.StackOverflowError
Nov-18 18:06:25.271 [main] DEBUG nextflow.Session - 
Thread[pool-2-thread-8,5,main]

@drernie
Copy link
Member Author

drernie commented Nov 19, 2024

Ah! When I update from 24.09.2-edge to 24.10.0.5928 I can reproduce the error:

ERROR ~ Unexpected error [StackOverflowError]

Before, I could not. I wonder if 24.10.1 fixes it...
version 24.10.1 build 5930
Update: No, it does not.

@drernie drernie changed the title JSON ERROR ~ Unknown method invocation multiply on Integer type 24.10.x causes StackOverflowError Nov 19, 2024
@drernie drernie self-assigned this Nov 26, 2024
@drernie
Copy link
Member Author

drernie commented Nov 27, 2024

NXF_VER=24.10.1 ../nextflow/nextflow run nf-core/fetchngs -plugins nf-quilt -profile test,docker --input wf/ids.csv --outdir s3://quilt-ernest-staging/nf-quilt/fetchngs

@drernie drernie linked a pull request Nov 27, 2024 that will close this issue
@drernie drernie linked a pull request Nov 27, 2024 that will close this issue
@drernie
Copy link
Member Author

drernie commented Nov 27, 2024

Interestingly, 24.09 uses "workDir" instead of 'outputDir'
workflow.json

@drernie
Copy link
Member Author

drernie commented Dec 6, 2024

Error still occurs on 24.10.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant