Skip to content

CAPSULE EXCEPTION: Capsule not extracted. Unable to initialize nextflow environment #5782

@CampingOnSeabed

Description

@CampingOnSeabed

Bug report

I tried to run nextflow-24.04.1-all, it failed. AND, i also run normal nextflow, it is normal. But I need to do analysis on hpc, so i have to use nextflow-24.04.1-all
Thank you for help!

Expected behavior and actual behavior

Steps to reproduce the problem

(Provide a test case that reproduce the problem either with a self-contained script or GitHub repository)

Program output

the nextflow-24.04.1-all
(RNA) [chusy2024@hpc-login RNA]$ /public/slst/home/chusy2024/RNA/nextflow-24.04.1-all
it turns out:
CAPSULE EXCEPTION: Capsule not extracted. while processing attribute App-Class-Path: [/public/slst/home/chusy2024/RNA/nextflow-24.04.1-all, [nf-amazon-2.5.2.jar, nextflow-24.04.1.jar, ivy-2.5.2.jar, nf-httpfs-24.04.1.jar, jaxb-api-2.4.0-b180830.0359.jar, aws-java-sdk-s3-1.12.604.jar, aws-java-sdk-ec2-1.12.604.jar, aws-java-sdk-batch-1.12.604.jar, aws-java-sdk-iam-1.12.604.jar, aws-java-sdk-ecs-1.12.604.jar, aws-java-sdk-logs-1.12.604.jar, aws-java-sdk-codecommit-1.12.604.jar, aws-java-sdk-sts-1.12.604.jar, aws-java-sdk-ses-1.12.604.jar, sso-2.20.89.jar, ssooidc-2.20.89.jar, nf-commons-24.04.1.jar, groovy-nio-4.0.21.jar, groovy-templates-4.0.21.jar, groovy-xml-4.0.21.jar, groovy-json-4.0.21.jar, groovy-4.0.21.jar, groovy-yaml-4.0.21.jar, aws-java-sdk-kms-1.12.604.jar, aws-java-sdk-core-1.12.604.jar, jmespath-java-1.12.604.jar, jackson-dataformat-cbor-2.17.0.jar, jackson-core-2.17.0.jar, jackson-annotations-2.17.0.jar, jackson-dataformat-yaml-2.17.0.jar, jackson-databind-2.17.0.jar, apache-client-2.20.89.jar, httpclient-4.5.13.jar, jcl-over-slf4j-2.0.7.jar, jul-to-slf4j-2.0.7.jar, log4j-over-slf4j-2.0.7.jar, logback-classic-1.4.14.jar, logback-core-1.4.14.jar, gpars-1.2.1.jar, grengine-3.0.2.jar, commons-lang-2.6.jar, pf4j-update-2.3.0.jar, commons-codec-1.15.jar, commons-io-2.11.0.jar, jcommander-1.35.jar, kryo-2.24.0.jar, leveldb-0.12.jar, org.eclipse.jgit-6.6.1.202309021850-r.jar, mail-1.4.7.jar, activation-1.1.1.jar, snakeyaml-2.2.jar, jsoup-1.15.4.jar, jline-2.9.jar, pf4j-3.10.0.jar, failsafe-3.1.0.jar, javax.activation-api-1.2.0.jar, aws-json-protocol-2.20.89.jar, protocol-core-2.20.89.jar, aws-core-2.20.89.jar, auth-2.20.89.jar, regions-2.20.89.jar, json-utils-2.20.89.jar, sdk-core-2.20.89.jar, profiles-2.20.89.jar, netty-nio-client-2.20.89.jar, http-client-spi-2.20.89.jar, metrics-spi-2.20.89.jar, utils-2.20.89.jar, endpoints-spi-2.20.89.jar, annotations-2.20.89.jar, third-party-jackson-core-2.20.89.jar, guava-33.0.0-jre.jar, gson-2.10.1.jar, slf4j-api-2.0.7.jar, multiverse-core-0.7.0.jar, jsr166y-1.7.0.jar, objenesis-2.1.jar, leveldb-api-0.12.jar, JavaEWAH-1.2.3.jar, java-semver-0.9.0.jar, ion-java-1.0.2.jar, joda-time-2.8.1.jar, reactive-streams-1.0.3.jar, eventstream-1.0.1.jar, httpcore-4.4.13.jar, netty-codec-http2-4.1.86.Final.jar, netty-codec-http-4.1.86.Final.jar, netty-handler-4.1.86.Final.jar, netty-codec-4.1.86.Final.jar, netty-transport-classes-epoll-4.1.86.Final.jar, netty-transport-native-unix-common-4.1.86.Final.jar, netty-transport-4.1.86.Final.jar, netty-buffer-4.1.86.Final.jar, netty-resolver-4.1.86.Final.jar, netty-common-4.1.86.Final.jar, failureaccess-1.0.2.jar, listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar, jsr305-3.0.2.jar, checker-qual-3.41.0.jar, error_prone_annotations-2.23.0.jar, byte-buddy-1.14.9.jar, nf-google-1.13.2.jar, google-cloud-batch-0.29.0.jar, google-cloud-logging-3.8.0.jar, google-cloud-nio-0.124.8.jar, google-cloud-storage-2.9.3.jar, google-cloud-core-2.8.0.jar, gax-2.36.0.jar, google-auth-library-oauth2-http-1.20.0.jar, google-api-services-lifesciences-v2beta-rev20210527-1.31.5.jar, google-api-services-storage-v1-rev20220705-1.32.1.jar, google-api-client-1.35.1.jar, google-oauth-client-1.34.1.jar, google-http-client-gson-1.43.3.jar, google-http-client-apache-v2-1.42.0.jar, google-http-client-1.43.3.jar, httpclient-4.5.14.jar, commons-codec-1.16.0.jar, gax-grpc-2.36.0.jar, grpc-inprocess-1.58.0.jar, grpc-services-1.58.0.jar, grpc-util-1.58.0.jar, grpc-core-1.58.0.jar, protobuf-java-util-3.24.4.jar, opencensus-contrib-http-util-0.31.1.jar, api-common-2.19.0.jar, proto-google-cloud-batch-v1alpha-0.29.0.jar, proto-google-cloud-batch-v1-0.29.0.jar, proto-google-cloud-logging-v2-0.97.0.jar, auto-value-annotations-1.10.4.jar, opencensus-api-0.31.1.jar, grpc-context-1.58.0.jar, grpc-api-1.58.0.jar, google-auth-library-credentials-1.20.0.jar, google-http-client-jackson2-1.42.0.jar, grpc-stub-1.58.0.jar, grpc-protobuf-1.58.0.jar, grpc-protobuf-lite-1.58.0.jar, javax.annotation-api-1.3.2.jar, proto-google-iam-v1-1.22.0.jar, proto-google-common-protos-2.27.0.jar, protobuf-java-3.24.4.jar, grpc-google-common-protos-2.27.0.jar, j2objc-annotations-2.8.jar, grpc-google-iam-v1-1.22.0.jar, annotations-4.1.1.4.jar, animal-sniffer-annotations-1.23.jar, grpc-alts-1.58.0.jar, grpc-grpclb-1.58.0.jar, conscrypt-openjdk-uber-2.5.2.jar, grpc-auth-1.58.0.jar, grpc-netty-shaded-1.58.0.jar, perfmark-api-0.26.0.jar, grpc-googleapis-1.58.0.jar, grpc-xds-1.58.0.jar, opencensus-proto-0.2.0.jar, re2j-1.7.jar, gax-httpjson-2.36.0.jar, httpcore-4.4.16.jar, threetenbp-1.6.8.jar, bcpkix-jdk15on-1.67.jar, bcprov-jdk15on-1.67.jar, google-cloud-core-grpc-2.6.0.jar, javax.inject-1.jar, google-cloud-core-http-2.8.0.jar, google-http-client-appengine-1.42.0.jar, nf-tower-1.9.1.jar, nf-wave-1.4.2.jar, wave-utils-0.12.1.jar, commons-compress-1.26.1.jar, commons-codec-1.16.1.jar, commons-io-2.15.1.jar, commons-lang3-3.14.0.jar, wave-api-0.9.1.jar, moshi-adapters-1.14.0.jar, moshi-1.14.0.jar, okio-jvm-2.10.0.jar, kotlin-stdlib-jdk8-1.7.0.jar, kotlin-stdlib-jdk7-1.7.0.jar, kotlin-stdlib-1.7.0.jar, kotlin-stdlib-common-1.7.0.jar, annotations-13.0.jar]] (for stack trace, run with -Dcapsule.log=verbose)
Unable to initialize nextflow environment

