cli icon indicating copy to clipboard operation
cli copied to clipboard

java.lang.module.InvalidModuleDescriptorException: Module attribute not found

Open latelan opened this issue 9 months ago • 4 comments

Please agree to the following

Summary

Module cloud not be found on arm64 with version 0.6.2

What software is involved?

  • Operating System: aarch64
  • Cryptomator CLI: 0.6.2

Volume Type

None

Steps to Reproduce

  1. download arrach64 zip
  2. unzip cli.zip
  3. ./cryptomator-cli/bin/cryptomator-cli --help

Expected Behavior

Show the help info just like 0.6.1

Actual Behavior

ubuntu@xx:~/test$ ./cryptomator-cli/bin/cryptomator-cli --help
Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: /home/ubuntu/test/cryptomator-cli/lib/app/mods/jetty-servlet-api-4.0.6.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Module attribute not foun

Reproducibility

Always

Relevant Log Output


Anything else?

No response

latelan avatar Apr 13 '25 16:04 latelan

With

> lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
> uname -a
Linux scw-friendly-elgamal 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux

I'm not able to reproduce it:

./cryptomator-cli --help
Usage: cryptomator-cli [-h] [-v] [-V] [COMMAND]
Unlocks a cryptomator vault and mounts it into the system.
  -h, --help      Show this help message and exit.
  -v, --verbose   Activate verbose mode
  -V, --version   Print version information and exit.
Commands:
  unlock         Unlocks a vault
  list-mounters  Lists available mounters
  help           Display help information about the specified command.

What OS and WM do you use?

SailReal avatar Apr 15 '25 15:04 SailReal

Hi, I'm using the customized OS based ubuntu.

> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
> uname -a
Linux hi3798mv300 4.4.35_ecoo_83020168 #1 SMP Thu Feb 1 19:19:56 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

latelan avatar Apr 15 '25 15:04 latelan

Hi,

Hmm, with

> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
> uname -a
Linux scw-wonderful-visvesvaraya 5.4.0-212-generic #232-Ubuntu SMP Sat Mar 15 15:40:16 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux

it works as well for me 🤔

> ./cryptomator-cli --help
Usage: cryptomator-cli [-h] [-v] [-V] [COMMAND]
Unlocks a cryptomator vault and mounts it into the system.
  -h, --help      Show this help message and exit.
  -v, --verbose   Activate verbose mode
  -V, --version   Print version information and exit.
Commands:
  unlock         Unlocks a vault
  list-mounters  Lists available mounters
  help           Display help information about the specified command.

SailReal avatar Apr 15 '25 15:04 SailReal

Hmm, it does not work with 0.6.2 but work well with 0.6.1

> ./cryptomator-cli-0.6.2/bin/cryptomator-cli -V
Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: /home/ubuntu/test/cryptomator-cli-0.6.2/lib/app/mods/jetty-servlet-api-4.0.6.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Package javax.servlet.resources not found in module
> ./cryptomator-cli-0.6.1/bin/cryptomator-cli -V
0.6.1

latelan avatar Apr 15 '25 15:04 latelan