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

java.lang.NoSuchMethodError: 'com.fasterxml.jackson.core.io.ContentReference com.fasterxml.jackson.dataformat.yaml.YAMLFactory._createContentReference(java.lang.Object)' #411

Closed
maressyl opened this issue Sep 28, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@maressyl
Copy link

maressyl commented Sep 28, 2023

Description of the bug

Running the last 2.4.0 release with Tower triggers an error.

Command used and terminal output

./nextflow-23.04.4-all -c HCL.conf run maressyl/rnafusion -r 2.4.0-HCL -profile singularity --outdir build --pizzly --starfusion --fusioncatcher --arriba --build_references --cosmic_username "REDACTED" --cosmic_passwd "REDACTED"
Sep-28 12:24:20.514 [main] ERROR nextflow.cli.Launcher - @unknown
java.lang.NoSuchMethodError: 'com.fasterxml.jackson.core.io.ContentReference com.fasterxml.jackson.dataformat.yaml.YAMLFactory._createContentReference(java.lang.Object)'
        at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:413)
        at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:15)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3561)
        at org.apache.groovy.yaml.util.YamlConverter.convertYamlToJson(YamlConverter.java:42)
        at groovy.yaml.YamlSlurper.parse(YamlSlurper.java:61)
        at groovy.yaml.YamlSlurper.parse(YamlSlurper.java:71)
        at groovy.yaml.YamlSlurper.parse(YamlSlurper.java:92)
        at io.seqera.tower.plugin.TowerReports.parseReportEntries(TowerReports.groovy:155)
        at io.seqera.tower.plugin.TowerReports.flowCreate(TowerReports.groovy:65)
        at io.seqera.tower.plugin.TowerClient.onFlowCreate(TowerClient.groovy:295)
        at nextflow.Session$_notifyFlowCreate_closure23.doCall(Session.groovy:1054)
        at nextflow.Session$_notifyFlowCreate_closure23.call(Session.groovy)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2357)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2342)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2383)
        at nextflow.Session.notifyFlowCreate(Session.groovy:1054)
        at nextflow.Session.start(Session.groovy:517)
        at nextflow.script.ScriptRunner.execute(ScriptRunner.groovy:125)
        at nextflow.cli.CmdRun.run(CmdRun.groovy:368)
        at nextflow.cli.Launcher.run(Launcher.groovy:494)
        at nextflow.cli.Launcher.main(Launcher.groovy:665)

Relevant files

HCL.conf

singularity.envWhitelist = "http_proxy,https_proxy"

tower {
  enabled = true
  accessToken = 'REDACTED'
  workspaceId = 'REDACTED'
}

System information

@maressyl maressyl added the bug Something isn't working label Sep 28, 2023
@maressyl
Copy link
Author

Running with tower.enabled = false does not trigger the error.

@maressyl
Copy link
Author

maressyl commented Sep 28, 2023

It seems to work with the latest Nextflow pre-release (nextflow-23.09.2-edge-all), it would be reassuring to use a Nextflow version for which automated tests were launched and pass though.

@rannick
Copy link
Collaborator

rannick commented Oct 2, 2023

Hi Sylvain, just to let you know that I have seen this, but I am not sure yet how to fix it. I want to merge the new template first and check then

@maressyl
Copy link
Author

maressyl commented Oct 2, 2023

No problem, this one can be worked around. Good luck !

@rannick
Copy link
Collaborator

rannick commented Oct 30, 2023

Which version of tower are you using? I am wondering if that could be the issue

@rannick rannick self-assigned this Oct 30, 2023
@rannick
Copy link
Collaborator

rannick commented Nov 1, 2023

As the linked issue says: "this is a problem with Nextflows Tower plugin and its dependencies" and not a problem of rnafusion, I will close this

@rannick rannick closed this as completed Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants