Cyberduck Mountain Duck CLI

#10895 closed enhancement (fixed)

Log4J and reflective access operation warnings printed

Reported by: eponymous Owned by:
Priority: low Milestone: 7.5.1
Component: cli Version: 7.2.1
Severity: normal Keywords:
Cc: muccigrosso@…, j@… Architecture: Intel
Platform: macOS 10.13

Description (last modified by eponymous)

When running a synchronize action via the cli, I get the following, though the sync is completed successfully:

log4j:WARN No appenders could be found for logger (ch.cyberduck.core.preferences.Preferences).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See for more info.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/usr/local/Cellar/duck/ to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,
WARNING: Please consider reporting this to the maintainers of net.sf.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

If I just run duck --version, I get the same thing.

MacOS 10.13.6 Cyberduck 7.2.0 (31900)

Change History (8)

comment:1 Changed on Dec 4, 2019 at 10:26:35 AM by eponymous

  • Summary changed from lib4j error on running CLI to log4j error on running CLI

comment:2 Changed on Dec 4, 2019 at 10:27:47 AM by eponymous

  • Architecture set to Intel
  • Cc muccigrosso@… added
  • Description modified (diff)
  • Platform set to macOS 10.13

comment:3 Changed on Dec 4, 2019 at 12:13:15 PM by dkocher

  • Component changed from core to cli
  • Priority changed from normal to low
  • Summary changed from log4j error on running CLI to Log4J and reflective access operation warnings printed
  • Type changed from defect to enhancement

comment:4 Changed on Jan 14, 2020 at 5:17:45 PM by joost

  • Cc j@… added

comment:5 Changed on Feb 21, 2020 at 1:24:41 PM by yla

Partially fixed in r48686.

comment:7 Changed on Aug 14, 2020 at 12:09:49 PM by yla

  • Resolution set to fixed
  • Status changed from new to closed

In r49652.

comment:8 Changed on Aug 14, 2020 at 12:26:01 PM by dkocher

  • Milestone set to 7.5.1
Note: See TracTickets for help on using tickets.