Closed xakrurychle closed 6 months ago
Probably a reflection issue; seems to work fine with Java-based fcli.jar version. Same error occurs when running fcli config proxy list
for example (after having configured a proxy). Will need to do some more research to understand what is causing this issue, as java.util.HashSet
mentioned in the exception message is listed in /fcli-app/src/main/resources/META-INF/native-image/fcli/fcli-app/spel/reflect-config.json
.
Seems to be fixed by adding allPublicConstructors: true
in reflect-config.json
. For now, this setting has only been applied to java.util.HashSet
, we'll likely need to apply this to other classes as well so leaving this issue open for now.
No further reflection issues identified in current fcli releases, so closing this issue.
Generally unable to make a connection using
session login
, this is the entire stderr, capturing log using--log-level TRACE --log-file file.log
does not work, the file is empty. Tested the exact same command./fcli ssc session login --url $url -u <name> -p <pass> --log-level TRACE --log-file login.log
onfcli version 0.20230629.082654-dev_develop, built on 2023-06-29 08:27:42
where I have no issues.