Here is the normal nextflow
(RNA) [chusy2024@hpc-login RNA]$ "/public/slst/home/chusy2024/RNA/nextflow"
Usage: nextflow [options] COMMAND [arg...]

Options:
-C
Use the specified configuration file(s) overriding any defaults
-D
Set JVM properties
-bg
Execute nextflow in background
-c, -config
Add the specified file to configuration set
-config-ignore-includes
Disable the parsing of config includes
-h
Print this help
-log
Set nextflow log file path
-q, -quiet
Do not print information messages
-remote-debug
Enable JVM interactive remote debugging (experimental)
-syslog
Send logs to syslog server (eg. localhost:514)
-trace
Enable trace level logging for the specified package name - multiple packages can be provided separating them with a comma e.g. '-trace nextflow,io.seqera'
-v, -version
Print the program version

Commands:
clean Clean up project cache and work directories
clone Clone a project into a folder
config Print a project configuration
console Launch Nextflow interactive console
drop Delete the local copy of a project
help Print the usage help for a command
info Print project and system runtime information
inspect Inspect process settings in a pipeline project
kuberun Execute a workflow in a Kubernetes cluster (experimental)
list List all downloaded projects
log Print executions log and runtime info
plugin Execute plugin-specific commands
pull Download or update a project
run Execute a pipeline project
secrets Manage pipeline secrets
self-update Update nextflow runtime to the latest available version
view View project script file(s)

This is my java situation
(RNA) [chusy2024@hpc-login RNA]$ java -version
openjdk version "17.0.10-internal" 2024-01-16
OpenJDK Runtime Environment (build 17.0.10-internal+0-adhoc..src)
OpenJDK 64-Bit Server VM (build 17.0.10-internal+0-adhoc..src, mixed mode, sharing)

Environment

  • Nextflow version: [24.04.1]
  • Java version: [17.0.10]
  • Operating system: [Linux, ]
  • Bash version: (4.2.46(2)`)

Additional context

(Add any other context about the problem here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions