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

Error when using Nextflow 22.10.7: Unable to parse config file...compile failed for sources FixedSetSources... #92

Open
imanamoeba opened this issue Jun 7, 2024 · 1 comment

Comments

@imanamoeba
Copy link

Hi,
After encountering the same issue as described in post #91, I am trying to run NanoCLUST with an older version of NextFLOW. I am using a silicon-processor Mac (ARM). Below are the two commands entered the error message obtained, regardless of whether I use the Conda or docker installation. I haven't altered the nextflow.config file in any way...maybe I need to?? Apologies if I am missing something obvious here, any info/thoughts appreciated.
Thanks,
Bonnie

 export NXF_VER=22.10.7

 nextflow run main.nf -profile conda  --reads 'test_datasets/mock4_run3bc08_5000.fastq' --db "db/16S_ribosomal_RNA" --tax "db/taxdb/"

Nextflow 24.04.2 is available - Please consider updating your version to it
N E X T F L O W  ~  version 22.10.7
Unable to parse config file: '/Users/.../NanoCLUST/nextflow.config'

  Compile failed for sources FixedSetSources[name='/groovy/script/Script769D0E0F48FF1AF570569C1B7DE2AB88/_nf_config_9636466f']. Cause: BUG! exception in phase 'semantic analysis' in source unit '/groovy/script/Script769D0E0F48FF1AF570569C1B7DE2AB88/_nf_config_9636466f' Unsupported class file major version 65 
@herrzhull
Copy link

Late to the party, but this is caused by Java being too new.
I solved it by referencing an older java in my session (Ubuntu system).

export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
export PATH=$JAVA_HOME/bin:$PATH
java -version
NXF_VER=22.10.7 nextflow run main.nf -profile test,docker

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

No branches or pull requests

2 participants